Last active
January 17, 2021 16:10
-
-
Save 0xKD/19c8c431595b870b4d0a to your computer and use it in GitHub Desktop.
Ubuntu
This file contains 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
# You will be prompted for sudo (password) if you haven't used it recently. | |
# First of all | |
sudo apt-get update | |
# Virtualbox guest additions | |
sudo apt-get install build-essential linux-headers-`uname -r` dkms | |
# Apt-fast | |
sudo apt-get install software-properties-common | |
sudo apt-add-repository ppa:apt-fast/stable | |
sudo sed -i s/trusty/saucy/g /etc/apt/sources.list.d/apt-fast-stable-trusty.list | |
sudo apt-get update && sudo apt-get install apt-fast | |
# Update / upgrades | |
sudo apt-fast update && sudo apt-fast upgrade | |
# Install pip | |
wget https://bootstrap.pypa.io/get-pip.py | |
sudo python get-pip.py | |
# Virtualenv | |
sudo pip install virtualenv | |
sudo pip install virtualenvwrapper | |
echo "# Virtualenvwrapper config" >> ~/.bashrc | |
echo "export WORKON_HOME=\$HOME/.virtualenvs" >> ~/.bashrc | |
echo "export PROJECT_HOME=\$HOME/dev" >> ~/.bashrc | |
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc | |
source ~/.bashrc | |
# More stuff | |
sudo apt-fast install python-pip python-dev build-essential | |
sudo apt-fast install openssh-server | |
sudo apt-fast install git | |
# MySQL | |
sudo apt-fast install mysql-server | |
sudo apt-fast install libmysqlclient-dev | |
# for gnureadline | |
sudo apt-fast install libncurses5-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment