Drupal

Revision as of 09:45, September 30, 2014 by Threesixes (Talk | contribs)

www-apps/drupal


Source Repository:Gentoo Portage Tree
Homepage

Summary: PHP-based open-source platform and content management system

Use Flags

accelerator
Add dependency on a php accelerator
uploadprogress
Install dev-php/pecl-uploadprogress package

News

Drobbins

Pre-built kernels!

Funtoo stage3's are now starting to offer pre-built kernels for ease of install. read more....
12 May 2015 by Drobbins
Drobbins

Better Experiences: Ego and Vim

Info on Funtoo's new personality tool called 'ego', and user-focused updates to vim's defaults.
27 April 2015 by Drobbins
Drobbins

How We're Keeping You At the Center of the Funtoo Universe

Read about recent developments that keep you, our users, at the forefront of our focus as Funtoo moves forward.
10 April 2015 by Drobbins
View More News...

Drupal

Tip

This is a wiki page. To edit it, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Drupal is a powerful Web-server-stack web application that can be used to craft custom websites, for example: http://www.whitehouse.gov

Install

# emerge drupal

MySQL

Warning

default "changeme" passwords are insecure, change them!

To create a database for drupal to interact with:

# mysql -u root -p
mysql> CREATE DATABASE IF NOT EXISTS `drupal` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
mysql> CREATE USER 'drupal'@'localhost' IDENTIFIED BY 'changeme';
mysql> GRANT LOCK TABLES, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `drupal`.* TO 'drupal'@'localhost' IDENTIFIED BY 'changeme';
mysql> \q

webapp-config

Note
webapp-config is currently broken for drupal so you must run it your self:

To run webapp-config, you must know the version number of the webapp you're installing. To find the version number:

# equery l drupal

then run something similar to this, making sure to replace the version number with your current drupal version.

# webapp-config -I -h localhost -u root -d /drupal drupal 7.31

web install

Start your web server, and database.

If you are using apache 2.4, or newer run this sed command.

# sed -i 's\Order allow,deny\Require all granted\' /var/www/localhost/htdocs/drupal/.htaccess

point your browser @ http://localhost/drupal/install.php

Maintenance Mode Access

If you suddenly find your self locked out of your drupal cms because it is in maintenence mode:

http://localhost/drupal/user

Troubleshooting

If you are having problems logging into the admin console flush your browser cache.

External Resources