Ubuntu Server Setup is a script that help you setup and install necessary applications with no hassles, based on Digital Ocean Standards.
There's every tendency that some of the process may not be fully compatible with AWS environment.
But the script is optimized for any Ubuntu Environment.
-
- Sudo User Account Setup
- SSH Access via the root key
-
- Backend (Node, Nginx, PM2)
- Frontend (React, Static Webpage, Nginx)
- SSL (Let's Encrypt)
This should only be used from the root
user to create a user account and enable ssh
access.
cd ~ && curl https://raw.githubusercontent.com/factman/Ubuntu-Server-Setup/main/ubuntu-server-setup.sh > ./.uss-install.sh && chmod +x ./.uss-install.sh && ./.uss-install.sh
-
- Prompt for
username
for the user account to be created- Create a
sudo
user account with theusername
entered - Setup
ufw
Ubuntu Firewall - Grant SSH access to the user account
- Switch from
root
to the new user account
- Create a
- Install App Manager to
~
directory on the new user account asappman
orappmanager
- Prompt for system update and restart
(yes|no)
default toyes
- Prompt for
This is only required to set up your server environment and install necessary packages for deployment of your applications.
App Manager currently support Node Applications via (Nginx and PM2) and React/Static Webpage via (Nginx)
cd ~ && curl https://raw.githubusercontent.com/factman/Ubuntu-Server-Setup/main/app-manager.sh > ./.app-manager.sh && chmod +x ./.app-manager.sh && ./.app-manager.sh install
-
- Install App Manager to
~
directory on the current user account asappman
orappmanager
- Install App Manager to
After installation above you can access the App Manager this way to get access to the interactive menu options.
appman
OR
appmanager
Then follow the prompt to complete any task of your choice