Installing Older Versions

From PikaDocs

The following instructions detail the procedure for installing a Pika site on a Linux or Windows server. It assumes you are installing version 3.05. Instructions for older versions are not online at this time; give Pika Software support a call in these cases. These instructions can be repeated if you need to install more than one Pika site on a single server.

Installing a Pika Site on a Linux Server

  1. Download the .ZIP file for the most recent release of Pika 3 from www.pikasoftware.com (http://www.pikasoftware.com/files/releases/) to your desktop PC.
  2. Unzip the downloaded file. It will unzip to a folder named "pika_cms-30x".
  3. Choose a name for this site. Use only lowercase letters. For the purposes of this document, the name "sitename" will be used.
  4. Rename the "pika_cms-30x" folder to "sitename".
  5. Connect to your Pika network drive. This is assumed to be P:.
  6. Move the "sitename" folder to P:.
  7. Add following line to Apache's httpd.conf configuration file:
    • Alias /sitename /home/pika/sitename
  8. Restart Apache on the linux server.
    • > service httpd restart
  9. Create a new MySQL database named sitename.
    • > mysqladmin -u root -p create sitename
  10. Load all SQL files in /home/pika/sitename/app/sql/install into the new database.
    • > cat /home/pika/sitename/app/sql/install/*.sql | mysql -u root -p sitename
  11. Set a new password for the default "amworley" account with the following SQL:
    • UPDATE users SET password=MD5('newpassword');
  12. Edit P:\sitename\app\config\settings.php, add the hostname of the MySQL server, the name of the new database, plus the MySQL username and password Pika should use to access it.
  13. If you have any customizations, copy the custom files into the P:/sitename/ folder, replacing the default files.

Installing a Pika Site on a Mac OS Server

  1. Download the .ZIP file for the most recent release of Pika 3 from www.pikasoftware.net (http://www.pikasoftware.net/files/releases/) to the server.
  2. Unzip the downloaded file. It will unzip to a folder named "pika_cms-30x".
  3. Choose a name for this site. Use only lowercase letters. For the purposes of this document, the name "sitename" will be used.
  4. Rename the "pika_cms-30x" folder to "sitename".
  5. Move the "sitename" folder to your Home folder.
  6. Add following line to Apache's httpd.conf configuration file:
    • Alias /sitename /home/pika/sitename
  7. Restart Apache on the linux server.
  8. Create a new MySQL database named sitename.
    • > mysqladmin -u root -p create sitename
  9. Load all SQL files in /home/pika/sitename/app/sql/install into the new database.
    • > cat /home/pika/sitename/app/sql/install/*.sql | mysql -u root -p sitename
  10. Set a new password for the default "amworley" account with the following SQL:
    • UPDATE users SET password=MD5('newpassword');
  11. Edit /Home/pika/sitename/app/config/settings.php, add the hostname of the MySQL server, the name of the new database, plus the MySQL username and password Pika should use to access it.
  12. If you have any customizations, copy the custom files into the /Users/pika/sitename/ folder, replacing the default files.

Installing a Pika Site on a Windows Server

  1. Download the .ZIP file for the most recent release of Pika 3 from www.pikasoftware.net (http://www.pikasoftware.net/files/releases/) to the server.
  2. Unzip the downloaded file. It will unzip to a folder named "pika_cms-30x".
  3. Choose a name for this site. Use only lowercase letters. For the purposes of this document, the name "sitename" will be used.
  4. Rename the "pika_cms-30x" folder to "sitename".
  5. Move the "sitename" folder to C:\Program Files\Apache Group\Apache2\htdocs\.
  6. Add following line to Apache's httpd.conf configuration file:
    • Alias /sitename "C:\Program Files\Apache Group\Apache2\htdocs\sitename"
  7. Restart Apache on the linux server.
  8. Create a new MySQL database named sitename.
    • > mysqladmin -u root -p create sitename
  9. Load all SQL files in /home/pika/sitename/app/sql/install into the new database.
    • > type /home/pika/sitename/app/sql/install/*.sql | mysql -u root -p sitename
  10. Set a new password for the default "amworley" account with the following SQL:
    • UPDATE users SET password=MD5('newpassword');
  11. Edit C:\Program Files\Apache Group\Apache2\htdocs\sitename\app\config\settings.php, add the hostname of the MySQL server, the name of the new database, plus the MySQL username and password Pika should use to access it.
  12. If you have any customizations, copy the custom files into the C:\Program Files\Apache Group\Apache2\htdocs\sitename\ folder, replacing the default files.