Sun
Knowledge is power - France is bacon
- Joined
- Jan 26, 2015
- Messages
- 333
- Solutions
- 22
- Reaction score
- 243
To many it can be intimidating, frustrating & well... a pain in the ass to setup a linux VPS
I personally don't like doing it (probably because I do it way too often).
Anyways since I've found myself setting up Debian & Ubuntu VPSs over & over again, I figured it would be way more handy to just write a shell script once instead of continuing this endless cycle.
This will install & setup the following for you, all you have to do is edit the config at the top of the .sh file to fit your needs.
So far I've only tested it on Ubuntu 16.04, should however work with Debian 9+ & Ubuntu 16+ distributions
Idk how the script will perform if you've already installed a bunch of stuff on your vps, maybe it will work, maybe it won't. Still, I'd recommend doing it on a fresh installation.
Enjoy!
I personally don't like doing it (probably because I do it way too often).
Anyways since I've found myself setting up Debian & Ubuntu VPSs over & over again, I figured it would be way more handy to just write a shell script once instead of continuing this endless cycle.
This will install & setup the following for you, all you have to do is edit the config at the top of the .sh file to fit your needs.
- Creates a sudo user with desired username & pass
- Nginx - your www root will be set to /home/username/www
- PHP 7.0 - additionally configures nginx to work with fpm & reads php files.
- MySQL or MariaDB (MariaDB is a fork of mysql, from a users perspective there's barely any difference)
- phpMyAdmin - additionally configures nginx & creates a symbolic link to set your desired link to access pMA
- c++ tools & libraries required for compiling your engine
So far I've only tested it on Ubuntu 16.04, should however work with Debian 9+ & Ubuntu 16+ distributions
Idk how the script will perform if you've already installed a bunch of stuff on your vps, maybe it will work, maybe it won't. Still, I'd recommend doing it on a fresh installation.
Enjoy!
Attachments
-
otsetup.zip1.7 KB · Views: 148 · VirusTotal
Last edited by a moderator: