Skip to content

Instantly share code, notes, and snippets.

@jnmclarty
Last active August 29, 2015 14:17
Show Gist options
  • Save jnmclarty/0a972aa6866beb8baa5d to your computer and use it in GitHub Desktop.
Save jnmclarty/0a972aa6866beb8baa5d to your computer and use it in GitHub Desktop.
Lubuntu VB

https://realpython.com/blog/python/kickstarting-flask-on-ubuntu-setup-and-deployment/

Links

https://wiki.ubuntu.com/Lvm

https://help.ubuntu.com/community/PostgreSQL

Build Python 2.7.9: http://shiny1210-blog.logdown.com/posts/259363-how-to-install-python-279-on-ubuntu-1404 Installing VirtualEnv http://askubuntu.com/questions/244641/how-to-set-up-and-use-a-virtual-python-environment-in-ubuntu

Commands

apt-get update

apt-get install python-dev

apt-get install build-essential

apt-get install python-virtualenv

http://bhfsteve.blogspot.ca/2012/05/run-multiple-python-versions-on-your.html

https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes-python2.7

https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes

apt-get install virtualbox-guest-dkms

apt-get install git-core sqlite3 libsqlite3-dev sqliteman postgresql postgresql-contrib python-virtualenv python-pip tox python-sphinx default-jre default-jdk python-dev python3-dev gedit pgadmin3 python-pytest

pip install smuggle pip install Quandl pip install SQLalchemy pip install pandas pip install pytest-cov

git config --global core.autocrlf input git config --global user.name jnmclarty git config --global user.email [email protected]

edit etc/rc.local and add:

mount -t vboxfs jnmclarty /home/jnm/Desktop/portal

Reset Network

sudo iptables -F

https://help.ubuntu.com/community/PostgreSQL

sudo mount -t vboxsf sharename ~/Desktop

tar xfz pycharm-*.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment