The best way to install at Linux Ubuntu

Environment

  • Ubuntu server 22.04.2 64bit
  • MySQL 8.0.33
  • OpenJDK 8
  • Edge, Chrome
  • Use sudo account

  • OS, DB 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.

Notice. On 4G RAM Linux, all server can not be started.

1.2 Install Ubuntu server 22.04.2 64bit with a default 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)

2. Install Java8

2.1 Install Java8

3. Install DB and create account/space

2.1 Install MySQL by yum and create database for ProPTT2.(see Mysql installation in Common)
2.2 The timezone must be GMT0.
* It is recommended that DB need to be installed on another machine.

4. Setup hostname

4.1 Setup hostname.

3.2 Modify hosts file

(see Java installation in Common) Add your local IP and hostname in hosts file.

5. Setup firewall

By default, firewall would not be enabled. If you use firewall, you need to open below ports. (see Firewall setup in Common)
TCP in : 80, 443, 8080, 8088, 40080, 40443, 41022, 41322, 41323, 41324, 41342, 41343
UDP in : 41323, 41324

6. Decompress ProPTT2's tar

7. Setup database

7.1 check db.properties
verify username and password for DB
Notice. If DB connection has a problem with access permition, you need to change jdbc.url like a below.
jdbc.url = jdbc:mysql://127.0.0.1:3306/proptt?useUnicode=yes&characterEncoding=UTF8&autoReconnect=true&autoReconnectForPools=true

7.2 run check_db
If there is "Communications link failure", sometimes you need to change jdbc.url to "jdbc:mysql://127.0.0.1:3306/proptt?useUnicode=yes&characterEncoding=UTF8&autoReconnect=true&autoReconnectForPools=true".

8. Run ProPTT2

* Please use sudo to open 80 and 443 ports

9. Setup Lecense

9.1 open server's URL by web brawser. (https://yourserverip:40443/)
40443(HTTPS)/40080(HTTP)
9.2 login admin/1234
9.3 click servers on top-menu.
9.4 click a host on servers-menu.
9.5 check a hostname and IP on host-menu. If there is wrong, you need to modify it.
9.6 click setup on top-menu.
9.7 check hostname and IP of connected server. copy a machine key.
If hostname and IP of connected server are different with server info, you must check hostname setup. It is a main reason of client login failure.
9.8 generate a license key at www.proptt2.com/account.
9.9 iuput the license key on setup page.
9.10 check default users on users page.

10. Restart ProPTT2

* Please use sudo to open 80 and 443 ports

You have to check servers are running.

11. Test ProPTT2

11.1 Use ProPTT2 clients(Android/iPhone).
11.2 Setup your server's IP on setup at log-in screen and test.
11.3 Login with user1@ourcompany.com/1234 in log-in screen.

12. Trouble shooting

Please refer to FAQ page. (Server's FAQ)

13. Customer configuration

Please refer to 'The first step after installation'.