|Source Repository:||Repository:Gentoo Portage Tree|
Summary: PHP-based open-source platform and content management system
- Add dependency on a php accelerator
- Install dev-php/pecl-uploadprogress package
Perl UpdatesGentoo has bumped perl from 5.20 to 5.22. Be sure to run perl-cleaner --all after the upgrade.
ARM RebuildARM systems will use new stage3's that are not compatible with earlier versions.
ABI X86 64 and 32Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
# emerge drupal
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-configis currently broken for drupal so you must run it your self:
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
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:
If you are having problems logging into the admin console flush your browser cache.