<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial size=2>Here is how I got
Mambo up and running on my ancient Linux system with vanilla Apache and PHP and
MySQL. Noel requested this. You can probably find gaping holes in
these.</FONT></SPAN></DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2>Andrew.</FONT></SPAN></DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=020324315-19032005>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Installing Mambo:</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Mambo is an Intranet/Internet
publishing system which works through PHP scripts – the system can be totally
managed by someone with little computer knollege, and who is more into page
layout/design (i.e, marketing department).<SPAN style="mso-spacerun: yes">
</SPAN>The HTML code is generated by the PHP scripts with a Mysql backend.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Brief notes.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Ensure /var/www is empty or
create a directory for Mambo. (or your default web docs directory).</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">If using a directory you need to
ensure that when visiting Mambo site (i.e, <A
href="http://yoursite.domain.com/">http://yoursite.domain.com</A>, you append
the directory after the URL (i.e, /mambo).</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
class=020324315-19032005><FONT face=Arial size=2>I did the following as
root</FONT></SPAN><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=Arial
size=2></FONT></o:p> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Unpack latest build to the
/var/www directory.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">tar -xvfz
latest_mambo_version.tar.gz -C /var/www/</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">You should now have a set of
directories in the /Mambo directory (importantly the installation directory),
also there will be a PHP file for configuration options.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">You need to go into that
directory now (cd /var/www) and do some modifications of permissions.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">ps -ef | grep apache – find the
user that runs the webserver process – on my system it was www.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Now enter:</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chown -R www</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Change the owner of the files
recursively in that directory to the user that runs Apache process so Apache can
have control of those files.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">The following is also helpful as
I have seen errors with people installing plugins etc.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 images </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 media </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 uploadfiles </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 components </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 languages </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 modules </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707 templates</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707
administrator/backups </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod -R 707
administrator/components </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">chmod 744 configuration.php</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">You should now go to <A
href="http://yoursite.domain.com/">http://yoursite.domain.com</A> and you will
get the installation checklist, it should check out PHP and then tell you that
specific directories are writable.<SPAN style="mso-spacerun: yes">
</SPAN>If you do not get this go to <A
href="http://yoursite.domain.com/installation/install.php">http://yoursite.domain.com/installation/install.php</A>
and see if you get the install checklist page.<SPAN
style="mso-spacerun: yes"> </SPAN>If you get the PHP code you have issues
with PHP itself – check the PHP/MySQL packages you used.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">SQL config:</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">You need to create a Mambo user
and then a Mambo table to ensure that only the Mambo application can get access
to the SQL tables.<SPAN style="mso-spacerun: yes"> </SPAN>Do not use the
root SQL username as if some part of Mambo gets hacked there is the posability
of being able to access all SQL tables if the root password is known.<SPAN
style="mso-spacerun: yes"> </SPAN>If only Mambo accesses the SQL table
under the Mambo account then if the table gets hacked the worst that can happen
is the Mambo table can be damaged.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">The Package I installed for MySQL
put a file in /root/.my.cnf which contained the root password – this is a random
string which should not be touched.<SPAN style="mso-spacerun: yes">
</SPAN>If you log in as root and go into MySQL Admin it won’t ask for the
password because it gets the password from that file.<SPAN
style="mso-spacerun: yes"> </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">As root run the mysql command,
you get the mysql prompt.<SPAN style="mso-spacerun: yes"> </SPAN>Enter in
the command bellow – the lowercase is parameters:</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">GRANT ALL PRIVILEGES ON mambo.*
TO mambouser@localhost IDENTIFIED BY 'mambopassword';</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">You may want to change
mambouser/mambopassword to something harder to guess.<SPAN
style="mso-spacerun: yes"> </SPAN>Table name can also be changed from
mambo to anything you wish.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Quit out of mysql.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Now go to the installation page
and ensure that you have the checklist complete.<SPAN
style="mso-spacerun: yes"> </SPAN>Follow the install steps, when asked for
the database details enter in the following:</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">MySQL server: localhost</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Database Name: mambo</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">User: mambouser</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Password: mambopassword</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">There is an option to import
sample data into the Mambo tables which you can have or not.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">You then need to remove the
/installation directory for security purposes – you will be prompted to do
this.</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Now comes the hard part – once
you get into Mambo you have to edit the content, menus, etc!!!</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">The default users are admin/admin
(admin access) and editor/editor (edit only access).<SPAN
style="mso-spacerun: yes"> </SPAN>Obviously these need
changing.</P></SPAN></DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=020324315-19032005><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>