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.
[edit]
Installing a Pika Site on a Linux Server
- 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.
- Unzip the downloaded file. It will unzip to a folder named "pika_cms-30x".
- Choose a name for this site. Use only lowercase letters. For the purposes of this document, the name "sitename" will be used.
- Rename the "pika_cms-30x" folder to "sitename".
- Connect to your Pika network drive. This is assumed to be P:.
- Move the "sitename" folder to P:.
- Add following line to Apache's httpd.conf configuration file:
Alias /sitename /home/pika/sitename
- Restart Apache on the linux server.
> service httpd restart
- Create a new MySQL database named sitename.
> mysqladmin -u root -p create sitename
- 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
- Set a new password for the default "amworley" account with the following SQL:
UPDATE users SET password=MD5('newpassword');
- 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.
- If you have any customizations, copy the custom files into the P:/sitename/ folder, replacing the default files.
[edit]
Installing a Pika Site on a Mac OS Server
- 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.
- Unzip the downloaded file. It will unzip to a folder named "pika_cms-30x".
- Choose a name for this site. Use only lowercase letters. For the purposes of this document, the name "sitename" will be used.
- Rename the "pika_cms-30x" folder to "sitename".
- Move the "sitename" folder to your Home folder.
- Add following line to Apache's httpd.conf configuration file:
Alias /sitename /home/pika/sitename
- Restart Apache on the linux server.
- Create a new MySQL database named sitename.
> mysqladmin -u root -p create sitename
- 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
- Set a new password for the default "amworley" account with the following SQL:
UPDATE users SET password=MD5('newpassword');
- 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.
- If you have any customizations, copy the custom files into the /Users/pika/sitename/ folder, replacing the default files.
[edit]
Installing a Pika Site on a Windows Server
- 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.
- Unzip the downloaded file. It will unzip to a folder named "pika_cms-30x".
- Choose a name for this site. Use only lowercase letters. For the purposes of this document, the name "sitename" will be used.
- Rename the "pika_cms-30x" folder to "sitename".
- Move the "sitename" folder to C:\Program Files\Apache Group\Apache2\htdocs\.
- Add following line to Apache's httpd.conf configuration file:
Alias /sitename "C:\Program Files\Apache Group\Apache2\htdocs\sitename"
- Restart Apache on the linux server.
- Create a new MySQL database named sitename.
> mysqladmin -u root -p create sitename
- 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
- Set a new password for the default "amworley" account with the following SQL:
UPDATE users SET password=MD5('newpassword');
- 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.
- If you have any customizations, copy the custom files into the C:\Program Files\Apache Group\Apache2\htdocs\sitename\ folder, replacing the default files.
