HTML Setup - Mambo Site
Server
Screen 1:
Complete the following:
- Host name - Host name
of the mysql database* (usually localhost).
- Database User Name -
mysql user name.*
- Database Password -
mysql password*
- Database Name - name
of the database for Mambo Site Server* (e.g. mydatabase)
* If unsure please contact
your System Administrator or ISP provider
Then click the submit button
Screen 2:
Complete the following:
- What is the name of the
live site - Give your site a name (e.g. mysite)
Then click the submit button
Screen 3:
Complete the following:
- What is the url of the
live site (e.g. http://www.mysite.com)
Click the submit button
Screen 4:
- Click the submit button
to install Mambo files.
Screen 5:
- Click the submit button
to launch Mambo site
If you want to setup the
news feed system read below, otherwise you're finished installing Mambo.
# The following is for the nightly news-feed fetches #
You will need (and perhaps already have...):
*Perl 5 and above
*Perl DBI::MySQL module bundle(which can be CPAN'd down:
(perl -MCPAN -e 'install Bundle::DBD::mysql')
*Other Perl modules:
libwww-perl-5.48
md5
base64
headparser
URI-1.11
# News feeds cron job: #
Edit crontab file, located /etc/crontab in any text editor program or
Webmin.
Set crontab to point to the newsfeeds shell script ie:
/path_to_root_level_folder/newsfeeds/newsfeeds.sh > /var/log/newsfeeds.log
** IMPORTANT **
Check that the path to the perl is correct in this script:
Newsfeeds script - /path_to_root_level_folder/newsfeeds/newsfeeds.pl
(This is usually [#!/usr/local/bin/perl -w ] but may vary in your system.)
Change the following in the newsfeeds.pl script in newsfeeds folder:
line 173 -> $user = "USERNAME FOR MYSQL DATABASE";
line 174 -> $password = "PASSWORD FOR MYSQL DATABASE";
line 182 -> $base_dir = "ABOLUTE PATH TO NEWSFEEDS DIRECTORY";
line 196 -> my $dbh=DBI->connect('dbi:mysql:YOUR DATABASE NAME', $user,
$password) or die "$DBI::errstr";
line 281 -> my $dbh=DBI->connect('dbi:mysql:YOUR DATABASE NAME', $user,
$password) or die "$DBI::errstr";
Any other questions or comments please check out Mamboserver
Install
Mambo Open Source Now