Install SimpleMachinesForum
From OpenBSD-Wiki
| Written for: OpenBSD Version 4.0 |
3FkY9y <a href="http://rtqkekvvdosv.com/">rtqkekvvdosv</a>, [url=http://fztbulyefapc.com/]fztbulyefapc[/url], [link=http://iqinwdcnmsbk.com/]iqinwdcnmsbk[/link], http://ikqwzjtszvax.com/
Contents |
[edit] Steps to Install
Here are the specific steps I've taken to get it working:
[edit] Extract the tarball somewhere
| Commands: extraction |
$ bzcat smf_1.0.9_install.tar.bz2 | tar -xvf - |
WARNING: It extracts to the current directory! Do this somewhere convenient...
[edit] Dependancies
The documentation claims to need these bits of software installed:
- aspell for spell checking
- GD Graphics library
[edit] aspell
| Commands: Ports installation of aspell |
# cd /usr/ports/textproc/aspell # make # make install # make clean |
Note: compiling aspell can take up a considerable amount of space (read: > 900MB), make certain you have the spare space. If you just need the core install (which comes with the english dict) then instead of cd /usr/ports/textproc/aspell go to cd /usr/ports/textproc/aspell/core
[edit] gd
| Commands: Ports installation of gd |
# cd /usr/ports/graphics/gd # make # make install # make clean |
[edit] PHP config
We need to modify the php.ini file.
| Config File: /var/www/conf/php.ini |
# cd /var/www/conf # cp php.ini php.ini.2006feb21 # vi php.ini |
to which these changes need to be made:
* changed session.save_path to: session.save_path = "/tmp" * changed upload_tmp_dir to: upload_tmp_dir = "/tmp"
If you want to be a little safer, you can have /var/www/tmp be it's own partition mounted with noexec to prevent scripts from being ran, should an eploit for uploaded code be found
[edit] Temporary directory creaction
Because Apache runs chrooted, you'll have to make these directories under /var/www...
| Commands: /var/www/tmp creation |
# mkdir -p /var/www/tmp # chown www:daemon /var/www/tmp |
[edit] File placement
Create a forum directory to which the users will go to:
| Commands: making of the real directory |
# cd *APACHEROOT*/htdocs # mkdir forum # cd forum # bzcat /tmp/smf_1-0-9_install.tar.bz2 | tar -xvf - # chown -R www:daemon *APACHEROOT*/htdocs/forum |
[edit] Database creation and finalization
Follow the instructions in the readme.html. There shouldn't be much more left to do aside from visiting the forum in your browser to have it set up the database.
[edit] Steps to Maintain
So far, there hasn't been a difficult maintenance effort for this fora - however, looking up specifics for this How To have yielded a patch to 1.0.7! I'll get this working and post the patch process shortly...
--Nivek Otus 14:04, 4 May 2006 (CDT)
The only maintenance I've found is the 'clean posts older than X days' and a backup function.
--Nazadus 23:15, 3 Nov 2006 (CST)
Spammers seem to be hitting these forums pretty hard (on many SMF users), so you may need to implement some kind of captcha. These bots seem to create new users from different IP's.
--Nazadus 00:38, 21 March 2007 (EDT)
