This is more of a technical FYI, not really a practical guide for Linuxwhore.com server users :-). Well, actually, I suppose everything except for the mysql commands could be performed by users, the rest needs to be granted by root.
mkdir phpnuke
cd phpnuke/
tar -zxvf ../PHP-Nuke-6.8.tar.gz
cd html/
cp -rp * /www/docs/mysite.com/
cd ..
mysqladmin -p -u root create mynuke
mysql -p -u root mynuke < sql/nuke.sql
mysql -p -u root
USE mysql;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON mynuke.* TO mynuke@localhost IDENTIFIED BY 'mypass';
FLUSH PRIVILEGES;
exit
cd /www/docs/mysite.com/
vi config.php
### Change the following
$dbuname = "mynuke";
$dbpass = "mypass";
$dbname = "mynuke";
Open http://mysite.com/admin.php and set the super user info.
Peruse and customize!
You must log in to post a comment.