/Ubuntu-Server-Setup

Ubuntu Server Setup is a script that help you setup and install necessary applications with no hassles.

Primary LanguageShellMIT LicenseMIT

Ubuntu-Server-Setup

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.

Features

  • Server Setup with SSH

    • Sudo User Account Setup
    • SSH Access via the root key
  • App Manager

    • Backend (Node, Nginx, PM2)
    • Frontend (React, Static Webpage, Nginx)
    • SSL (Let's Encrypt)

Server Setup Installation

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
  • Functions and Actions after the execution

    1. Prompt for username for the user account to be created
      1. Create a sudo user account with the username entered
      2. Setup ufw Ubuntu Firewall
      3. Grant SSH access to the user account
      4. Switch from root to the new user account
    2. Install App Manager to ~ directory on the new user account as appman or appmanager
    3. Prompt for system update and restart (yes|no) default to yes

App Manager Standalone Installation

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
  • Actions after the execution

    • Install App Manager to ~ directory on the current user account as appman or appmanager

App Manager Usage

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