Skip to content
Shell scripts for automated Ubuntu server setup.
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.github
lib
scripts
settings
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md
run.sh

README.md

Ubuntu

Patreon

This project contains a set of shell scripts for installing and configuring a fresh Ubuntu operating system. It is assumed that the base Ubuntu install is a server install and not a client install.

This project can serve as a prelude to the Rails Setup Project should you wish to have a bootstrapped Rails app running on a fresh Ubuntu install with a full server stack.

Table of Contents

Features

  • A configurable shell script for applying default settings and installing necessary software packages.

Requirements

  1. Ubuntu

Setup

Open a terminal window and execute one of the following setup sequences depending on your version preference:

Current Version (stable):

git clone git://github.com/bkuhlmann/ubuntu.git
cd ubuntu
git checkout v1.0.0

Master Version (unstable):

git clone git://github.com/bkuhlmann/ubuntu.git
cd ubuntu

Edit the setup.sh file and adjust the settings as you see fit, namely the following variables:

  • SERVER_IP
  • SERVER_HOSTNAME
  • USER_LOGIN
  • USER_PASS

You may want to tweak the *.sh files in the scripts folder as well.

Usage

  1. ssh to your server or VM.
  2. Switch to the root user.
  3. Create the a /root/.ssh/authorized_keys file with your public key.
  4. chmod -R 600 /root/.ssh.
  5. mkdir /root/ubuntu.
  6. scp the files of this project to the /root/ubuntu folder. Example: scp -r - root@10.0.1.50:/root/ubuntu.
  7. Run the /root/ubuntu/setup.sh script in the root of this project.
  8. Delete the /root/ubuntu folder.
  9. Delete the /root/.ssh folder.

Versioning

Read Semantic Versioning for details. Briefly, it means:

  • Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.

Contributions

Read CONTRIBUTING for details.

License

Copyright (c) 2012 Alchemists. Read the LICENSE for details.

History

Read the CHANGELOG for details. Built with Bashsmith.

Credits

Developed by Brooke Kuhlmann at Alchemists.

Something went wrong with that request. Please try again.