Current script is in development. It contains errors. Please wait until its complete before using or help in contribution.
This bash script automates the initial setup of a Ubuntu 22.04 system, focusing on LEMP stack setup with nodejs scripts coming soon.
You should be able to create static html & php website with ssl.
- Ubuntu 22.04
- 1gb ram (512mb fails the script)
- At least 5gb available space
This script follows the following guides. https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-22-04 https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-22-04
Cert bot is used to generate Lets encrypt SSLs
Refer to wiki to know how to use this cli tool
I made this cli to make setting up server easier. This cli is combination of bash script which makes it easy to read and understand whats going on. This makes modifying the cli for your own preference easy.
-
enable-nginx-site
-
disable-nginx-site