EONISLaptopHPNew
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
- build web app by
C:\Uwes\java\axis2-1.6.2\webapp>ant create.war
- deploy C:\Uwes\java\axis2-1.6.2\dist\axis2.war via JBoss Admin Console
- test Axis2 by http://localhost:8080/axis2/
Eclipse
Kepler
Neon
- saved workspace directory to C:\Uwes\workspace_kepler
- donwloaded and extracted zip file to C:\Uwes\eclipse\neon4JEEDevelopers
- integrated with VPP (s. below)
- set default repository dir for eclipse in Window -> Preferences -> Team -> Git (see also Git configuration)
ESLint
- needs Node.js
- in cmd shell
npm install -g eslint - now eslint can be started from command line
Git
- Downloaded Git for Windows from here
- Installed to C:\Uwes\Programme\Git
- PATH variable was extended to :\Uwes\Programme\Git\cmd\
- set environment variable HOME in system menu to C:\Users\U1728 (setting to %USERPROFILE% does not work)
- set user.name and user.email via eclipse -> Preferences -> Team -> Git which is stored in %HOME%\.gitconfig
There different programms available:
C:\Uwes\Programme\Git\cmd\git.exe C:\Uwes\Programme\Git\cmd\git-gui.exe C:\Uwes\Programme\Git\git-cmd.exe C:\Uwes\Programme\Git\git-bash.exe
Java and JDK
- JDK is installed in C:\Uwes\java\jdk1.8.0_92
- JRE is installed in C:\Uwes\java\jre1.8.0_92
- PATH contains C:\ProgramData\Oracle\Java\javapath which contains symbolic links to executables in JRE\bin directory
- JAVA_HOME points to JDK directory
Obsolete
- 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 C:\Uwes\GitRepositories\UweHeuerRepo\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
Node.js
- download from Node.js website
- start installer and install it to
C:\Uwes\Programme\nodejs - test by typing
node -vornpm -vin cmd shell
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
Visual Paradigm
- downloaded community edition 13.2
- added exe file to start menu in order to be able to start it as administrator
- activate request via uwe.heuer@gmail.com
- replied with email containing GDAC8-4XC34-5M9M2-5535D-39B5W
- integration into eclipse by Window -> Integration -> IDE Integration -> Eclipse -> selected C:\Uwes\eclipse\neon4JEEDevelopers\eclipse
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='%'