Some time a go, I followed a Scientific computing course and I've learn the basics to configure a Free tier machine in Amazon web services to have my own installation of Sage(math). But I've made a mistake in the configuration (because I didn't know it can be changed) and that machine has only 8GB of storage. The consequences of it has been to have an almost full disk and updates where almost impossible (uninstall required to update, and reinstall later on). In practice it has mean that i've been stack in sage 5.11 when today it's 6.11.
But this Free tier has up to 30GB of hard disk space! And I have configured a new machine with enough space and the service are being moved to that new machine.
As this machine has been set up from scratch, I like to write what I did in command line for my records. And if it would get useful for others, great.
After having a fresh ubuntu 13.10 64bit AMI (Amazon Machine Image) on a t1.micro, I've:
$ sudo apt-get updateThis is to have an up to dated machine and some basic needed packages. Then is necessary to add the ppa (personal package archive) where sage's packages are stored:
$ sudo apt-get dist-upgrade
$ sudo apt-get install ipython python-numpy python-scipy python-matplotlib python-dev git gfortran openmpi-bin liblapack-dev apache2 gnutls-bin
$ sudo apt-add-repository -y ppa:aims/sagemathOnce installed the main package and some optional packages first execution can be called:
$ sudo apt-get update
$ sudo apt-get install sagemath-upstream-binary
$ sudo apt-get install python-openssl openssl libssl-dev libssl-doc python-openssl-doc python3-openssl
$ sudo sage -i pyopenssl-0.13.p0
$ sage -notebook interface=\'\' secure=TrueIn here, a command line interactive process will ask for the sage's admin user password. And after that the script for the init.d can be prepared and started, like described in a previous post.