Last active
June 28, 2016 16:20
-
-
Save stlehmann/f5e630a471e90ab862a64c972852d3b5 to your computer and use it in GitHub Desktop.
Webserver Provisioning script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/sh | |
apt-get -y update | |
apt-get -y upgrade | |
echo -e "\n--- Install dev tools ---\n" | |
apt-get -y install mc htop vim git nginx | |
echo -e "\n--- Clone vim settings ---\n" | |
git clone --recursive https://github.com/MrLeeh/.vim.git | |
ln -s .vim/.vimrc .vimrc | |
echo -e "\n--- Install Python3 ---\n" | |
apt-get -y install python3 python3-pip | |
echo -e "\n--- Remove RPCBind for security resons \n" | |
update-rc.d rpcbind remove | |
echo -e "\n--- Clone and Run Firewall Script ---\n" | |
git clone https://gist.github.com/4ffe3e5641fa87eb182d303cd8c98b9f.git scripts | |
sh scripts/firewall.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment