Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

nicojeske/UbuntuServerSetupTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

DISCONTINUED

Ubuntu Server Setup Tool

The Ubuntu Server Setup Tool (USST) is a Bash-script you can use to automatically install software and docker containers with a simple GUI. It also acts as a tool to easily create reverse proxys with Nginx.

License

Table of Contents


Overview

This is a tool fitting my personal setup procedure on a new ubuntu machine and therefore using the configuration I normally use to setup my servers. Therefore to really get the most out of this tool you should have following setup:

  • Domain with DNS managed by Cloudflare

Getting Started

Clone

  • Clone this repo to your local machine using git clone https://github.com/nicojeske/SetupScripts

Usage

  • Make the installer script executable using chmod +x /SetupScripts/linuxInstallTool.sh
  • Run the installer script with root privileges using sudo /SetupScripts/linuxInstallTool.sh
  • Select what you want in the setup tool. Be sure to check out the description in Options too see exactly what the option would do.

Options

Installs

Webmin

This will install webmin and usermin with webmin listening on port 10000 and usermin on port 20000

Important: If you want to access webmin via a subdomain like webmin.example.com you should use the option AddNginxProxy to generate a reverse Proxy for webmin (Running on port 10000) as this will setup the domain in webmin. Otherwise you would not be able to connect to webmin from outside.

ZSH

This will install ZSH and ohmyzsh applying some custom styling and installing the zsh-syntax-highlighting plugin for syntax highlighting in the shell. During the install you are asked by Oh My Zsh if you want to set zsh as your default shell. Answer with yes then use exit to continue the install script.

Nginx with SSL

This will install Nginx together with a wildcard SSL Certificate from LetsEncrypt. To use this option you need a domain with the SSL settings managed with Cloudflare.

During the install you get asked for your Cloudflare Email adress and your Clouflare API token which is needed to automatically generate a wildcard SSL certificate for you.

You can find your Cloudflare API Token this way:

  • Open your domain on Cloudflare
  • In the right sidebar scroll to the section API and open "Get your API token"
  • In the category API Keys select view for "Global API Key"
  • Enter your password and you will find your API Key.

Docker

This will install Docker and Dockercompose.


Container

To use this menu option docker must be installed. It is advised to have Nginx also installed to directly add reverse proxys for your Containers.

You can currently install following containers:

The following containers use docker-compose:

  • Statping
  • Nextcloud
  • Heimdall
  • Duplicati

The docker-compose.yml file can be found in /var/linuxsetuptool/\<ContainerName\>.

Reverse Proxying

If nginx is installed the tool will automatically ask for a subdomain and a domain of your server. It then automatically adds an reverse proxy for the container in nginx.

AddNginxProxy

If you have some tool running on a specific port you can easily create a reverse proxy for it using this option.

Contributing

Feel free to contribute to the tool and add more software and containers that can be automatically installed.

Step 1

  • 🍴 Fork this repo!

Step 2

  • HACK AWAY! 🔨🔨🔨

Step 3

  • 🔃 Create a new pull request.

Contributors

Nico Jeske
Nico Jeske
github.com/nicojeske

License

License

About

Setup scripts for my linux servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages