Skip to content
turnkeylinux-appsPublic

About

WordPress - Blog Publishing Platform

Resources

Stars

36 stars

Watchers

6 watching

Forks

Latest commit

 

History

180 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress - Blog Publishing Platform

WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. It is one of the worlds most popular blog publishing applications, includes tons of powerful core functionality, extendable via literally thousands of plugins, and supports full theming.

This appliance includes all the standard features in TurnKey Core, and on top of that:

  • WordPress configurations:

    • Installed from upstream source code to /var/www/wordpress
    • Integrated upgrade mechanism: get WordPress updates straight from WordPress' creator Automattic.
    • Uploading of media such as images, videos, etc.
    • Permalinks configuration supported through admin console (convenience). WordPress manages its existing .htaccess rewrite file; the application root directory and core files remain root-owned.
    • Plugin and theme management remains available through WordPress. These directories intentionally contain web-writable executable code; install only updates and extensions you trust.
    • WordPress core is root-owned and does not update automatically. Apply a supervised core update as root with turnkey-wordpress-update. The command verifies official WordPress core checksums and restores the appliance ownership boundary after updating.
  • Landing page provides links to WordPress plugin search, plus a number of useful and popular Wordpress plugins (none pre-installed):

  • SSL support out of the box.

  • Adminer administration frontend for MySQL (listening on port 12322 - uses SSL).

  • Postfix MTA (bound to localhost) to allow sending of email (e.g., password recovery).

  • Webmin modules for configuring Apache2, PHP, MySQL (MariaDB) and Postfix.

See the WordPress docs for further details (including multisite howto).

Credentials (passwords set at first boot)

  • Webmin, SSH, MySQL: username root
  • Adminer: username adminer
  • Wordpress: username admin

The firstboot email also replaces the factory site administration address used for notifications. Rerunning initialization preserves a customized site address; change it through Settings > General when needed.

Repair permalink configuration on an existing installation

If saving Settings > Permalinks reports that .htaccess is not writable, run these commands as root to provide WordPress with its rewrite file:

rewrite_file=/var/www/wordpress/.htaccess
if test -L "$rewrite_file" || { test -e "$rewrite_file" && ! test -f "$rewrite_file"; }; then
    printf '%s\n' 'Resolve the non-regular .htaccess file before continuing.' >&2
else
    touch "$rewrite_file"
    chown www-data:www-data "$rewrite_file"
    chmod 0644 "$rewrite_file"
fi

Then save the desired structure again in Settings > Permalinks. Existing file contents are preserved. Use the corrected turnkey-wordpress-update script from this source checkout for future core updates, because the older script returns the rewrite file to root ownership:

install -o root -g root -m 0755 \
  overlay/usr/local/sbin/turnkey-wordpress-update \
  /usr/local/sbin/turnkey-wordpress-update

About

WordPress - Blog Publishing Platform

Resources

Stars

36 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages