Install

Installing Pivot on i 6.1 is very straight forward. For this guide, we will assume that you have already installed Zend Core and have it running.

  • Go to the Pivot Website and download the latest stable version. For me this was 1.40.6 “Dreadwind”.
  • Unzip the downloaded file to your local PC. In my case, it created a folder named Pivot_1406_full
  • Create a directory on the IFS under your Zend Core directory to install Pivot to. In my case, it was “\www\zendcore\htdocs\news”. I used iSeries Navigator to accomplish this, but it could be done using any other tool.
  • FTP the unzipped contents of the Pivot_1406_full folder to the directory created on the IFS. You can use any tool you wish to transfer the files (cut and paste to iSeries Navigator, CuteFTP, SmartFTP, FTP from the command line), but you must be sure to specify binary transfer mode.
  • Next you will need to set some file permissions. The following is a table of files and directories that need to be modified. The instructions say to “chmod” the files to “777″. I wasn’t exactly sure what to do, so I right clicked on each of the files and directories inside of iSeries Navigator and clicked permissions. I then checked the boxes for (Public) to have read, write, execute, and alter authorities. I am sure there are better ways to do this, but this was simple and I already had iSeries Navigator open.
Update: The chmod command is allowed from qshell. So to set file permissions:
  1. CALL QP2TERM
  2. CD /path/to/your/htdocs/
  3. CHMOD 777 file-name
Files and/or FoldersCHMOD
weblog→ 777
weblog/archives→ 777
weblog/images→ 777
weblog/pivot/db→ 777
weblog/pivot/templates→ 777
weblog/pivot/pv_cfg_settings.php→ 777
weblog/pivot/pv_cfg_weblogs.php→ 777
weblog/pivot/db/(all files and folders)→ 777
weblog/pivot/db/standard-00000/ (all files and folders)→ 777
weblog/pivot/templates/ (all files and folders)→ 777
  • Once file permissions are set, you are ready to configure Pivot. Start by opening a browser and entering the address to your pivot admin site. This address will be yoursite/installdirectory/pivot/ where yoursite is your website address and installdirectory is the IFS directory you copied Pivot into.
  • You should see a page to create your admin username and password (pictured below). Enter all info on the form and click “Proceed to login”.
  • Next you will log into Pivot using the login you just created.
  • You are now ready to create and customize your blog (a topic better left to the documentation on the Pivot Website). The admin interface is pictured below.
A default blog is created when you install Pivot. To make sure Pivot is properly functioning, click the “Rebuild the Frontpage(s)” link at the top of the admin page and then open sitename/installdirectory to view the default blog.

Note:

This is specific to our environment because of the configuration of our multiple Apache Servers (See PmWikiInfo). I had to add a couple of entries to our httpd.conf file on our Port 80 Apache server to facilitate the proxy passthrough to our Port 89 Apache server where ZendCore PHP resides.

Example additions of new PHP application to /www/seal1/conf/httpd.conf:
ProxyPass /news http://127.0.0.1:8000/news
ProxyPassReverse /news http://127.0.0.1:8000/news