Joomla

About Joomla
Joomla! is one of the most powerful Open Source Content Management Systems on the planet. It is used all over the world for everything from simple websites to complex corporate applications. Joomla! is easy to install, simple to manage, and reliable.

If you have installed, make a backup of it and un-emerge first:

These USE-Flags are important for Joomla to function properly. Add the follow flags to :

If you don't add the flag, Joomla indicates "XML support" as unavailable during the pre-installation check.

The Package
Joomla! is masked by, so you have to unmask it. Add the following to :

Then emerge Joomla:

Creating a Database
Joomla needs an SQL based database to run. For this tutorial, we'll be using a mysql Database. (MySQL) might help you if you don't have MySQL installed. Another great resource to get you started with a great introduction to MySQL (its very useful if you have problems during the install) is the Gentoo-MySQL Startup Guide

Create the Database
First of all, you need to create a database to use. We're calling our database 'joomla', because that's nice and descriptive.

Add a user
While you can run joomla with root access to your MySQL database, it makes more sense security wise to have a dedicated joomla user. So, add a joomla user (Which we'll call joomla, because we're wildly creative)

Enter a password for the joomla user Now at the mysql prompt

Configuring Joomla
Scroll down till you see define ( 'RG_EMULATION', 1 ); change the 1 to a 0 to turn this off and then save the file. Reload Apache2 configuration for the changes to take place.

Point a browser to your web server http://localhost/joomla and follow the simple easy to use install instructions for Joomla.

Remember to use the same password and database name as we defined earlier.

Note that it's likely that you can't modify configuration.php. This is no real issue... Just chmod it after touching it to create it:

One might also have to uncomment the definition of the session save path in

Links

 * ebuild
 * http://www.joomla.org/
 * Gentoo Documentation-MySQL Startup Guide