|Source Repository:||Repository:Gentoo Portage Tree|
Summary: Wordpress php and mysql based content management system (CMS)
- Installs Akismet comment spam plug-in
- Installs themes (including default theme)
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.
Pre-built kernels!Funtoo stage3's are now starting to offer pre-built kernels for ease of install. read more....
Wordpress is a blog web-server-stack application content management system. Wordpress powers much of the internet, and can be converted into several other systems. Wordpress can be a blog, forum, bug tracker, social media platform, or even a web store. There are several plugins available, and it has a large community backing it.
# emerge wordpress
Nginx Server Configuration
Nginx does not respect the .htaccess files generated by wordpress. To manually insert url rewrite rules:
More information can be found here: http://wiki.nginx.org/WordPress
if using nginx change permissions to nobody:nobody instead of apache:apache
Plugins, Themes & Images
Wordpress needs some directories to be run under the webserver or php-fpm user for uploading images, and installing themes & plugins.
Fix permissions to enable uploading content such as banners:
# chown apache:apache /var/www/localhost/htdocs/wordpress/wp-content
Fix permissions to enable themes, and plugins:
# chown -R apache:apache /var/www/localhost/htdocs/wordpress/wp-admin/ # chown -R apache:apache /var/www/localhost/htdocs/wordpress/wp-includes/ # chown -R apache:apache /var/www/localhost/htdocs/wordpress/wp-content/
/var/www/localhost/htdocs/wordpress/wp-config.php contains plaintext sql database passwords. we should change the permissions to lock this file down.
# chmod 640 /var/www/localhost/htdocs/wordpress/wp-config.php # chown apache:apache /var/www/localhost/htdocs/wordpress/wp-config.php
default "changeme" passwords are insecure, change them!
To create a database for wordpress to interact with:
# mysql -u root -p
mysql> CREATE DATABASE IF NOT EXISTS `wordpress` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`; mysql> CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'changeme'; mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `wordpress`.* TO 'wordpress'@'localhost' IDENTIFIED BY 'changeme'; mysql> \q
acquire your own salts and insert them into your configuration file. https://api.wordpress.org/secret-key/1.1/salt/
Database and database user are "wordpress" and passwords are what you set in your mysql database generation step. (changeme fields)
5 minute installer
Point your browser @ http://localhost/wordpress/
Name your website, and make a default administrator password.
Administration & Use
Administer your WordPress @ http://localhost/wordpress/wp-admin/
Your shiny new blog is located @ http://localhost/wordpress/
Your new blogs rss feed is located @ http://localhost/wordpress/feed/
- Add Meta Tags
- Disqus Comment System
- Google XML Sitemaps
- Share Buttons by AddToAny
- Wordfence Security
- YouTube widget responsive