Skip to content

A complete LAMP and LNMP setup script for Debian or Ubuntu

Notifications You must be signed in to change notification settings

cristianp6/TuxLiteHHVM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TuxLite Readme

TuxLite is a free collection of shell scripts for rapid deployment of LAMP and LNMP stacks (Linux, Apache/Nginx, MySQL and PHP) for Debian and Ubuntu.

Have you considered upgrading from shared hosting to a VPS or dedicated server but held off by the costly control panel licenses, or the fear of managing a Linux server? Now you can leave those worries behind!

TuxLite scripts automate configuration of servers for web hosting, so your websites can be online within minutes! Ideal for those who prefer hosting sites on their own server without resorting to expensive and bloated control panels.

The following are installed:-

  • Apache2 with mpm_event or Nginx
  • MySQL or MariaDB
  • PHP-FPM + commonly used PHP modules
  • Postfix mail server (securely configured to be outgoing only)
  • Varnish cache (optional)

For more detailed explanation on the installation, usage and script features, kindly refer to these links:-

Installation

Script features

Download

Quick Install (Git)

# Install git and clone TuxLite
aptitude install git
git clone https://github.com/Mins/TuxLite.git
cd TuxLite

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

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

# Install LAMP or LNMP 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

# Install Adminer or phpMyAdmin
./setup.sh dbgui

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

Requirements

  • Supports Debian 6 and 7, Ubuntu 12.04, 12.10 and 13.04.
  • A server with at least 80MB RAM. 256MB and above recommended.
  • Basic Linux knowledge. You will need know how to connect to your server remotely.
  • Basic text editor knowledge. For beginners, learning GNU nano is recommended.

If this is your first time with a Linux server, I suggest spending a day reading the "getting started" tutorials in Linode Library.

Why use TuxLite?

  • TuxLite LAMP stack configures Apache with mpm_event and PHP with fastcgi (PHP-FPM). This gives much higher performance and lower memory consumption than the regular LAMP tutorials/guides using mod_php.
  • Uses official distribution packages. You are not at the mercy of the script maintainer to keep your servers updated. All installed software are tuned, optimized and secured.
  • Minimal resource usage. Fresh install requires only 50-60MB RAM.
  • Free from unnecessary or custom changes to your server. Everything is configured according to Debian/Ubuntu standards.
  • Automatic virtualhost configuration with log rotation, AWStats traffic statistics and phpMyAdmin for managing MySQL.
  • Varnish cache script included to turbo charge your websites.
  • Free and open source! Coded in a human readable manner and modular, making custom modifications extremely easy.

About

A complete LAMP and LNMP setup script for Debian or Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%