Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

alexandreteles/monkeyServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#monkeyServer.sh

Monkey Web Server

monkeyServer.sh is a simple shell script made to install a full web stack at low end boxes in about 5 minutes. It is built on top of Monkey Web Server, a really simple but feature rich web server. Monkey is really fast and stable, increadibly small and light on resources.

WHAT IS INCLUDED

monkeyServer.sh comes in two flavors:

DEFAULT FLAVOR

  1. Monkey Web Server
  2. PHP5-FPM
  3. MariaDB
  4. ConfigServer Firewall (CSF+LFD)
  5. Adminer

Running Process and Resource Usage for the Default Flavor:

Running Services Memory Usage SolusVM resources

NOSQL FLAVOR

This version don't include MariaDB or Adminer. Note that if you are using SQLite or any other database method that use files stored at your web root (like JSON files) you should configure the mandril plugin to deny access to the database files. This isn't built by monkeyServer.sh by default because we can't preview the filename patterns used by the users. Please refer to the documentation.

Running Process and Resource Usage for the NoSQL flavor:

Running Process Memory Usage SolusVM resources

WHAT MODULES IS INCLUDED IN THE INSTALLATION

monkeyServer.sh will build your stack with a very small set of PHP5 and Monkey Web Server modules. This should be enough to 99% of the use cases. Bellow you will find a full list of the modules.

MONKEY WEB SERVER MODULES

  1. auth
  2. liana
  3. logger
  4. fastcgi
  5. dirlisting
  6. auth
  7. mbedtls
  8. mandril
  9. cheetah
  10. reverse_proxy

PHP MODULES

  1. mcrypt
  2. mysqlnd
  3. sqlite
  4. pear
  5. gd
  6. xml-serializer

MINIMUM REQUIREMENTS

  1. RAM: 128MB (or just 64MB if you use the noSQL option)
  2. HDD: 2GB
  3. CPU: X86, X86_64 or ARM.
  4. Distro: by now, only Debian Stable is supported

P.S.: You can, actually, cut the RAM requirement in a half. BUT, for the default flavor, this can be equal to really boring problems with MariaDB if you use InnoDB. So, we will say that minimum memory requirement to have a realiable server operation. Using less than that should work (with PHP-FPM tweaking you can run the noSQL with 16-24MB and the default with 32-64MB if you tweak MariaDB too) but is not recommended. In the near future, the embedded version should require only 8MB and the tweaks for PHP-FPM and MariaDB should be integrated.

HOW TO INSTALL

Just run /usr/bin/env bash <((wget -qO - https://raw.githubusercontent.com/alexandreteles/monkeyServer/master/monkeyServer.sh)) as root and follow the script instructions.

HOW TO OBTAIN SUPPORT

At Low End Talk official thread or at the issue page of the project at GitHub.

WHAT IS PLANNED

  1. A menu based installation (this will join the default and the noSQL versions);
  2. A enableIPv6.sh script;
  3. App installation capabilities;
  4. FTP server installation;
  5. Embedded version (to require only 32MB of RAM)

LEARN MORE

  1. Take a look at this (a bit outdated) presentation about Monkey Web Server
  2. Read the official Monkey Web Server documentation. It's really handy.
  3. Learn about the reverse_proxy module in Monkey Web Server reading this article.
  4. Learn how to setup the reverse_proxy reading this tutorial.

RESOURCES

GitHub: https://github.com/alexandreteles/monkeyServer

About

Do you want to install a LMPM stack (Linux, Monkey Web Server, PHP-FPM, MariaDB) on your machine? monkeyServer will help you with the processes!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages