Difference between revisions of "Hosting the control panel website separately"
From TCAdmin 2.0 Documentation
Line 26: | Line 26: | ||
=== Installation on Windows === | === Installation on Windows === | ||
* Install TCAdmin as you would normally. You don't need to run the configuration utility to enter a license. | * Install TCAdmin as you would normally. You don't need to run the configuration utility to enter a license. | ||
− | * Download the | + | * Download the [[File:Hosting.zip]], extract and edit with notepad. |
* Update the value of "TCAdmin.ConfigUtility.Database.ConnectionString" with the information required to make the connection to the MySQL server. | * Update the value of "TCAdmin.ConfigUtility.Database.ConnectionString" with the information required to make the connection to the MySQL server. | ||
* Save your updated Hosting.config to your web server in the path C:\Program Files\TCAdmin2\Monitor\Hosting.config | * Save your updated Hosting.config to your web server in the path C:\Program Files\TCAdmin2\Monitor\Hosting.config |
Revision as of 19:05, 25 August 2020
Contents
Requirements
If you want to host the control panel website on a separate server without requiring an additional license you will need:
- Remote desktop or SSH access to the server
- TCAdmin 2.0.152.1 or greater
- TCAdmin configured with a MySQL database
- Low latency from MySQL to the web server
Limitations
- When you update TCAdmin the web server needs to be updated manually
- Built in DDoS protection for the control panel is not available
Configure the master to accept connections from the web server
- The master should already be configured and have a working control panel.
- Go to Server Management > Servers > Master > Server IPs. Add the web server's IP but disable game and voice servers on it.
Installation on Linux
- Install Mono and TCAdmin as you would normally. You don't need to run the configuration utility to enter a license.
- Download the File:Hosting.zip, extract and edit with notepad.
- Update the value of "TCAdmin.ConfigUtility.Database.ConnectionString" with the information required to make the connection to the MySQL server.
- Save your updated Hosting.config to your web server in the path /home/tcadmin/Monitor/Hosting.config
- Restart the web server's monitor:
/home/tcadmin/Monitor/monitor-service restart
- After restarting the monitor you should be able to log in to the control panel and test the connection to the master in Server Management > Servers > Show Versions.
- After the control panel is working correctly you can configure the control panel website to run with Nginx for improved performance.
Installation on Windows
- Install TCAdmin as you would normally. You don't need to run the configuration utility to enter a license.
- Download the File:Hosting.zip, extract and edit with notepad.
- Update the value of "TCAdmin.ConfigUtility.Database.ConnectionString" with the information required to make the connection to the MySQL server.
- Save your updated Hosting.config to your web server in the path C:\Program Files\TCAdmin2\Monitor\Hosting.config
- On the web server go to Start > Services and restart the TCAdmin Monitor service.
- After restarting the monitor you should be able to log in to the control panel and test the connection to the master in Server Management > Servers > Show Versions.
- After the control panel is working correctly you can configure the control panel website to run with IIS for improved performance.