EONISLaptopHPNew: Difference between revisions

From Wiki RB4
 
(111 intermediate revisions by the same user not shown)
Line 5: Line 5:
*Windows 7 64 Bit Operating System
*Windows 7 64 Bit Operating System
*8GB
*8GB
==Backup==
* description is in <code>LocalBackup.bat</code>
* start backup by
C:\Uwes\Backup\LocalBackup.bat
* connect small usb disc and copy
copy C:\Uwes\Backuk\LocalBackUp.zip D:\Backup\laptop\


==Programs==
==Programs==
Line 11: Line 18:
* installed to C:\Uwes\java\axis2-1.6.2
* installed to C:\Uwes\java\axis2-1.6.2
* set AXIS2_HOME=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/
===CalDAV Synchronizer===
* Installation according to [https://help.one.com/hc/de/articles/115005586889-Einrichten-von-Outlook-2016-mit-dem-CalDav-Synchronizer here]
===Eclipse===


===eclips===
===Eclipse 2018-12===
* copied complete eclipse directory from old laptop
* installed to C:\Uwes\eclipse\jee-2018-12\
 
====Obsolete Kepler====
* kepler eclipse directory copied to C:\Uwes\eclipse\kepler from old [[EONISLaptopHP#Eclipse|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]
====Obsolete Neon====
* saved workspace directory to C:\Uwes\workspace_kepler
* donwloaded and extracted zip file to C:\Uwes\eclipse\neon4JEEDevelopers
* JBoss Tools installed (https://tools.jboss.org/)
* integrated with VPP (s. [[#Visual_Paradigm|below]])
* set default repository dir for eclipse in Window -> Preferences -> Team -> Git (see also [[EONISLaptopHPNew#Git|Git configuration]])
===ESLint===
* needs [[EONISLaptopHPNew#Node.js|Node.js]]
* in cmd shell <code>npm install -g eslint</code>
* now eslint can be started from command line
===Git===
* Downloaded [[Git|Git]] for Windows from [https://git-for-windows.github.io/ 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
* upgraded to Git 2.19.0


===Java and JDK===
===Java and JDK===
* preinstalled version is C:\Program Files\Java\jre6\bin\javaw.exe ('''java -version''' prints 1.6.0_41)
* installed to C:\Uwes\java\jdk1.8.0_212 from [https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html here]
* upgrade by http://www.java.com to C:\Program Files\Java\jre1.8.0_77
* changed JAVA_HOME and path system variable a.o. to circumvent standard Oracle path setting by C:\ProgramData\Oracle\Java\javapath
* download 64-bit version jdk-8u45-windows-x64.exe
java -version // -> 1.8.0_212 
* 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 [https://blogs.oracle.com/java-platform-group/entry/choosing_64_and_or_32 here])
====obsolete====
* set JAVA_HOME to C:\Programme\Java\jdk1.8.0_45
* JDK is installed in C:\Uwes\java\jdk1.8.0_92 manually
* '''java -version''' prints 1.8.0_77
* JRE is installed in C:\Uwes\java\jre1.8.0_92 manually
* obviously there is also a Java installation in C:\Program Files (x86)\Java\jre1.8.0_77\ which is used by Firefox
* JAVA_HOME points to JDK directory
* 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  
* Automatic Java Update installs Java in additon, PATH contains C:\ProgramData\Oracle\Java\javapath which contains symbolic links to executables in the official JRE\bin directory (C:\Program Files\Java\jre1.8.0_121\bin\)
 
* added the lines below (easiest with notepad++, because it can switch to administrator mode) to C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\java.policy and C:\Program Files (x86)\Java\jre1.8.0_77\lib\security\java.policy:
  // added by UweHeuer
  // added by UweHeuer
  permission java.awt.AWTPermission "accessClipboard";
  permission java.awt.AWTPermission "accessClipboard";
Line 31: Line 79:
  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\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/'
* 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 [http://sknath.blogspot.de/2014/03/how-to-resolve-java-ssl-certificate.html here]
* to avoid axis component of UweHeuer application to avoid to connect to an untrusted server like Home PC New or VServer do the step (according to [http://sknath.blogspot.de/2014/03/how-to-resolve-java-ssl-certificate.html here]):
** export the server certificates via Firefox to C:\Uwes\Documents\Certificates (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
** 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:
** 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
  cd C:\Uwes\java\jdk1.8.0_92\bin
  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
keytool -delete -alias uweheuer.goip.de -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
  keytool -importcert -file C:\Uwes\eclipse\workspace\uweheuer_new\doc\HomePC.crt -keystore C:\Uwes\java\jre1.8.0_92/lib/security/cacerts
keytool -delete -alias HomePC -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
  keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\uweheuer.goip.de.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias uweheuer.goip.de
keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\HomePC.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias HomePC
keytool -delete -alias www.uweheuer.de -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
keytool -delete -alias HomePC -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\www.uweheuer.de.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias www.uweheuer.de
  keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\HomePC.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias HomePC
** because JBoss uses JAVA_HOME it will use the keystore
** because JBoss uses JAVA_HOME it will use the keystore


Line 44: Line 98:
* download EAP 6.4 from JBoss homepage and start installer
* download EAP 6.4 from JBoss homepage and start installer
* install to C:\Uwes\Programme\Java\JBoss
* install to C:\Uwes\Programme\Java\JBoss
** service 'JBoss Application Server' starts automatically
* add admin user 'UweHeuer' with 'Halloo0@1'
* add admin user 'UweHeuer' with 'Halloo0@1'
* start server by C:\Uwes\Programme\Java\JBoss\bin\standalone.bat
* start server by C:\Uwes\Programme\Java\JBoss\bin\standalone.bat
Line 50: Line 105:
* log output goes here C:\Uwes\Programme\Java\JBoss\standalone\log
* log output goes here C:\Uwes\Programme\Java\JBoss\standalone\log


===JDK===
===Magento===
====Installation from GitHub with Composer====
* according to [https://cloudkul.com/blog/magento-2-1-installation-windows/ here]
* decomments to PHP.INI:
extension=php_xsl.dll
extension=php_intl.dll
extension=php_soap.dll
 
====Installation as Full Release with Sample Data (ZIP with sample data) w/o Composer====
* according to [https://cloudkul.com/blog/magento-2-1-installation-windows/ here]
* or [https://devdocs.magento.com/guides/v2.2/install-gde/prereq/zip_install.html here]
* installed for XAMPP 7.0.31
* unzipped to <code>C:\Uwes\Programme\xampp7.0.31\htdocs\<MAGENTO_INSTALL_DIR></code>
* create DB <DB_NAME> and collation 'UTF8_general_ci' with phpMyAdmin
* call the Web Wizard http://localhost/<MAGENTO_INSTALL_DIR>/ in a browser and run the installation procedure
** set store address to 'http://127.0.0.1/<MAGENTO_INSTALL_DIR>/  instead of localhost (or change in admin area: Stores -> Configuration -> Web -> Base URL to http://127.0.0.1/<MAGENTO_INSTALL_DIR>/)
** print success page to <MAGENTO_INSTALL_DIR>
* go to the folder <MAGENTO_INSTALL_DIR>/pub/errors and rename file local.xml.sample to local.xml
* go to file <MAGENTO_INSTALL_DIR>/app/bootstrap.php and un-comment the line ini_set
 
====Installation via Metapackage====
* according to [https://devdocs.magento.com/guides/v2.2/install-gde/composer.html here]
 
===Node.js===
* download from [https://nodejs.org/en/ Node.js website]
* start installer and install it to <code>C:\Uwes\Programme\nodejs</code>
* test by typing <code>node -v</code> or <code>npm -v</code> in cmd shell


===Thunderbird===
===Thunderbird===
Line 56: Line 137:
* 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
* 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
* copy content from the profile folders (they have a different name) of the old laptop
====Encrypt Emails====
* install Add-On Enigmail via Extras menu
** this installs also Gpg4win to C:\Uwes\Programme\Cpg4win
** this creates a OpenPGP key pair with paraphrase gHalloo0@1g for gmx


===UweHeuer===
===UweHeuer===
* in C:\Uwes\Programme\xampp7.0.31\apache\conf\extra\httpd-ajp.conf add
ProxyPass /uweheuer ajp://localhost:8009/uweheuer
ProxyPassReverse  /uweheuer  ajp://localhost:8009/uweheuer
* create database 'mysql505'  
* create database 'mysql505'  
* copy content by C:\Uwes\Batches\CopyMySQL505To192.168.178.39.bat
* copy content by C:\Uwes\Batches\CopyMySQL505To192.168.178.39.bat
* create database 'mediawiki'
* create database 'mediawiki'
* copy content by CopyMediaWikiTo192.168.178.39.bat
* copy content by CopyMediaWikiTo192.168.178.39.bat
* copy xampp\htdocs\\mediawiki-1.16.0
* copy xampp\htdocs\mediawiki-1.16.0
* add DB user for mediawiki by mysql client:
* add DB user for mediawiki by mysql client:
  update mysql.user set Password=password('uweswiki') where User='uweswiki';
  update mysql.user set Password=password('uweswiki') where User='uweswiki';
Line 80: Line 169:
  $wgGroupPermissions['*']['createaccount'] = false;
  $wgGroupPermissions['*']['createaccount'] = false;
* to enable background update of Home PC New and VServer see [[EONISLaptopHPNew#Java_and_JDK|here]]
* to enable background update of Home PC New and VServer see [[EONISLaptopHPNew#Java_and_JDK|here]]
===VirtualBox===
* installation from https://www.virtualbox.org/ to C:\Program Files\Oracle\VirtualBox
===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===
===VNC Viewer===
Line 92: Line 191:
* download from Chip and installed to C:\Uwes\Programme\WinSCP\
* download from Chip and installed to C:\Uwes\Programme\WinSCP\
* download putty and copy it to C:\Uwes\Programme\WinSCP\PuTTY\
* download putty and copy it to C:\Uwes\Programme\WinSCP\PuTTY\
===WISO Steuer===


===xampp===
===xampp===
====Versions====
The version is according to the PHP version.
=====Version 7.0.31=====
* download Windows installer 7.0.31 from [https://www.apachefriends.org/download.html here]
* start windows installer and install to C:\Uwes\Programme\xampp7.0.31
* error can be ignored but the path variable for PHP has to be set manually
* right click on C:\Uwes\Programme\xampp7.0.31\xampp-control.exe -> Eigenschaften -> Kompatibilität -> Check 'als Administrator ausführen'
* add to C:\Uwes\Programme\xampp7.0.31\phpMyAdmin\config.inc.php
$cfg['MaxRows'] = '500';
* this could also be configured by the PHPMyAdmin web interface PHPMyAdmin->Einstellungen->...
* start xampp-control.exe
** check 'Dienst' column for Apache and MySQL
* install PHP XDebug
** find out which dll to be used call [https://xdebug.org/wizard.php this]
** copy it to C:\Uwes\Programme\xampp7.0.31\php\ext
** set <code>output_buffering = Off</code> in <XAMPP_DIR>\php\php.ini
** add and adjust (path and dll name) XDebug section in php.ini
** restart Apache
* configure Debugging in PHPStorm
======MySQL======
* adjust innodb_buffer_pool_size to avoid 'Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size' system log entry in magento
** lookup path via WIN+R -> services.msc -> mysql
** change C:\Uwes\Programme\xampp7.0.31\mysql\bin\my.ini
innodb_buffer_pool_size = 16M => 32M
** restart
======Switch PHP Debug======
* call
C:\Uwes\Batches>PHP2Debug.bat or
C:\Uwes\Batches>PHP2Norm.bat
* restart Apache via XAMPP Console
======PHPUnit======
* installation according to [https://stackoverflow.com/questions/43188374/update-phpunit-xampp here]
** downloaded PHPUnit to C:\Uwes\Programme\xampp7.0.31\php\phpunit-6.5.12.phar and edited phpunit.bat accordingly
=====Upgrade to Version 7.2.8=====
* upgrade according to [https://medium.com/@asif.rocks/how-to-upgrade-xampp-in-windows-the-easy-way-93031fc923ce here]
* open xampp shell by C:\Uwes\Programme\xampp\xampp-control.exe
* run command
mysqldump -u root -p --all-databases > C:\Uwes\Backup\2018_08_07_All-DBs-Dump.sql
PWD: <empty>
* stop Apache
* stop MySQL
* rename folder C:\Uwes\Programme\xampp -> xampp-old did work only after manually delete the service Apache and mysql with the autoruns tool downloaded from the Microsoft website and ran as administrator
* install by download version 7.2.8 / PHP 7.2.8 from [https://www.apachefriends.org/download.html here]
* to register Apache and MySQL as service
** right click on C:\Uwes\Programme\xampp-new\xampp-control.exe -> Eigenschaften -> Kompatibilität -> Check Programm als Administrator ausführen
** start C:\Uwes\Programme\xampp-new\xampp-control.exe
** click on button in column 'Dienst' for Apache and MySQL
====Old Version 5.6.8====
* download via xampp homepage
* download via xampp homepage
* installed to C:\Uwes\Programme\xampp\ via installer
* installed to C:\Uwes\Programme\xampp\ via installer
Line 99: Line 255:
* run control panel as admin and install apache and mysql as a service by clicking the check boxes
* run control panel as admin and install apache and mysql as a service by clicking the check boxes


====Apache====
=====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'
* 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====
=====MySQL=====
* configuration file is C:\Uwes\Programme\xampp\mysql\bin\my.ini
* configuration file is C:\Uwes\Programme\xampp\mysql\bin\my.ini
* copy root user in mysql.user table with host='%'
* copy root user in mysql.user table with host='%'

Latest revision as of 20:44, 20 January 2021

Data[edit]

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

Backup[edit]

  • description is in LocalBackup.bat
  • start backup by
C:\Uwes\Backup\LocalBackup.bat
  • connect small usb disc and copy
copy C:\Uwes\Backuk\LocalBackUp.zip D:\Backup\laptop\

Programs[edit]

Axis2[edit]

  • 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

CalDAV Synchronizer[edit]

  • Installation according to here

Eclipse[edit]

Eclipse 2018-12[edit]

  • installed to C:\Uwes\eclipse\jee-2018-12\

Obsolete Kepler[edit]

  • kepler eclipse directory copied to C:\Uwes\eclipse\kepler from old laptop
  • enabling Java 8 by here

Obsolete Neon[edit]

  • saved workspace directory to C:\Uwes\workspace_kepler
  • donwloaded and extracted zip file to C:\Uwes\eclipse\neon4JEEDevelopers
  • JBoss Tools installed (https://tools.jboss.org/)
  • integrated with VPP (s. below)
  • set default repository dir for eclipse in Window -> Preferences -> Team -> Git (see also Git configuration)

ESLint[edit]

  • needs Node.js
  • in cmd shell npm install -g eslint
  • now eslint can be started from command line

Git[edit]

  • 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
  • upgraded to Git 2.19.0

Java and JDK[edit]

  • installed to C:\Uwes\java\jdk1.8.0_212 from here
  • changed JAVA_HOME and path system variable a.o. to circumvent standard Oracle path setting by C:\ProgramData\Oracle\Java\javapath
java -version // -> 1.8.0_212  

obsolete[edit]

  • JDK is installed in C:\Uwes\java\jdk1.8.0_92 manually
  • JRE is installed in C:\Uwes\java\jre1.8.0_92 manually
  • JAVA_HOME points to JDK directory
  • Automatic Java Update installs Java in additon, PATH contains C:\ProgramData\Oracle\Java\javapath which contains symbolic links to executables in the official JRE\bin directory (C:\Program Files\Java\jre1.8.0_121\bin\)
  • added the lines below (easiest with notepad++, because it can switch to administrator mode) to C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\java.policy and 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:*"; 
  • 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 do 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\jdk1.8.0_92\bin
keytool -delete -alias uweheuer.goip.de -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
keytool -delete -alias HomePC -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\uweheuer.goip.de.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias uweheuer.goip.de
keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\HomePC.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias HomePC

keytool -delete -alias www.uweheuer.de -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
keytool -delete -alias HomePC -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts
keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\www.uweheuer.de.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias www.uweheuer.de
keytool -importcert -file C:\Uwes\GitRepositories\UweHeuerRepo\uweheuer_new\doc\HomePC.crt -keystore C:\Uwes\java\jdk1.8.0_92\jre\lib\security\cacerts -alias HomePC
    • because JBoss uses JAVA_HOME it will use the keystore

JBoss[edit]

  • download EAP 6.4 from JBoss homepage and start installer
  • install to C:\Uwes\Programme\Java\JBoss
    • service 'JBoss Application Server' starts automatically
  • 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

Magento[edit]

Installation from GitHub with Composer[edit]

  • according to here
  • decomments to PHP.INI:
extension=php_xsl.dll
extension=php_intl.dll
extension=php_soap.dll

Installation as Full Release with Sample Data (ZIP with sample data) w/o Composer[edit]

  • according to here
  • or here
  • installed for XAMPP 7.0.31
  • unzipped to C:\Uwes\Programme\xampp7.0.31\htdocs\<MAGENTO_INSTALL_DIR>
  • create DB <DB_NAME> and collation 'UTF8_general_ci' with phpMyAdmin
  • call the Web Wizard http://localhost/<MAGENTO_INSTALL_DIR>/ in a browser and run the installation procedure
    • set store address to 'http://127.0.0.1/<MAGENTO_INSTALL_DIR>/ instead of localhost (or change in admin area: Stores -> Configuration -> Web -> Base URL to http://127.0.0.1/<MAGENTO_INSTALL_DIR>/)
    • print success page to <MAGENTO_INSTALL_DIR>
  • go to the folder <MAGENTO_INSTALL_DIR>/pub/errors and rename file local.xml.sample to local.xml
  • go to file <MAGENTO_INSTALL_DIR>/app/bootstrap.php and un-comment the line ini_set

Installation via Metapackage[edit]

Node.js[edit]

  • download from Node.js website
  • start installer and install it to C:\Uwes\Programme\nodejs
  • test by typing node -v or npm -v in cmd shell

Thunderbird[edit]

  • 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

Encrypt Emails[edit]

  • install Add-On Enigmail via Extras menu
    • this installs also Gpg4win to C:\Uwes\Programme\Cpg4win
    • this creates a OpenPGP key pair with paraphrase gHalloo0@1g for gmx

UweHeuer[edit]

  • in C:\Uwes\Programme\xampp7.0.31\apache\conf\extra\httpd-ajp.conf add
ProxyPass /uweheuer ajp://localhost:8009/uweheuer
ProxyPassReverse  /uweheuer  ajp://localhost:8009/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

VirtualBox[edit]

Visual Paradigm[edit]

  • 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[edit]

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

WLAN[edit]

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

WinSCP[edit]

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

WISO Steuer[edit]

xampp[edit]

Versions[edit]

The version is according to the PHP version.

Version 7.0.31[edit]
  • download Windows installer 7.0.31 from here
  • start windows installer and install to C:\Uwes\Programme\xampp7.0.31
  • error can be ignored but the path variable for PHP has to be set manually
  • right click on C:\Uwes\Programme\xampp7.0.31\xampp-control.exe -> Eigenschaften -> Kompatibilität -> Check 'als Administrator ausführen'
  • add to C:\Uwes\Programme\xampp7.0.31\phpMyAdmin\config.inc.php
$cfg['MaxRows'] = '500';
  • this could also be configured by the PHPMyAdmin web interface PHPMyAdmin->Einstellungen->...
  • start xampp-control.exe
    • check 'Dienst' column for Apache and MySQL
  • install PHP XDebug
    • find out which dll to be used call this
    • copy it to C:\Uwes\Programme\xampp7.0.31\php\ext
    • set output_buffering = Off in <XAMPP_DIR>\php\php.ini
    • add and adjust (path and dll name) XDebug section in php.ini
    • restart Apache
  • configure Debugging in PHPStorm
MySQL[edit]
  • adjust innodb_buffer_pool_size to avoid 'Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size' system log entry in magento
    • lookup path via WIN+R -> services.msc -> mysql
    • change C:\Uwes\Programme\xampp7.0.31\mysql\bin\my.ini
innodb_buffer_pool_size = 16M => 32M
    • restart
Switch PHP Debug[edit]
  • call
C:\Uwes\Batches>PHP2Debug.bat or
C:\Uwes\Batches>PHP2Norm.bat
  • restart Apache via XAMPP Console
PHPUnit[edit]
  • installation according to here
    • downloaded PHPUnit to C:\Uwes\Programme\xampp7.0.31\php\phpunit-6.5.12.phar and edited phpunit.bat accordingly
Upgrade to Version 7.2.8[edit]
  • upgrade according to here
  • open xampp shell by C:\Uwes\Programme\xampp\xampp-control.exe
  • run command
mysqldump -u root -p --all-databases > C:\Uwes\Backup\2018_08_07_All-DBs-Dump.sql
PWD: <empty>
  • stop Apache
  • stop MySQL
  • rename folder C:\Uwes\Programme\xampp -> xampp-old did work only after manually delete the service Apache and mysql with the autoruns tool downloaded from the Microsoft website and ran as administrator
  • install by download version 7.2.8 / PHP 7.2.8 from here
  • to register Apache and MySQL as service
    • right click on C:\Uwes\Programme\xampp-new\xampp-control.exe -> Eigenschaften -> Kompatibilität -> Check Programm als Administrator ausführen
    • start C:\Uwes\Programme\xampp-new\xampp-control.exe
    • click on button in column 'Dienst' for Apache and MySQL

Old Version 5.6.8[edit]

  • 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[edit]
  • 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[edit]
  • configuration file is C:\Uwes\Programme\xampp\mysql\bin\my.ini
  • copy root user in mysql.user table with host='%'