flegmoar

FlegMOAR · @flegmoar

26th Dec 2018 from TwitLonger

Free to use'n'share eBot + TS3 + CSGO installation scripts.


Hello everyone!

I hope that you're having wonderful holidays and that you're spending them with your loved ones. I have not tweeted in a long time and this will be my gift for you this year. :)

My name is Leonardo, I'm 32 years old working as a System administrator (DevOps) for a few years now. For the last ~13 years I've been running a local/regional CSGO website (latest URL is https://csadria.org) and have worked on more than a dozen LAN's, 100+ online cups/tournaments (around 50 FaceIT cups and I'm ESL admin for ~10 years now) and every time we did this over and over again. My latest LAN events were ESL's A1 Adria League, ESL SEC VIII and the ESL BGW Invitational. So, maybe this will be nothing new to some of you, but some of the less experienced admins might find this useful.

Some of you guys out there probably know how to do this, or you are doing it manually, so perhaps I will provide you at least a little help. Also, I know that there was already an eBot install script out there somewhere, but that script is working only on Ubuntu 14.04 or it may not work at all for some of you, and also Ubuntu 14 LTS will be EOL soon (April 2019 - https://wiki.ubuntu.com/Releases).

So, I have written my own eBot + TS3 + CS:GO install scripts that work on Ubuntu 16 LTS. What this does is that it basically prepares Ubuntu 16 minimal installation with necessary updates/upgrades and then runs eBot/TS3/CSGO installations.

You can find the script here: https://github.com/Flegma/ebot_ts3_csgo_install

I can go step-by-step what it actually does, but most of you (with some Linux experience) can just open install.sh and check what it does. So, for you that don't have much Linux experience, I will do step-by-step explanation.

1. We are updating the system and adding Ondrej's repo for PHP
2. We are removing new SSL libraries and installing older ones (this is needed because we are using an old PHP version)
3. We are running the eBot install script that can be found here: https://github.com/Flegma/eBot-install-script/blob/master/ebot-install.sh
3.1 eBot install script is asking you if you will run it Online or on LAN. If you will use it online, it checks the public IP and if you will use it on LAN, it uses the IP of your system.
3.2 eBot install script asks you if you will access eBot via some URL or via IP
3.3 eBot install script installs MySQL, Apache and compiles PHP 5.6.38 with pthreads and configures Apache for that purpose
3.4 eBot install script gets latest eBot, creates mysql user and password, creates eBot user and password and copies eBot configuration
4. After eBot is installed, it downloads TeamSpeak server files, unpacks them and creates a symlink for TS3 startscript (it also creates the license acceptance file)
5. After TS3 is installed, it is downloading Crazy-Max's CSGO server launcher script, which can be found here: https://github.com/crazy-max/csgo-server-launcher/wiki/Installation#install-script
6. After all of this, you can restart services, create a CSGO server, start it, stop it, etc.
6.1 "service teamspeak restart" and after that "service teamspeak status" will show you privilege key for TS3
6.2 "service ebot restart" will restart eBot service and start it on configured IP
6.3 For the CSGO server, refer to CSGO installation Wiki (/etc/init.d/csgo-server-launcher create will download/create server. After that you need to configure it and start)

You can see this script in action in video (I have tested it on Amazon EC2 instance and my own VPS, both with Ubuntu 16 LTS Minimal) and everything is working, so if you have any questions or suggestions, feel free to contact me.
Video is available here: https://youtu.be/y_SAvVlGOF0



Best regards,
Leonardo 'Flegma' Bujas.

Twitter: @flegmoar



Reply · Report Post