User:Dan Nessett/Technical/Notes on Forum Software: Difference between revisions
Jump to navigation
Jump to search
imported>Dan Nessett |
imported>Dan Nessett |
||
Line 45: | Line 45: | ||
* Use mysql to create the smf database: | * Use mysql to create the smf database: | ||
<pre> sudo su | <pre>sudo su | ||
mysql | mysql | ||
create database smf; | create database smf; |
Revision as of 13:59, 5 April 2010
Registration Anti-spam modification
Here is a screen shot of the registration panel with questions.
Installing forum software on CentOs 5.4
- Download webinstall.php from http://download.simplemachines.org/. Store it in ~.
- 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
- Use mysql to create the smf database:
sudo su mysql create database smf; \q exit
- Access the webinstall program from a browser:
http:/localhost/forum/webinstall.php
Follow the instructions. When prompted to create the forum, use the mysql username root and no password. Once the software installtion is complete, change the mysql root password to something more secure (than ).