All Projects → jasonheecs → Ubuntu Server Setup

jasonheecs / Ubuntu Server Setup

Licence: mit
A setup script for Ubuntu servers

Programming Languages

shell
77523 projects
bash
514 projects
script
160 projects

Labels

Projects that are alternatives of or similar to Ubuntu Server Setup

omnitty
Omnitty: Multiple-Machine SSH Multiplexer
Stars: ✭ 20 (-93.13%)
Mutual labels:  ubuntu
Sysmon
Graphical system monitor for linux, including information about CPU, GPU, Memory, HDD/SDD and your network connections. Similar to windows task manager.
Stars: ✭ 256 (-12.03%)
Mutual labels:  ubuntu
Btfs
A bittorrent filesystem based on FUSE.
Stars: ✭ 2,984 (+925.43%)
Mutual labels:  ubuntu
notion-linux
Native Notion packages for Linux
Stars: ✭ 887 (+204.81%)
Mutual labels:  ubuntu
ansible-developer recipes
Helper ansible repository for my devbox box configuration. Suitable for: LAMP, MEAN stack, Java stack [DevOps, Ansible]
Stars: ✭ 33 (-88.66%)
Mutual labels:  ubuntu
Howtopopbuntu
Tweaks for Debian & Ubuntu based Distro.
Stars: ✭ 267 (-8.25%)
Mutual labels:  ubuntu
airgeddon deb packages
Useful related to airgeddon packages for Debian based Linux distributions
Stars: ✭ 22 (-92.44%)
Mutual labels:  ubuntu
Tensorflow Gpu Install Ubuntu 16.04
Tensorflow GPU install instructions for ubuntu 16.04 - Deep learning
Stars: ✭ 293 (+0.69%)
Mutual labels:  ubuntu
Webinoly
Optimized LEMP Web Server to manage your WordPress, PHP, or simple HTML sites running on a powerful NGINX setup.
Stars: ✭ 254 (-12.71%)
Mutual labels:  ubuntu
Vim Lastplace
Intelligently reopen files at your last edit position in Vim.
Stars: ✭ 271 (-6.87%)
Mutual labels:  ubuntu
i-vagrant
No description or website provided.
Stars: ✭ 35 (-87.97%)
Mutual labels:  ubuntu
devops
Setup & installers for databases, runtimes, queues etc. using Anaconda, Ansible, Vagrant, Docker, AWS, Puppet, automation etc.
Stars: ✭ 28 (-90.38%)
Mutual labels:  ubuntu
Suru Plus
Suru++ 25 — A cyberpunk, elegant, futuristic and Papirus-like third-party icons theme
Stars: ✭ 269 (-7.56%)
Mutual labels:  ubuntu
docker python-opencv-ffmpeg
Dockerfile containing FFmpeg, OpenCV4 and Python2/3, based on Ubuntu LTS
Stars: ✭ 38 (-86.94%)
Mutual labels:  ubuntu
Debian Packaging For The Modern Developer
Debian packaging tutorials for the modern developer
Stars: ✭ 284 (-2.41%)
Mutual labels:  ubuntu
kakaotalk-env
KakaoTalk Environment on Debian / Ubuntu Linux (데비안, 우분투 리눅스에서 카카오톡 설치 및 사용하기)
Stars: ✭ 45 (-84.54%)
Mutual labels:  ubuntu
Olivia
Elegant music player for LINUX
Stars: ✭ 261 (-10.31%)
Mutual labels:  ubuntu
Sapmachine
An OpenJDK release maintained and supported by SAP
Stars: ✭ 294 (+1.03%)
Mutual labels:  ubuntu
Static status
🚦Bash script to generate a static status page.
Stars: ✭ 286 (-1.72%)
Mutual labels:  ubuntu
Polybar Themes
A huge collection of polybar themes with different styles, colors and variants.
Stars: ✭ 3,687 (+1167.01%)
Mutual labels:  ubuntu

Bash setup script for Ubuntu servers

Build Status

This is a setup script to automate the setup and provisioning of Ubuntu servers. It does the following:

  • Adds a new user account with sudo access
  • Adds a public ssh key for the new user account
  • Disables password authentication to the server
  • Deny root login to the server
  • Setup Uncomplicated Firewall
  • Create Swap file based on machine's installed memory
  • Setup the timezone for the server (Default to "Asia/Singapore")
  • Install Network Time Protocol

Installation

SSH into your server and install git if it is not installed:

sudo apt-get update
sudo apt-get install git

Clone this repository into your home directory:

cd ~
git clone https://github.com/jasonheecs/ubuntu-server-setup.git

Run the setup script

cd ubuntu-server-setup
bash setup.sh

Setup prompts

When the setup script is run, you will be prompted to enter the username and password of the new user account.

Following that, you will then be prompted to add a public ssh key (which should be from your local machine) for the new account. To generate an ssh key from your local machine:

ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub

Finally, you will be prompted to specify a timezone for the server. It will be set to 'Asia/Singapore' if you do not specify a value.

Supported versions

This setup script has been tested against Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04.

Running tests

Tests are run against a set of Vagrant VMs. To run the tests, run the following in the project's directory:
./tests/tests.sh

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].