Install phpMyFAQ from scratch

Posted in Linux

There’s a few packages you might not have installed that you’ll need before php phpMyFAQ will install. On a basic, headless virtual machine, I don’t install a web server, php or databases by default. So I’ll start from there.

Install a database.

If you want mysql:

$ sudo yum install mysql-server php-mysql

$ sudo /etc/init.d/mysql start

$ sudo /usr/bin/mysql_secure_installation

If you want postgresql:

$ sudo yum install postgresql-server php-pgsql

$ sudo /etc/init.d/postgresql initdb

$ sudo /etc/init.d/postgresql start

Install the web server.

$ sudo yum install lighttpd lighttpd-fastcgi php

Unpack phpMyFAQ under your webroot. If you use the default webroot, that would be /var/www/lighttpd/ (if you use apache, it would probably be /var/www/html/ but some distributions put it under htdocs the way apache meant it to be)

tar zxvf phpmyfaq*.tar.gz -C /var/www/lighttpd/

Optional:

Rename the phpmyfaq directory to just “faq”

Load the page in a browser. Fill out the fields and click Install! If you’re using postgres and you didn’t modify the database user and password, it’s postgres postgres. If you ran the secure installation script for mysql, it asked you to supply the password to use.

Posted by admica   @   14 May 2009

Related Posts

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Name

Email

Website

Previous Post
« Free the fish
Next Post
Bitfrost Security Platform for the OLPC XO Laptop »
Powered by Wordpress   |   Lunated designed by ZenVerse