Notes: - Depending on the existing state of your server, you may already have most of these dependencies installed.
- The guide below uses wget to download some source packages directly to your system. You could also download them to your client system and SCP or FTP them to the SSD server.
- If you plan on housing your SSD database on a separate host than the SSD application, then you can skip steps 1 and 2.
Installation Procedure: - Install MySQL (and accept all dependencies):
yum install mysql-server - Install Memcached (and accept all dependencies): yum install memcached
- Install the Memcached Python module (and accept all dependencies): yum install python-memcached
- Set the MySQL root password:
- Start mysql:
/etc/init.d/mysqld start - Run the following to set the root password:
/usr/bin/mysql_secure_installation . Follow the prompts to set the password. You may also remove the test databases at this time, among other options.
- Install Python MySQLDB:
yum install MySQL-python - Install Python Image Library (PIL):
yum install python-imaging - Install the DJango web framework.
- The easiest thing to do is to download the file directly to your server with wget from a temporary location (like /tmp) as follows:
wget https://www.djangoproject.com/m/releases/1.6/Django-1.6.tar.gz - Unzip the file:
tar -xvzf Django-1.4.2.tar.gz - Change to the DJango directory:
cd Django-1.6 - Install DJango:
python setup.py install
- Install the Apache web server (and accept all dependencies):
yum install httpd - Install mod_wsgi (and accept all dependencies):
yum install mod_wsgi - Install pytz:
- Download directly to your instance and untar and unzip as above
: wget http://pypi.python.org/packages/source/p/pytz/pytz-2012h.tar.gz - Unzip the file:
tar -xvzf pytz-2012h.tar.gz - Install pytz:
python setup.py install
You are all done! Now that the dependencies are installed, head over to the installer section to run the automated SSD installer so you can start using SSD! |
|