15.05.2014, 00:30
What infrastructure do you have in place for your SA-MP server? I'm interested to know how much care/thought people put into the back-end of their server.
For me, I'm using 3 VPS servers all running Debian 7.
-One VPS server just hosting the SA-MP server itself which is located in Germany which has GREAT quality bandwidth (Internap). I also have a custom compile of Nginx, and PHP-FPM running on there to serve some things that need access to the same MySQL database as my game server. I'll eventually get around to setting up remote MySQL and adapting web applications to connect to the remote MySQL server, once I have the time and energy.
-One VPS server (OVH) hosting my community forums and TeamSpeak server. Running a custom compile of Nginx and other needed things such as PHP-FPM, MySQL, etc, just the typical stuff.
-One backup server which is totally locked down. The server is very secure and backups are VERY well thought out, they're totally automated and take backups of everything on my main servers. The backups are made via rsync, and every possible security mechanism that is viable has been put in place.
On all of the servers, I have tons of custom scripts written for backups, things to re-apply things such as chmod to ensure security, everything setup to completely work without messing with it on reboot, automated SA-MP server log rotation, automated web server log rotation, auto SA-MP server restarts in a crash, completely automated and remote backups as mentioned above, etc. I utilize CSF as well, as it's a great front-end for iptables, makes transferring rules and what not from server to server a breeze, other built in things such as LFD work nicely too. Also everything is running on isolated users, along with a good bit of server side security. I'll note that the stuff I've mentioned is largely a small portion to the amount of actual stuff I've done to ensure speed, security, stability, and uptime.
I'm also utilizing custom compiles of Nginx on all web server instances as mentioned in the list. I modify PHP and MySQL a bit too depending on the circumstance.
So lets hear yours, I'm interested to hear some setups!
For me, I'm using 3 VPS servers all running Debian 7.
-One VPS server just hosting the SA-MP server itself which is located in Germany which has GREAT quality bandwidth (Internap). I also have a custom compile of Nginx, and PHP-FPM running on there to serve some things that need access to the same MySQL database as my game server. I'll eventually get around to setting up remote MySQL and adapting web applications to connect to the remote MySQL server, once I have the time and energy.
-One VPS server (OVH) hosting my community forums and TeamSpeak server. Running a custom compile of Nginx and other needed things such as PHP-FPM, MySQL, etc, just the typical stuff.
-One backup server which is totally locked down. The server is very secure and backups are VERY well thought out, they're totally automated and take backups of everything on my main servers. The backups are made via rsync, and every possible security mechanism that is viable has been put in place.
On all of the servers, I have tons of custom scripts written for backups, things to re-apply things such as chmod to ensure security, everything setup to completely work without messing with it on reboot, automated SA-MP server log rotation, automated web server log rotation, auto SA-MP server restarts in a crash, completely automated and remote backups as mentioned above, etc. I utilize CSF as well, as it's a great front-end for iptables, makes transferring rules and what not from server to server a breeze, other built in things such as LFD work nicely too. Also everything is running on isolated users, along with a good bit of server side security. I'll note that the stuff I've mentioned is largely a small portion to the amount of actual stuff I've done to ensure speed, security, stability, and uptime.
I'm also utilizing custom compiles of Nginx on all web server instances as mentioned in the list. I modify PHP and MySQL a bit too depending on the circumstance.
So lets hear yours, I'm interested to hear some setups!