|
To install and configure YaBB forum, please follow these steps:
I. Download YaBB application
1. Either locations will contain a copy of YaBB that you may download: http://www.yabbforum.com/downloads.php OR http://easynews.dl.sourceforge.net/sourceforge/yabb/YaBB_1Gold_SP1.3.1_cgi.zip
2. Using a compression utility (eg. Winzip) extract/unzip the package to a location on your computer
II. Pre-installation Configurations
3. Using a text editor (eg. Notepad) open YaBB.pl located in /cgi-bin/YaBB folder of the package you unzipped
4. Check the first line of the file to ensure that the path to Perl is correct. It should read as follows:
!#/usr/bin/perl
5. Using a text editor (eg. Notepad) open Settings.pl and set the required variables (where yourdomainname is your site's domain name):
$mbname = "My Forum Name" # Name of your forum $boardurl = "http://www.yourdomainname.com/cgi-bin/yabb"; # URL of your board's folder (without trailing '/') $mailprog = "/usr/lib/sendmail"; # Location of your sendmail program $webmaster_email = q^yourname@yourdomainname.com^; # Your email address. (eg: $webmaster_email = q^admin@host.com^;) $facesdir = "$ENV{'DOCUMENT_ROOT'}/www/YaBBImages/avatars"; # The server path to your avatars (userpics) folder $facesurl = "http://www.yourdomain.com/YaBBImages/avatars"; # URL to your avatars folder $imagesdir = "http://www.yourdomain.com/YaBBImages"; # URL to your images folder $ubbcjspath = "http://www.yourdomain.com/ubbc.js"; # URL to your 'ubbc.js' (REQUIRED for post/modify to work properly) $faderpath = "http://www.yourdomain.com/fader.js"; # URL to your 'fader.js' $helpfile = "http://www.yourdomain.com/YaBBHelp/index.html"; # URL to your help file
6. In the "cgi-bin" directory of your site, create a directory called yabb
7. Inside the newly created yabb directory, create the following folders/directories:
yabb Boards Members Sources Variables
8. In the www directory of your site, create the following directories:
yabbimages yabbhelp
III. Install/Upload YaBB files
9. Using an FTP tool (eg. Filezilla), upload the files from the YaBB package you extracted into their respective directories (* means everything):
NOTE: All images must be uploaded in Binary mode.
------- NON cgi-bin section --------- /ubbc.js /fader.js /yabbhelp/ *.* (Upload in Ascii) /yabbhelp/images *.* (Upload in Binary!) /yabbimages/ *.gif all files (Upload in Binary!) /yabbimages/avatars *.* all files (Upload in Binary!)
------- CGI-BIN section (all files in ASCII) --------- /yabb/ drwxrwxrwx (chmod 777 or 755) /yabb/YaBB.pl -rwxr-xr-x (chmod 755)
/yabb/Settings.pl drwxrwxrwx (chmod 777) /yabb/template.html drwxrwxrwx (chmod 777) /yabb/english.lng -rw-r--r-- (leave as is) # or another language file
/yabb/Boards drwxrwxrwx (chmod 766 or 777) /yabb/Boards/.htaccess -rw-r--r-- (leave as is) /yabb/Boards/general_cat.cat -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Boards/news.dat -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Boards/news.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Boards/sticky.stk -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING
/yabb/Members drwxrwxrwx (chmod 766 or 777) /yabb/Members/.htaccess -rw-r--r-- (leave as is) /yabb/Members/admin.dat -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Members/memberlist.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING
/yabb/Messages drwxrwxrwx (chmod 766 or 777) /yabb/Messages/.htaccess -rw-r--r-- (leave as is)
/yabb/Sources drwxrwxrwx (chmod 766 or 777) /yabb/Sources/Admin.pl -rw-r--r-- (leave as is) /yabb/Sources/AdminEdit.pl -rw-r--r-- (leave as is) /yabb/Sources/BoardIndex.pl -rw-r--r-- (leave as is) /yabb/Sources/Display.pl -rw-r--r-- (leave as is) /yabb/Sources/ICQPager.pl -rwxr-xr-x (chmod 755) /yabb/Sources/InstantMessage.pl -rw-r--r-- (leave as is) /yabb/Sources/Load.pl -rw-r--r-- (leave as is) /yabb/Sources/LockThread.pl -rw-r--r-- (leave as is) /yabb/Sources/LogInOut.pl -rw-r--r-- (leave as is) /yabb/Sources/Maintenance.pl -rw-r--r-- (leave as is) /yabb/Sources/ManageBoards.pl -rw-r--r-- (leave as is) /yabb/Sources/ManageCats.pl -rw-r--r-- (leave as is) /yabb/Sources/Memberlist.pl -rw-r--r-- (leave as is) /yabb/Sources/MessageIndex.pl -rw-r--r-- (leave as is) /yabb/Sources/ModifyMessage.pl -rw-r--r-- (leave as is) /yabb/Sources/MoveThread.pl -rw-r--r-- (leave as is) /yabb/Sources/Notify.pl -rw-r--r-- (leave as is) /yabb/Sources/Post.pl -rw-r--r-- (leave as is) /yabb/Sources/Profile.pl -rw-r--r-- (leave as is) /yabb/Sources/Recent.pl -rwxr-xr-x (chmod 755) /yabb/Sources/Register.pl -rw-r--r-- (leave as is) /yabb/Sources/RemoveOldThreads.pl -rw-r--r-- (leave as is) /yabb/Sources/RemoveThread.pl -rw-r--r-- (leave as is) /yabb/Sources/Search.pl -rw-r--r-- (leave as is) /yabb/Sources/Security.pl -rw-r--r-- (leave as is) /yabb/Sources/Subs.pl -rw-r--r-- (leave as is) /yabb/Sources/YaBBC.pl -rw-r--r-- (leave as is)
/yabb/Variables drwxr-xr-x (chmod 766 or 777) /yabb/Variables/.htaccess -rw-r--r-- (leave as is) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/agreement.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/ban.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/ban_email.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/ban_log.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/ban_memname.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/cat.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/censor.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/clicklog.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/flood.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/log.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/membergroups.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/news.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/oldestmes.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/reserve.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING /yabb/Variables/reservecfg.txt -rw-rw-rw- (chmod 666) !!DO NOT UPLOAD IF UPGRADING
IV. Login and Test YaBB 10. Browse to the URL that you specified when you configured $boardurl in the Settings.pl file with /YaBB.pl on the end (eg. http://www.yourdomainname.com/cgi-bin/yabb/YaBB.pl)
11. To login, enter the following default administration username and password:
Administration username: admin Administration password: admin
12. After a successful login you should see an "Admin" icon in the menu of the YaBB forum. This indicates that you are indeed loggedin as an administrator. Click it will take you to the "Admin Center" where you can change forum preferences, edit your template, run maintenance routines, or manipulate users and categories.
|
|
Article
|
365
|
|
Created
|
4-28-2005
|
|
Modified
|
10-9-2005
|
|
Author
|
Netfirms
|
|