Difference between revisions of "Installation Windows"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 42: Line 42:
* Do NOT use default administraion password
* Do NOT use default administraion password
* Consider moving data folder relevant location
* Consider moving data folder relevant location
==== Missingen dependencies ====
Depending on your Windows installation you might need Visual C++ redistributable
For version 5.7 the following are needed
* [https://www.microsoft.com/en-us/download/details.aspx?id=40784 Visual C++ Redistributable Packages for Visual Studio 2013] (Server)
* [https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable for Visual Studio 2015] (Client tools)


==== Important change for MySQL 5.7+ on windows ====
==== Important change for MySQL 5.7+ on windows ====
Before importing please add the following to the my.ini fil
Before importing please add the following to the my.ini fil
     '''innodb_strict_mode=0'''
     '''innodb_strict_mode=0'''

Revision as of 10:42, 24 May 2018

Install software stack

Java 8

Tomcat application server

Notes

  • Do NOT use default manager password
  • Change default http port from 8080 to 80
  • Change default https port from 8443 to 443

Option: Extra header security

For Tomcat 7 and higher you can add the security filter to <tomcat>/conf/web.xml inside the web-app tag

  <filter>
   <filter-name>HttpHeaderFilter</filter-name>
   <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
   <init-param>
     <param-name>antiClickJackingEnabled</param-name>
     <param-value>true</param-value>
   </init-param>
   <init-param>
     <param-name>antiClickJackingOption</param-name>
     <param-value>SAMEORIGIN</param-value>
   </init-param>
  </filter>
  <filter-mapping>
    <filter-name>HttpHeaderFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

After writing the file reboot Tomcat for changes to take effect.

MySQL database

http://dev.mysql.com/downloads/mysql/

Notes

  • Pick version 5.4 or higher
  • Do NOT use default administraion password
  • Consider moving data folder relevant location

Missingen dependencies

Depending on your Windows installation you might need Visual C++ redistributable

For version 5.7 the following are needed

Important change for MySQL 5.7+ on windows

Before importing please add the following to the my.ini fil

    innodb_strict_mode=0