Drupal

Drupal is a powerful PHP content management system (CMS).

Preinstall
Edit /etc/portage/make.conf and add "apache2 php gd" to your use flags.

Edit /etc/portage/package.use and add "dev-lang/php mysql mysqli postgres" to PHP use flags then merge up LAMP.

Scroll up into the emerge log and setup the root user for mysql running the command printed.

Edit /etc/conf.d/apache2 and add '-D PHP5' to your APACHE2_OPTS line.

Start up your LAMP stack

Set the LAMP stack to start upon boot

Unmask
At the time of writing, www-apps/drupal is masked as experimental only. If you run a "stable" system, you'll have to add it to your /etc/portage/package.keywords.

Install
Now we can get on with emerging:

If you have the vhosts USE flag set, you will have to run webapp-config manually.

where  is the FQDN (fully qualified domain name) hostname of your virtual host.

If you do not have the vhosts USE flag set, then webapp-config will get run for you during the emerge.

MySQL
It is a good idea to setup an unprivileged mysql user and database for joomla.

In the web page enter joomla for username and joomla for database

Press next


 * Step 3

Ftp
Select no for now.


 * Step4

Delete the install directory, and go to http://127.0.0.1/joomla/index.php to see your website, and http://127.0.0.1/joomla/administrator/index.php to administer your website.

Extensions
Drupal can be crafted into many things with extensions. It can be used for forums, chat, classified ads, web stores, blogs, guest books, and more.

joomla extensions