Hello All!
https://github.com/cselzer/nstack
First off, this project is in a very alpha stage. The installer is very functional and it works well. I've personaly tested it on a few systems of my own. It works on CentOS 5.4 - 6.2 either 64bit or 32bit.
I am looking for people to test this or even fork it and see where this project can go. It is available for free and will never become paid. To submit any issues or suggestions, I need them logged through github, and I will gladly go through fix bugs and even make changes. I am just starting this project, and have a lot planned that has not yet been documented.
One of the things I have planned is quotas, bandwidth monitoring, plans, and a very basic control panel written in nodejs (actually it is on my workstation, but it is still very basic, and not ready for a public release).
Before I get asked, I do not have any plans to include any OS other than centos, feel free to fork.
What nstack includes:
nginx (version is always up to date using yum)
Percona (MySQL) (version is always up to date using yum, you're able to use 5.0, 5.1, 5.5, simply modify MYSQL_VERSION in setup.sh)
PHP (5.3.12, it is compiled with php-fpm)
NodeJS / NPM
REQUIREMENTS:
A minimal centos 5.4 - 6.2 installation with no changes. This is meant to be the installer for a full webstack. You should be using external DNS such as cloudflare. This configuration includes cloudflare settings to display the correct ip when using cloudflare.
WHAT I DONT DO:
I don't secure your system. I dont offer DNS. I don't offer a backup solution. I don't offer email solutions.
WHAT I CAN DO FOR YOU:
I make your life easy when managing multiple users for an nginx system that use php-fpm. It even handles the port control automatically.
As root:
Download latest version from here. Extract it. Open directory and type:
chmod +x setup.sh
type vi setup.sh
Make changes to php and mysql version. The only branches tested for php is php 5.3x. I have not tested anything below php php53 or the php 54 branch, I don't expect it to work.
Mysql can be: 5.0 5.1 or 5.5. If an invalid version is set it defaults to 5.5. A configuration file is not copied to /etc/my.cnf. This is something you will need to copy from ~/nstack/config/mysql/* based on the version and your system specs. Use at your own risk.
Once you're done run setup:
./setup.sh
This will also install the nstack tool as follows which will assist you with managing your system. It will let you make new users, domains, remove users, remove domains. It does not do any validation of a username or a domain name, this is something I have not yet implemented, but I do have plans to implement it in the future, so be careful. It will not let you remove any system users only users created by nstack.
newuser: nstack <username> <password>
listusers: nstack listusers
removeuser: nstack removeuser <username>
listuserdomains: nstack listuserdomains <username>
listalldomains: nstack listalldomains
newdomain: nstack newdomain <domain> <username>
removedomain: nstack removedomain <domain> <username>
domainowner: nstack domainowner <domain>
version: nstack version
license: nstack license