Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Scripts for initial configuration (users, Ubuntu, apache/nginx, Catalyst, Dancer, FastCGI, ...)
Pull request Compare This branch is 115 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
gb.b_addvh
gb.b_amp
gb.b_bakvh
gb.b_rails2.3.8_pass
gb.b_restvh
gb.b_rmvh
gb.b_root
gb.b_vhdom

README

Set of scripts to configure a fresh installed Ubuntu server (setting up user accounts, installing and configuring Apache, MySQL, PHP, Ruby, Rails, Passenger, and a bunch of other useful stuff as well).

Features include:
- Initial configuration
	- Deactivate root account
	- Create new user
	- Add new user to sudoers file
	- Configure SSH connections
	- Set up a firewall
	- Set up ssh keys to allow ssh key authentication
- Installing and configuring Apache, MySQL and PHP
	- Install phpMyAdmin
	- Set up server name
	- Disable default virtual host
	- Preparing Apache for multiple virtual hosts
	- Preparing Apache for allowing SSL on multiple virtual hosts
	- Several security configurations
- Installing and configuring Rails and Passenger
	- Install latest version of RubyGems
	- Install several RoR-related packages
	- Install and configure Passenger
	- Configure Apache to use Passenger (mod_rails)
	- Enable necessary Apache modules
- Add new Virtual Host
	- Add barebone VH
	- Create VH from existing git repository
	- Configure Apache for the new VH
	- Configure Apache to allow SSL in the new VH
	- Automatically create MySQL database for the new VH
	- Automatically install all the Ruby gems needed by the app
	- Initialize database for the new VH
- Remove existing VH
	- List existing VH
	- Drop VH database
	- Remove VH folder
	- Remove VH files from sites-available and sites-enabled folders
- Backup existing VH
	- Dump database to compressed file
	- Copy and compress critical folders
	- Generate single compressed file with backup data
- Restore VH
	- Restore database
	- Restore critical folders
Something went wrong with that request. Please try again.