Location : Web Hosting - Web Hosting Knowledge Base - PostNuke CMS Tutorial

PostNuke installation Tutorial

Part of the reason why PostNuke is popular among young webmasters is the ease of use of the program, and that includes the installation process, it only takes a few steps, filling in some forms on web page and your are done. Below show the steps in detail.

Preparing hosting account

PostNuke requires PHP and MySQL to work, PHP is already installed and configured in the web server to work with most of the open source program, all you need is to prepare your hosting account by creating a mysql database, remember to write down the database connection information for later use :-

Database Host: localhost
Database Username: myacctusr_dbuser
Database Password: password_assigned_for_myacctusr_dbuser
Database Name: myacctusr_dbname

Preparing PostNuke installation file

After getting your mysql database setup, you can start preparing your PostNuke files for the installation process :-

  1. visit the postnuke official download site to download the latest stable release (choose the Full package).
  2. Uncompress the downloaded file and extract it in your computer
  3. FTP upload the expanded folder to your hosting account, depending on how you want to access your new postnuke site, place the files accordingly :-

    public_html (if you want to access the postnuke site with http://www.yourdomain.com)
    public_html/postnuke (if you want to access the postnuke site with http://www.yourdomain.com/postnuke/)

  4. Once you have place the file correctly, set permissions for the following files and folders in your hosting account :-

    config.php (file, CHMOD 666)
    config-old.php (file, CHMOD 666)
    pnTemp (folder, CHMOD 777)

Running the installation script

When all the files are placed correctly and permissions are set, you can proceed on to running the postnuke installation script :-

  1. Open up your browser and enter the URL to the postnuke installation script http://www.yourdomain.com/postnuke/install.php
  2. In the first screen, select the language you want (you can add other local language to your postnuke website later) and click set language
  3. Read the GPL license and confirm your agreement by clicking the Next
  4. PostNuke will now check for the file and folder permissions (those that you have set in earlier step), if there is no error, click Continue
  5. In the database information screen, enter the database connection info you have written down in the create mysql database setup above :-

    Database Host: localhost
    Database Username: myacctusr_dbuser
    Database Password: password_assigned_for_myacctusr_dbuser
    Database Name: myacctusr_dbname
    Table Prefix (for Table Sharing): nuke
    Database Type: MySQL
    Database Table Type: MyISAM

    click Submit after entering the info
  6. Double check to ensure you have entered the correct values and click New Installation
  7. Skip the create database process as you have already created the database in earlier step
  8. Postnuke installation will now create the database tables, status is shown on screen, read the info carefully and hit Continue
  9. In the Postnuke Admin account creation screen, enter the desired admin user login info and hit Set Login
  10. Postnuke installation process creates the admin user login and complete the remaining steps
  11. Done ! click Go to your PostNuke to check the new PostNuke website you have just installed

Final cleanup

The install.php and install folder in your postnuke program folder should be removed after a successful installation, leaving both in the hosting account will risk getting unauthorized access to your postnuke site.