EONISLaptopHPNew: Difference between revisions

From Wiki RB4
Line 65: Line 65:
  c:\Uwes\Programme\xampp\php\php.exe update.php
  c:\Uwes\Programme\xampp\php\php.exe update.php
** open mediawiki by old URL and follow the instructions to upgrade skins
** open mediawiki by old URL and follow the instructions to upgrade skins
===VNC Viewer===
* download from Heise and installed to C:\Uwes\Programme\VNCViewer\


===WLAN===
===WLAN===

Revision as of 20:38, 13 September 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

eclips

  • copied complete eclipse directory from old laptop
  • enabling Java 8 by here

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_
  • 64 bit browsers run only 64 bit plugins and 32 bit browsers run only 32 bit plugins (see here)
  • 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('uweswiki') where User='uweswiki';
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

VNC Viewer

  • download from Heise and installed to C:\Uwes\Programme\VNCViewer\

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

Apache

  • because port 80 didn't work since 20.07.2015 (apache started correctly, netstat -ao showed corred process id (PID) listening, but no entries in access.log and telnet 127.0.0.1 80 led to no connection) port was changed to 8090 in http.conf by changing 'Listen 80' to 'Listen 8090'

MySQL

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