EONISLaptopHPNew: Difference between revisions

From Wiki RB4
Line 12: Line 12:
* set AXIS2_HOME=C:\Uwes\java\axis2-1.6.2
* set AXIS2_HOME=C:\Uwes\java\axis2-1.6.2


===Java===
===Java and JDK===
* preinstalled version is C:\Program Files\Java\jre6\bin\javaw.exe ('''java -version''' prints 1.6.0_41)
* preinstalled version is C:\Program Files\Java\jre6\bin\javaw.exe ('''java -version''' prints 1.6.0_41)
* upgrade by http://www.java.com
* upgrade by http://www.java.com to C:\Program Files\Java\jre1.8.0_45
* '''java -version''' prints 1.8.0_45
* download 64-bit version jdk-8u45-windows-x64.exe
* installed to C:\Programme\Java\jdk1.8.0_45
* set JAVA_HOME to C:\Programme\Java\jdk1.8.0_45
* '''java -version''' prints 1.8.0_45  
* obviously there is also a Java installation in C:\Program Files (x86)\Java\jre1.8.0_45\ which is used by Firefox
* obviously there is also a Java installation in C:\Program Files (x86)\Java\jre1.8.0_45\ which is used by Firefox
* added the following lines with admin rights to C:\Program Files (x86)\Java\jre1.8.0_45\lib\security\java.policy  
* added the following lines with admin rights to C:\Program Files (x86)\Java\jre1.8.0_45\lib\security\java.policy  
Line 23: Line 26:
  permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
  permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
  permission java.lang.RuntimePermission "accessClassInPackage.sun.misc:*";  
  permission java.lang.RuntimePermission "accessClassInPackage.sun.misc:*";  
* added it also to C:\Program Files\Java\jdk1.8.0_45
* added it also to C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\java.policy because it is used by eclipse and the build process
* Systemsteuerung -> Java -> Security -> Exception 'http://www.uweheuer.de/uweheuer/'
* Systemsteuerung -> Java -> Security -> Exception 'http://www.uweheuer.de/uweheuer/'



Revision as of 21:38, 6 July 2015

Data

  • HP EliteBook 850 G1
  • Hostname HP20038790
  • WLAN MAC D8:FC:93:31:82:51
  • Windows 7 64 Bit Operating System
  • 8GB

Programs

Axis2

  • installed to C:\Uwes\java\axis2-1.6.2
  • set AXIS2_HOME=C:\Uwes\java\axis2-1.6.2

Java and JDK

  • preinstalled version is C:\Program Files\Java\jre6\bin\javaw.exe (java -version prints 1.6.0_41)
  • upgrade by http://www.java.com to C:\Program Files\Java\jre1.8.0_45
  • download 64-bit version jdk-8u45-windows-x64.exe
  • installed to C:\Programme\Java\jdk1.8.0_45
  • set JAVA_HOME to C:\Programme\Java\jdk1.8.0_45
  • java -version prints 1.8.0_45
  • obviously there is also a Java installation in C:\Program Files (x86)\Java\jre1.8.0_45\ which is used by Firefox
  • added the following lines with admin rights to C:\Program Files (x86)\Java\jre1.8.0_45\lib\security\java.policy
// added by UweHeuer
permission java.awt.AWTPermission "accessClipboard";
permission java.security.AllPermission;
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc:*"; 
  • added it also to C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\java.policy because it is used by eclipse and the build process
  • Systemsteuerung -> Java -> Security -> Exception 'http://www.uweheuer.de/uweheuer/'

JBoss

  • download EAP 6.4 from JBoss homepage and start installer
  • install to C:\Uwes\Programme\Java\JBoss
  • add admin user 'UweHeuer' with 'Halloo0@1'
  • start server by C:\Uwes\Programme\Java\JBoss\bin\standalone.bat
  • admin interface can be called via http://localhost:9990/console/App.html#home
  • deploy mysql-connector-java-5.1.27-bin.jar via admin interface as standard deployment

JDK

Thunderbird

  • newly install Thunderbird
  • this creates a new profile in C:\Users\U1728\AppData\Roaming\Thunderbird\Profiles\93egq41y.default and C:\Users\U1728\AppData\Local\Thunderbird\Profiles\93egq41y.default
  • copy content from the profile folders (they have a different name) of the old laptop

UweHeuer

  • create database 'mysql505'
  • copy content by C:\Uwes\Batches\CopyMySQL505To192.168.178.39.bat
  • create database 'mediawiki'
  • copy content by CopyMediaWikiTo192.168.178.39.bat
  • copy xampp\htdocs\\mediawiki-1.16.0
  • add DB user for mediawiki by mysql client:
update mysql.user set Password=password('MyNewPass') where User='root';
flush privileges;
  • upgrade Mediawiki to 1.25.1 by
    • download tar file
    • extract to temp directory
    • copy content to old xampp\htdocs\\mediawiki-1.16.0
    • open shell in C:\Uwes\Programme\xampp\htdocs\mediawiki-1.16.0\maintenance>
c:\Uwes\Programme\xampp\php\php.exe update.php
    • open mediawiki by old URL and follow the instructions to upgrade skins

WLAN

  • download driver from HP homepage
  • install it and restart
  • performance seems to be ok now

WinSCP

  • download from Chip and installed to C:\Uwes\Programme\WinSCP\
  • download putty and copy it to C:\Uwes\Programme\WinSCP\PuTTY\

xampp

  • download via xampp homepage
  • installed to C:\Uwes\Programme\xampp\ via installer
  • control panel can be found by start menu 'xampp' or C:\Uwes\Programme\xampp\xampp-control.exe
  • run control panel as admin and install apache and mysql as a service by clicking the check boxes

MySQL

  • copy root user in mysql.user table with host='%'