Created
September 16, 2013 08:55
-
-
Save isedwards/6578183 to your computer and use it in GitHub Desktop.
USE THIS ONE
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
#sudo apt-get -y install python2.7-dev | |
sudo apt-get -y install qt-sdk | |
sudo apt-get -y --force-yes install cmake | |
sudo apt-get -y install git | |
# the following two lines may not be necessary | |
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | |
sudo python ez_setup.py | |
mkdir -p ~/git | |
cd ~/git | |
git clone https://github.com/PySide/pyside-setup.git pyside-setup | |
cd pyside-setup | |
python setup.py bdist_egg --version=1.2.1 | |
sudo easy_install-2.7 dist/PySide-1.2.1-py2.7.egg | |
sudo python pyside_postinstall.py -install | |
cd ~ | |
echo """#!/usr/bin/env bash | |
export PYTHONPATH='${PYTHONPATH}:/home/user/git/thea/lib' | |
python /home/user/git/thea/lib/thea/main.py & | |
""" > ~/cubeviz | |
chmod a+x ~/cubeviz | |
cd ~/git | |
git clone https://github.com/SciTools/thea.git | |
cd ~ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit > Preferences > Advanced > Network tab > Settings
Choose “Automatic proxy configuration URL” and enter
http://wwwcache.nottingham.ac.uk/proxy.pac
sudo medit
/etc/environment
/etc/bash.bashrc
export http_proxy=”http://128.243.253.109:8080”
Applications > Synaptic Package Manager > Settings > Preferences > Network tab > Manual proxy configuration > 128.243.253.109 on port 8080. Finally click “OK” to dismiss the preferences panel.
To refresh:
Edit -> Reload Package Information".
"Geospatial -> Desktop GIS -> Quantum GIS" to start the program. From “Settings” > “Options…”. “Network” tab (you may have to scroll the tab bar to the left to find "Network"). First tick "Use proxy for web access". The "Host" is again 128.243.253.109 and the port is 8080, and the proxy type is an HttpProxy. Under the "Exclude URLs" box click the "Add" button then double click on the "URL" text that appears in the box. Replace "URL" with "http://localhost" (no quotes) and press Enter. Finally click “OK” to dismiss the preferences panel. To check this has worked ok, go to the "Plugins" menu in QGIS and select "Fetch Python Plugins...". QGIS should connect ok to the default repository and get an updated list of available plugins.