Best way to install Main Server 1 at CentOS7


  • CentOS7 64bit
  • JDK SE 1.8 in CentOS7.
  • Use root account

  • OS, Apache and Java is not in ProPTT2 package, To know the detail information of installation, please contact to the product's homepage.

1. Install Linux

1.1 Check your server machine specification. refer recommended specification.
1.2 Install CentOS7 64bit as a Basic server.
1.3 Setup system time as GMT0 and sync by ntp.(see Timezone setup in Common)
1.4 Check 80, 443 ports are already opened. If httpd is started, we can't open 80 and 443 port. You have to stop the HTTPD. (see FAQ in Common)

1.5 Enable SELinux

2. Setup hostname

2.1 Setup hostname.
2.2 Modify hosts file(see Java installation in Common)

3. Decompress ProPTT2's tar

Destination directory is recommended with /svc/proptt.

4. Install Apache

4.1 Install Apache by yum.(see Apache installation in Common).
4.2 Add 8080, 8088, 40080, 40443 port in httpd.conf

If SELinux is enabled, open the port

5. Install mod_ssl and setup SSL

You must remove default_virtualhost_443 in ssl.conf

6. Install mod_jk to link Apache and Tomcat

Download for Apache2.2 and CentOS6.7/6.8 64bit.
Download for Apache2.4 and CentOS7 64bit.

if don't work, you can compile it.

configure mod_jk is IP of main server 2.
They are clustered.
Please note if L4 switch has RoundRobin, worker.loadbalancer.sticky_session must be 0.

If SELinux is enabled, enable module

7. Setup virtual hosts in Apache

default crt and key file are in ProPTT.
It would be {proptt}/apache-tomcat/tls/proptt.crt.
ex) /svc/ent-package/apache-tomcat/tls/proptt.crt
the proptt.crt and proptt.key must be copied to /etc/httpd/conf.d/certs/

8. Setup firewall

Open ports in firewall.(see Firewall setup in Common)
TCP in : 80, 443, 8070, 8071, 8080, 8088, 40080, 40443, 41000, 41022, 41322, 41323, 41324, 41331, 41332, 41341, 41372
UDP in : 41323, 41324
L4 setup required : 8080, 8088, (80, 443 to login only adminWeb for users), (40080, 40443 to ligin only adminWeb for operators)

9. Setup database

9.1 check
verify username and password for DB
9.2 run check_db
if there is no Java in system, please install Java. yum install java-1.8.x-openjdk.x86_64

10. Run ProPTT2