Difference between pages "Package:Drupal" and "Corei7"

(Difference between pages)
m (add base url config)
 
 
Line 1: Line 1:
{{Ebuild
+
{{Subarch
|Summary=PHP-based open-source platform and content management system
+
|CPU Family=64-bit Intel Processors
|CatPkg=www-apps/drupal
+
|subarch=corei7
|Maintainer=
+
|CHOST=x86_64-pc-linux-gnu
|Homepage=http://drupal.org/
+
|CFLAGS=-march=corei7 -O2 -pipe
 +
|USE=mmx sse sse2 sse3 ssse3 sse4
 +
|Description=The '''corei7''' subarch supports the Nehalem, Westmere, Sandy_Bridge,  Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.
 
}}
 
}}
Drupal is a powerful [[Web-server-stack]] web application that can be used to craft custom websites, for example: http://www.whitehouse.gov
+
Beginning in November 2008, Intel launched the first Core i7 processor, codenamed [[Wikipedia:Bloomfield_(microprocessor)|Bloomfield]], based on the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]] microarchitecture. With this launch, they also added to and modified the conventions used in their [[Wikipedia:Intel_Core|Intel Core]] branding scheme. '''(Not to be confused with the [[Wikipedia:Intel Core (microarchitecture)|Intel Core microarchitecture]]. See [[core2_64]].)'''. This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the '''corei7''' subarch supports the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Sandy_Bridge_(microarchitecture)|Sandy Bridge]],  [[Wikipedia:Ivy_Bridge_(microarchitecture)|Ivy Bridge]], and [[Wikipedia:Haswell_(microarchitecture)|Haswell]] microarchitectures under the following brand names:
  
== Install ==
+
* Intel Pentium/Celeron (low-level consumer)
{{note|drupal likes php emerged with the gmp use flag enabled}}
+
* Intel Core i3 (entry-level consumer)
 +
* Intel Core i5 (mainstream consumer)
 +
* Intel Core i7 (high-end consumer/business)
 +
* Intel Xeon (business server/workstation)
  
<console>
+
See the following links for a list of supported [[Wikipedia:Celeron|Celeron]], [[Wikipedia:Pentium|Pentium]], [[Wikipedia:Intel_Core#Nehalem_microarchitecture_based|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Intel_Core#Sandy_Bridge_microarchitecture_based|Sandy Bridge]], [[Wikipedia:Intel_Core#Ivy_Bridge_microarchitecture_based|Ivy Bridge]], and [[Wikipedia:Intel_Core#Haswell_microarchitecture_based|Haswell]] processors.
###i## emerge drupal
+
</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
+
mysql> ##i##CREATE DATABASE IF NOT EXISTS `drupal` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
+
mysql> ##i##CREATE USER 'drupal'@'localhost' IDENTIFIED BY 'changeme';
+
mysql> ##i##GRANT LOCK TABLES, SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `drupal`.* TO 'drupal'@'localhost' IDENTIFIED BY 'changeme';
+
mysql> ##i##\q
+
</console>
+
=== webapp-config ===
+
{{note|1=
+
<code>webapp-config</code> is currently broken for Drupal so you must run it yourself:}}
+
 
+
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.
+
 
+
==== nginx ====
+
configure your nginx similar to official documentation.  http://wiki.nginx.org/Drupal
+
 
+
point your browser @ http://localhost/drupal/install.php
+
 
+
==== apache ====
+
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>
+
 
+
point your browser @ http://localhost/drupal/install.php
+
 
+
=== Permission Adjustments ===
+
==== Enable Theme & Module Uploads ====
+
{{note| if you're using nginx change to nobody:nogroup}}
+
<console>###i## chown -R apache:apache /var/www/localhost/htdocs/drupal/sites/all/</console>
+
 
+
* [https://www.drupal.org/project/project_theme drupal theme index]
+
 
+
* [https://www.drupal.org/project/project_module drupal extensions]
+
 
+
==== Adjust for Security ====
+
<console>###i## chmod 640 /var/www/localhost/htdocs/drupal/sites/default/settings.php</console>
+
 
+
== Post Install ==
+
=== base url ===
+
To set your base url:
+
 
+
{{file|name=/var/www/localhost/htdocs/drupal/sites/default/settings.php|lang=php|desc=ip address listening to external requests or domain name|body=
+
$base_url = 'http://0.0.0.0/drupal'; // NO trailing slash!
+
}}
+
=== Cron ===
+
Drupal automates several tasks by cron.  see official documentation to setup a cron job.
+
https://www.drupal.org/node/23714
+
 
+
=== 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.
+
 
+
== Media ==
+
=== Overview ===
+
{{#widget:YouTube|id=kaOuQxsjs3E}}
+
 
+
=== Tutorials ===
+
{{#widget:YouTube|playlist=PL15BE2E8313A4E809}}
+
 
+
== External Resources ==
+
* https://wiki.gentoo.org/wiki/Drupal
+
* [http://youtu.be/sfrfuCLH9sg google tech talks: implementing drupal]
+
* [https://www.youtube.com/channel/UCyLF5zO6ghZcOXKHRWTipvw drupalize.me youtube channel]
+
{{EbuildFooter}}
+

Latest revision as of 10:02, December 20, 2014

corei7 (Sub-architecture)

Note

This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.

CPU Family64-bit Intel Processors
CHOSTx86_64-pc-linux-gnu
CFLAGS-march=corei7 -O2 -pipe
USEmmx sse sse2 sse3 ssse3 sse4
SummaryThe corei7 subarch supports the Nehalem, Westmere, Sandy_Bridge, Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.


Beginning in November 2008, Intel launched the first Core i7 processor, codenamed Bloomfield, based on the Nehalem microarchitecture. With this launch, they also added to and modified the conventions used in their Intel Core branding scheme. (Not to be confused with the Intel Core microarchitecture. See core2_64.). This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the corei7 subarch supports the Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell microarchitectures under the following brand names:

  • Intel Pentium/Celeron (low-level consumer)
  • Intel Core i3 (entry-level consumer)
  • Intel Core i5 (mainstream consumer)
  • Intel Core i7 (high-end consumer/business)
  • Intel Xeon (business server/workstation)

See the following links for a list of supported Celeron, Pentium, Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell processors.