Installation

  1. Download the tarball to your server and extract the contents.
  2. Edit options.conf.
  3. Make all scripts executable.
  4. Explore script functions by executing them without any parameters.
  5. Ensure that aptitude is installed before starting installation. Manually install by executing setup.sh. Alternatively, edit/run a set of recommended install sequence using install.sh.
  6. Then use domain.sh to add your domain and you're all set!

Example…

# Create directory to hold TuxLite scripts and enter new directory.
mkdir tuxlite
cd tuxlite

# Download the desired script. Copy script link from "Download" section.
wget http://tuxlite.com/scripts/tuxlite.tar.gz

# Extract contents of tarball.
tar xzf tuxlite.tar.gz

# Edit options to enter server IP, MySQL password etc.
nano options.conf

# Make all scripts executable.
chmod 700 *.sh
chmod 700 options.conf

# Update APT database and install aptitude.
apt-get update && apt-get -y install aptitude

# Explore script functionalities.
./setup.sh

#Install LAMP stack.
./install.sh

# Add a new Linux user and add domains to the user.
adduser johndoe
./domain.sh add johndoe yourdomain.com
./domain.sh add johndoe subdomain.yourdomain.com

# Enable/disable public viewing of Adminer/phpMyAdmin
./domain.sh dbgui on
./domain.sh dbgui off

# Enable/disable public viewing of AWStats
./domain.sh stats on
./domain.sh stats off

# Install and enable Varnish
# ***WARNING*** Do not use Varnish unless you know how to configure the VCL.
./varnish.sh install
./varnish.sh on

Post Install

Your install is complete and your site works. Great! Now what? As a responsible sysadmin you will need to perform some maintenance and post install procedures.

  1. Occasionally update your server using

    aptitude update
    aptitude safe-upgrade
    
  2. Set up cronjobs to backup your databases and sites. The backup.sh script can do this for you. Remember to download and keep copies of your sites locally.

  3. Enable/Disable Phpmyadmin and AWstats from being publicly accessible. Use the domain.sh script for this task. Enable only when you need them.

  4. Consider tweaking configurations to better utilize the amount of memory available to your server. Read the readme for respective web stacks for more information on config files to edit.

  5. Install Fail2Ban to protect your server from brute force SSH login attempts.

    aptitude install fail2ban
    
  6. You may also refer to the tutorials section for other further tweaks.