Installation from scratch

Posted by admin@infoshare.dk on 18/02/2016No Comments

As installation from scratch isn’t expected to take place very often, it isn’t made as a single installation script. But it is rather simple: Alle you need is a webserver including a database server, ftp access to this server and the software files in the SPIN installation packet here:

  1. Install WordPress on the hosting server as per their instructions – many hosting providers have a one-click installer for this.
  2. Repeat this for WordPress installation number two (the /sysman site).
  3.  Upload the SPIN software packets:
    1.  SPIN database programs (unpack to the website root folder)
    2.  InfoShare special WP plugin for SPIN statistics (unpack to /wp-content/plugins/)
    3.  WordPress media files (unpack to the website root folder)
    4. ‘Show database’ plugin (unpack to both sites: /wp-content/plugins/ and /sysman/wp-content/plugins/)
  4. Clone the existing WordPress sites to the new location (either by downloading a copy or by using a backup copy. WordPress cloning programs will copy all templates and data and general plugins)
  5. Create a MySQL user and edit the following files to match the user and password:
    1. /wp-config.php
    2. /sysman/wp-config.php
    3. /spinmy/class/config.php
    4. /spinmy-graphics/class/config.php
    5. /spinmyphp/class/config.php
    6. /spinmyreports/class/config.php
    7. /spinreports/class/config.php
  6. Create the SPIN database and upload data by using a database copy or by using the SPIN database upload functions.
  7. If running Ubuntu or another Debian-based distribution, disable AppArmor for MySQL: https://askubuntu.com/questions/1144497/how-to-disable-apparmor-for-mysql
  8. You’re good to go.

Leave a Reply