Installation Time!
Installation Time
First
open 'mcc.pl', which is in the 'cgi-bin/mcc' folder of the package
you downloaded. This file contains a path to your server's Perl location.
Generally, this setting is correct, but Perl can be installed in different
locations. For example on a Windows or WinNT machine, your Perl path
should probably be set to #!C:/Perl/Bin. Check your server for the proper
path and change accordingly.
| Step
2 - Create Directories |
In your
'cgi-bin', create a directory called "mcc" (or whatever name you wish
to use). If you do not have a cgi-bin, then first create a directory
called 'cgi-bin' and then inside that create the 'mcc' directory. The
example structure is provided in the MCC package you've downloaded.
You should
have a folder structure similar to the following:
cgi-bin/mcc/
cgi-bin/mcc/source cgi-bin/mcc/data cgi-bin/mcc/addon
Then, in a
section of your webspace (outside the cgi-bin, generally in a 'public_html'
folder, as suggested in the package's folders), create another directory
called 'mcc/images' or something similar:
/mcc/images/
And create
another directory called 'mcc/help' or something similar in a section
of your webspace:
/mcc/help/
If you don't have a directory, which you
wan't to protect create one in a section of your webspace:
Place the
files from the downloaded zip into the directories as shown below and
be sure to "chmod" them as shown below. Be sure to upload ALL .pli files
in ASCII mode. Chmod is not supported on Windows servers, so there is
no need to do that step after uploading (or extracting) the files. On a Windows/NT server, however,
you will need to give the data folders (those specified to be chmod 777) full read/write permissions.
------- NON cgi-bin section ---------
/mcc/fader.js
/mcc/help/*.* (Upload in Ascii)
/mcc/help/images/*.* (Upload in Binary!)
/mcc/images/*.gif all files (Upload in Binary!)
/members/ drwxrwxrwx (chmod 777 or 755) or any protected directory
------- CGI-BIN section (all files in ASCII) ---------
/mcc/ drwxrwxrwx (chmod 777 or 755)
/mcc/mcc.pl -rwxr-xr-x (chmod 755)
/mcc/english.lng -rw-r--r-- (leave as is) # or another language file
/mcc/Settings.pl drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/data drwxrwxrwx (chmod 766 or 777)
/mcc/data/template.html drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/data/stemplate.html drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/data/AreaRedirect.js drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/data/flexprofile.cfg drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/data/news.txt drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/data/welcome.txt drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING /mcc/data/.htacces -rw-r--r-- (leave as is) !!Security Fix /mcc/data/htatemplate.txt drwxrwxrwx (chmod 777) !!DO NOT UPLOAD IF UPGRADING
/mcc/source drwxrwxrwx (chmod 766 or 777)
/mcc/source/AccessControl.pl -rw-r--r-- (leave as is)
/mcc/source/Admin.pl -rw-r--r-- (leave as is)
/mcc/source/AdminEdit.pl -rw-r--r-- (leave as is)
/mcc/source/AreaControl.pl -rw-r--r-- (leave as is)
/mcc/source/AreaEdit.pl -rw-r--r-- (leave as is)
/mcc/source/AreaIndex.pl -rw-r--r-- (leave as is) /mcc/source/DBcommon.pl -rw-r--r-- (leave as is)
/mcc/source/GroupControl.pl -rw-r--r-- (leave as is)
/mcc/source/GroupEdit.pl -rw-r--r-- (leave as is)
/mcc/source/ListIndex.pl -rw-r--r-- (leave as is)
/mcc/source/Load.pl -rw-r--r-- (leave as is)
/mcc/source/LogInOut.pl -rw-r--r-- (leave as is)
/mcc/source/MemberControl.pl -rw-r--r-- (leave as is)
/mcc/source/Profile.pl -rw-r--r-- (leave as is)
/mcc/source/Subs.pl -rw-r--r-- (leave as is) /mcc/source/Template.pl -rw-r--r-- (leave as is) /mcc/source/TextFiles.dbd -rw-r--r-- (leave as is) !!DATABASE DRIVER
Commercial files /mcc/source/MySQL.dbd -rw-r--r-- (leave as is) !!DATABASE DRIVER /mcc/source/DBIControl.pl -rw-r--r-- (leave as is)
/mcc/addon drwxrwxrwx (chmod 766 or 777)
/mcc/addon/*.add -rw-r--r-- (leave as is) !!FOR ANY ADD-ON YOU DECIDE TO ADD
Do not install
any add on if you don't need them. They will slow down MCC, check the addon
section for information about the add-on and decide if you want to use it
or not.
Try to execute
your MCC now! In your web browser, go to the url where MCC is installed with /mcc.pl (or /mcc.pl?small=1
for small version)
on the end (such as http://www.mysite.com/cgi-bin/mcc/mcc.pl). Remember
most servers are case-sensitive.
If you
can't run the board, please re-do the above 3 steps and consulting the
troubleshooting section of this manual. After you have successfully
run your MCC from the web, you need to try logging in. The default
username is "admin" and default password is "j2use". They will always
be so when you install a new MCC. Login with that information
and you should see an "Admin" icon in the menu of MCC. Clicking
it will take you to the "Admin Center" where you can see all sorts of
nifty things to do. Make sure you change the default password for
admin and also set a valid e-mail address.
| Step
5 - Configure and Test |
The first
time you logged in as "admin" your opening page is preference
and settings. This page you can use to change the behaviour of MCC. The
changes you make are saved in 'Settings.pl' and can therefor also be edit
by hand in a case when you settings have disabeld MCC.
The following
items of the configuration should be set so the solution works properly:
- Images
URL. (such as http://www.mysite.com/mcc/images)
- URL
to newsfader. (such as http://www.mysite.com/mcc/fader.js)
- Help
File. (such as http://www.mysite.com/mcc/help/index.html)
- Use
File Locking. According to your server.
Test everything
(that you know exists), such as posting, registering a new member, modifying area, etc. Then after that, go to the admin center to create some
new areas. For detailed information about all options goto the administation
pages. If your members are active on registration make sure you remove
the activation code bits form your welcome message. It only confuses
people.
Congratulations!
Congratulations, you've now got a great website
password protection solution
all for yourself!
|