EONISLaptopHPNew: Difference between revisions
(→eclips) |
|||
| Line 12: | Line 12: | ||
* set AXIS2_HOME=C:\Uwes\java\axis2-1.6.2 | * set AXIS2_HOME=C:\Uwes\java\axis2-1.6.2 | ||
=== | ===Eclipse=== | ||
* copied complete eclipse directory from old laptop | * copied complete eclipse directory from old laptop | ||
* enabling Java 8 by [http://www.bigdev.de/2014/03/tutorial-installing-java-8-support-for.html here] | * enabling Java 8 by [http://www.bigdev.de/2014/03/tutorial-installing-java-8-support-for.html here] | ||
Revision as of 17:12, 27 November 2016
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
Eclipse
- 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_77
- 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_77
- obviously there is also a Java installation in C:\Program Files (x86)\Java\jre1.8.0_77\ which is used by Firefox
- added the following lines with admin rights (Windows Menu -> CMD -> Right Click -> Run As Administrator) to C:\Program Files (x86)\Java\jre1.8.0_77\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/'
- to avoid axis component of UweHeuer application to avoid to connect to an untrusted server like Home PC New or VServer to the step according to here
- export the server certificates via Firefox to C:\Uwes\Documents\Certificates (https://www.uweheuer.de -> Click on lock icon -> select 'www.uweheuer.de' -> 'Weitere Information' -> 'Sicherheit Tab' -> 'Zertifikat anzeigen' -> 'Details' -> 'Exportieren' to %ECLIPSE_HOME%\workspace\uweheuer_new\doc\www.uweheuer.de.crt
- import the certificates to the java key store with the keytool in %JAVA_HOME%\bin and password (as default) 'changeit' in a cmd shell started as administrator:
cd C:\Uwes\java\jre1.8.0_92\bin keytool -delete -alias www.uweheuer.de -keystore C:\Uwes\java\jre1.8.0_92/lib/security/cacerts keytool -importcert -file C:\Uwes\eclipse\workspace\uweheuer_new\doc\www.uweheuer.de.crt -keystore C:\Uwes\java\jre1.8.0_92/lib/security/cacerts -alias www.uweheuer.de keytool -importcert -file C:\Uwes\eclipse\workspace\uweheuer_new\doc\HomePC.crt -keystore C:\Uwes\java\jre1.8.0_92/lib/security/cacerts -alias HomePC
- because JBoss uses JAVA_HOME it will use the keystore
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
- log output goes here C:\Uwes\Programme\Java\JBoss\standalone\log
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
- enable 3 letter word search (see here)
- install MSUpload extension according to here
- install MSLinks extension according to here
- prevent not logged-in users from reading by adding to LocalSettings.php
$wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['createaccount'] = false;
- to enable background update of Home PC New and VServer see here
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
- configuration file is C:\Uwes\Programme\xampp\mysql\bin\my.ini
- copy root user in mysql.user table with host='%'