User:Dan Nessett/Technical/Notes on Forum Software: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dan Nessett
imported>Dan Nessett
Line 36: Line 36:
* Make sure ftp daemon is installed. If not, install vsftpd and execute:
* Make sure ftp daemon is installed. If not, install vsftpd and execute:


<pre>/etc/init.d/vsftpd start</pre>
<pre>sudo /etc/init.d/vsftpd start</pre>


* Make sure mysql is installed. If not install it.
* Make sure mysql and php-mysql is installed. If not install it. Then execute:
 
<pre>sudo /etc/init.d/mysqld start
sudo /etc/init.d/httpd graceful</pre>

Revision as of 12:07, 5 April 2010

Registration Anti-spam modification

Here is a screen shot of the registration panel with questions.

ScreenShot Forum Register.png

Installing forum software on CentOs 5.4

  • Execute:
cd /usr/local/src
sudo mkdir forum
sudo chmod 777 forum
cd forum
sudo cp ~/webinstall.php .
sudo chmod 777 webinstall.php
  • Add following to /etc/httpd/conf/httpd.conf:
Alias /forum/ "/usr/local/src/forum/"
<Directory "/usr/local/src/forum/">
	Options FollowSymLinks
	AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

Alias /smf "/usr/local/src/forum"
  • Restart apache2 and access:
http://localhost/forum/webinstall.php
  • Make sure ftp daemon is installed. If not, install vsftpd and execute:
sudo /etc/init.d/vsftpd start
  • Make sure mysql and php-mysql is installed. If not install it. Then execute:
sudo /etc/init.d/mysqld start
sudo /etc/init.d/httpd graceful