Every admin / dev have his own deployment system. This are some basics files to inspire you :)
Feel free to fork, update, and contribute.
Cheers. ⚓
# Get the all.sh
wget admin.dln.name
# Download all the git repo content
bash index.html
# Execute the init script with the Iptables and Bashrc
bash github/debian-cleaner.sh github/iptables.sh github/bashrc.txt
This will install NGinx with PHP5 and FastCGI.
bash github/debian-deploy-nginx.sh
If you want MYSQL :
apt-get install mysql-server mysql-client
bash github/debian-deploy-mongodb.sh
wget http://redis.googlecode.com/files/redis-2.4.13.tar.gz
tar xzf redis-2.4.13.tar.gz
cd redis-2.4.13
make
ln -s $(pwd)/src/redis-server /usr/bin/redis-server
ln -s $(pwd)/src/redis-cli /usr/bin/redis-cli
bash github/nginx_on.sh /var/www/my_web_site.com/ on
Or Disable :
bash github/nginx_on.sh /var/www/my_web_site.com/ off
sudo bash github/iptables-stop.sh
sudo bash /etc/init.d/iptables
cp github/gitignore.txt .gitignore
cp github/htaccess.fat.txt .htaccess
Google DNS :
8.8.8.8
8.8.4.4
OpenDNS :
208.67.222.222
208.67.220.222