Help‎ > ‎Installation Guides‎ > ‎

openSUSE 12

  • 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.
  • The standard openSUSE distribution does not include many common packages that you might find on other distributions of Linux.  For this reason, you may see some installations below that are not specifically mentioned in the SSD requirements section.
  • 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:
  1. Install MySQL (and accept all dependencies): zypper install mysql-community-server
  2. Set the MySQL root password: 
    • Start mysql: /etc/init.d/mysql 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.
  3. Install Memcached (and accept all dependencies): zypper install memcached
  4. Install Python (and accept all dependencies): zypper install python
  5. Install Python MySQLDB: zypper install python-mysql
  6. Install Python Image Library (PIL): zypper install python-imaging
  7. Install the Memcached Python module (and accept all dependencies): python-python-memcached
  8. 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  
    • Unzip the file: tar -xvzf Django-1.4.2.tar.gz
    • Change to the DJango directory: cd Django-1.6
    • Install DJango: python install
  9. DJango requires certain locale files to be present when initializing the database.  Install the locale files: zypper install glibc-locale
  10. Set your locale properly.  For US locations (other locations may vary): export LC_ALL=en_US.UTF-8
  11. Install the Apache web server (and accept all dependencies):  zypper install apache2
  12. Install mod_wsgi (and accept all dependencies): zypper install apache2-mod_wsgi
  13. Install pytz: 
    • Download directly to your instance and untar and unzip as above: wget
    • Unzip the file: tar -xvzf pytz-2012h.tar.gz
    • Install pytz: python install
  14. In order to load Apache modules in the openSUSE provided version of Apache2, you must edit /etc/sysconfig/apache2 and append mod_wsgi to the end of the APACHE_MODULES variable.  Once you restart Apache, the proper mod_wsgi entry will automatically be placed in /etc/apache2/sysconfig.d/loadmodule.conf.
  15. The default openSUSE Apache configuration is very restrictive and does not allow access to the filesystem by default.  You must edit /etc/apache2/httpd.conf and modify the default Directory directive as follows:
          <Directory />
              Options FollowSymLinks
              AllowOverride None

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!