Difference between revisions of "Installation Windows"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 12: Line 12:
* Change default http port from 8080 to 80
* Change default http port from 8080 to 80
* Change default https port from 8443 to 443
* Change default https port from 8443 to 443
==== Option: Extra header security ====
Add the security filter to <tomcat>/conf/web.xml
  <filter>
    <filter-name>HttpHeaderFilter</filter-name>
    <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>HttpHeaderFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>


=== MySQL database ===
=== MySQL database ===

Revision as of 16:07, 22 June 2017

Install software stack

Java

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

Add the security filter to <tomcat>/conf/web.xml

 <filter>
   <filter-name>HttpHeaderFilter</filter-name>
   <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>HttpHeaderFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

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

Important change for MySQL 5.7+ on windows

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

    innodb_strict_mode=0