Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PostNuke..HOW TO

Status
Not open for further replies.

new2learn

IS-IT--Management
Oct 15, 2003
16
NA
When 1 r used to M$ click click and installation is done, it becomes more of a challange to install packages in linux..NOT RPM's but .tar or .gz files

I want to install PostNuke CMS on a linux box..and cannot get it working..
Can I get a bit of help on HOW TO ..install postnuke from scratch and make it work..

THANKS
 
I never used postnuke but I'm familiar with phpnuke so hopefully the installation process is similar. The first thing you want to do is unpack it an get the files into your Document root. With phpnuke you would copy the file to the directory just above the DocumentRoot because it unpacks everything to a directory called html. If you placed it iside you DocumentRoot, it would be in /var/ That would not be good. When you're ready to unpack it, issue this command: &quot;tar -zxvf *.gz&quot;. The entire directory structure should now be in your Document Root. Next, create a mysql database. You will need to create a user that has complete control over this database. You don't need to create any tables because that will be done later. There should be a config file. Let's say config.php. Edit this file and enter the info it will need to access the database. This is the name of the database you just created, the username and password of the person who can access this database. Next you will build the database. From the shell, go to the directory that has the sql file for your database. For phpnuke, there is a directory just outside the /html directory called /sql. Inside there is a file called nuke.sql. When you find the file, issue this command: &quot;mysql db-name < nuke.sql&quot;. Change db-name to whatever you called your database and nuke.sql to whatever it is for postnuke. You should be able to go to your website and see it now. Once you get it working to that point, you will need to create and admin user then login to the admin area and configure everything for your site.
 
PostNuke may be a little different, but close, based on your instructions.

First, make sure that MySQL is working and that you have root access to it (that's a different issue).

Then, unpack the Postnuke distribution. The simplest way is to unpack it in your document root, i.e. /var/htdocs

&quot;tar -xfvz PostNuke-0.726&quot;

Then you'll have /var/htdocs/PostNuke-0.726, with &quot;html&quot; and &quot;phoenix-sql&quot; directories under it. My preference is to then make a link in the document root pointing to the html directory:

&quot;ln -s PostNuke-0.726/html nuke&quot; (in your document root).

Finally, point your browser to and follow the directions. There is a checkbox in this script to create the database, if needed. My preference is to create it manually before running the script:

mysql> create database Phoenix;
mysql> grant all on Phoenix to nukeuser@localhost identified by 'foo';

Then specify this user when asked by the install.php script and leave the &quot;create database&quot; checkbox blank.
 
I can't find the config.php with the newest version of phpNuke. I have downloaded all the 7.x versions and on and can't find it in the zip file. I got the files from Thanks.

-Laughter works miracles.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top