Difference between pages "Package:NVIDIA Linux Display Drivers" and "Package:Drupal"
Threesixes (talk | contribs) m (fix some stuff) |
|||
Line 1: | Line 1: | ||
{{Ebuild | {{Ebuild | ||
|Summary= | |Summary=PHP-based open-source platform and content management system | ||
|CatPkg= | |CatPkg=www-apps/drupal | ||
| | |Maintainer= | ||
| | |Homepage=http://drupal.org/ | ||
}} | }} | ||
Drupal is a powerful [[Web-server-stack]] web application that can be used to craft custom websites, for example: http://www.whitehouse.gov | |||
== | == Install == | ||
<console> | <console> | ||
###i## | ###i## emerge drupal | ||
</console> | </console> | ||
=== | === MySQL === | ||
{{warning|default "changeme" passwords are insecure, change them!}} | |||
To create a database for drupal to interact with: | |||
<console>###i## mysql -u root -p</console> | |||
To | |||
<pre> | |||
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 | |||
</pre> | |||
== | === webapp-config === | ||
{{note| <code>webapp-config</code> is currently broken for drupal so you must run it your self:}} | |||
To run <code>webapp-config</code>, you must know the version number of the webapp you're installing. To find the version number: | |||
<console>###i## equery l drupal</console> | |||
then run something similar to this, making sure to replace the version number with your current drupal version. | |||
<console>###i## webapp-config -I -h localhost -u root -d /drupal drupal 7.31</console> | |||
=== web install === | |||
Start your web server, and database. | |||
If you are using apache 2.4, or newer run this sed command. | |||
<console>###i## sed -i 's\Order allow,deny\Require all granted\' /var/www/localhost/htdocs/drupal/.htaccess</console> | |||
<console> | |||
</console> | |||
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 == | |||
[ | * https://wiki.gentoo.org/wiki/Drupal | ||
* [http://youtu.be/-cUWFLBZU5I?list=PL15BE2E8313A4E809 youtube tutorial playlist] | |||
{{EbuildFooter}} | {{EbuildFooter}} |
Revision as of 09:45, September 30, 2014
Drupal
We welcome improvements to this page. To edit this page, 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
root # emerge drupal
MySQL
default "changeme" passwords are insecure, change them!
To create a database for drupal to interact with:
root # 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
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:
root # equery l drupal
then run something similar to this, making sure to replace the version number with your current drupal version.
root # 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.
root # 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:
Troubleshooting
If you are having problems logging into the admin console flush your browser cache.
External Resources