Coder Social home page Coder Social logo

halbox's Introduction

halBox

Bash script with a bit of unicornian magic dust to set up and tweak your Debian/Ubuntu server.

Nota bene: If your antivirus complains that this package is infected, dont't worry: it's just the EICAR test file to assess ClamAV.

Setup

As root, copy+paste the following on your command-line:

cd ~ && wget -q https://github.com/alixaxel/halBox/archive/master.tar.gz -O ~/halBox.tar.gz && tar -xzvf ~/halBox.tar.gz && chmod +x ~/halBox-master/halBox.sh && sudo ~/halBox-master/halBox.sh

A default install should take less than 5 minutes to complete.

Memory Usage

halBox is VPS-oriented, it has been crafted to consume as little memory as possible.

Here's what a default install looks like after a fresh reboot (under Ubuntu 12.04 LTS minimal):

# ps_mem
 Private  +   Shared  =  RAM used       Program

100.0 KiB +  40.5 KiB = 140.5 KiB       sleep
 80.0 KiB +  85.0 KiB = 165.0 KiB       dash
104.0 KiB +  83.0 KiB = 187.0 KiB       ondemand
128.0 KiB +  71.0 KiB = 199.0 KiB       syslogd
304.0 KiB +  75.5 KiB = 379.5 KiB       cron
304.0 KiB + 105.0 KiB = 409.0 KiB       xinetd
476.0 KiB +  89.0 KiB = 565.0 KiB       exim4
472.0 KiB + 116.5 KiB = 588.5 KiB       dropbear
748.0 KiB + 119.5 KiB = 867.5 KiB       init
664.0 KiB + 598.5 KiB =   1.2 MiB       nginx (3)
784.0 KiB +   3.3 MiB =   4.1 MiB       php5-fpm (3)
  7.1 MiB + 160.0 KiB =   7.2 MiB       mysqld
---------------------------------
                         16.0 MiB
=================================

Of course, some features and configurations had to be sacrificed, most notably:

  • InnoDB engine is disabled
  • MyISAM key_buffer_size directive is set to 8MB
  • non-PDO database drivers are disabled by default (this includes mysql and mysqli)

As of version 0.26.0, halBox comes with two scripts for nginx: n1ensite / n1dissite that mimic a2ensite / a2dissite.

Screenshots (Ubuntu)

These may not reflect the current version of the script / packages.

Pre-Requesites and Must-Haves

Package Selection

PHP Extensions

MySQL Root Password

Progress

index.html

info.php

Credits

This script is inspired by:

halbox's People

Contributors

alixaxel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.