Skip to content
A bunch of StackScripts that I use to easily deploy full web+db+django stack at Linode.com
Shell Python
Latest commit 52c39cb Feb 6, 2014 @nigma Update readme
Failed to load latest commit information.
1 - StackScript Bash Library.sh
122 - lib-apache.sh No need to install mod-wsgi from source anymore. May 15, 2012
123 - lib-system-ubuntu.sh Ignore error codes for empty ls response (for `set -e` shell flag). Jun 26, 2012
124 - lib-system.sh Added iotop to installed utils. May 16, 2012
125 - lib-postgresql.sh Function postgresql_recreate_cluster is not needed anymore. May 15, 2012
126 - lib-python.sh
127 - lib-django.sh Parametrized paths and removed unnecessary functions. May 17, 2012
128 - lib-mongodb.sh
130 - monit.sh Renamed script to match source id. Jun 26, 2012
131 - Stack - Security, PostgreSQL, MySQL, MongoDB, Apache, Django.sh
README.md Update readme Feb 6, 2014
prepare.py
settings.txt

README.md

Linode StackScripts

Please note

These scripts may be a bit outdated now although the solution served me well on many occasions. I have now moved to Ansible and other configuration management tools that are just much metter than the bash scripts approach, although you may pick up some configs and scripting ideas from here.

If there is an interest in a similar full-stack web-server setup go ahead and open a ticket and I can prepare a set of Ansible roles and playbooks with Nginx & uWSGI as the web server.


Original readme

A Linode.com StackScript shell script that configures a complete web environment with Apache, PostgreSQL/MySQL/MongoDB, Python, mod_wsgi, virtualenv and Django.

Optionally creates a PostgreSQL/MySQL user and database and installs MongoDB NoSQL database.

By default, it creates a VirtualHost using the reverse DNS of your Linode's primary IP and sets up a sample Django project in the /srv directory.

Installs common system and dev utilities, sets up postfix loopback, Uncomplicated Firewall and Fail2Ban.

Writes command output to /root/stackscript.log and records /etc changes using Mercurial. When completed notifies via email.

Something went wrong with that request. Please try again.