wordpress

by blueprintmarketing
237 deployments · 81 still active · last rev. 2 years ago

# Things to do after installation:
# - Install WP Nginx Compatibility plugin
# - make sure to disable php4 and enable php5 version
# - Install WP W3 Total Cache plugin and remember those key settings:
# - Page Cache: enabled - Method: memcached
# - Minify: enabled - Method: memcached
# - Object Cache: enabled - Method: memcached
# - Varnish Cache Purging: enabled - type 127.0.0.1 in the text area
# - Browser Cache: enabled
# - After save all settings, go to Minifying link on the top:
# - Uncheck first checkbox
# - Check every "Enabled" checkbox and save all
# - Click "Deploy", "Disable" and then "Empty the page cache" buttons

# <UDF name="host_name" Label="Server's hostname" default="appserver" />
# <UDF name="user_name" Label="Name of deployment user" default="app" />
# <UDF name="user_password" Label="Password for deployment user" />
# <UDF name="user_ssh_key" Label="Deployment user public ssh key" />
# <UDF name="wp_domain" Label="domain of the Wordpress site" default="www.blueprintdns.com" />
# <UDF name="wp_database_name" Label="WordPress MySQL database name" />
# <UDF name="mysql_root_password" Label="MySQL root password" />
# <UDF name="wp_mysql_username" Label="WordPress MySQL user name" />
# <UDF name="wp_mysql_password" Label="WordPress MySQL user password" />
# <UDF name="wp_username" Label="WordPress admin name" />
# <UDF name="wp_password" Label="WordPress admin password" />
# <UDF name="wp_email" Label="WordPress admin email" />
# <UDF name="wp_public_blog" Label="Should this site be public? Indexed? [0-no|1-yes]" default="1" />
exec > /root/shellstack.log

echo "Installing git and cloning the shellstack script..." 1>&2
apt-get install -y git-core

git clone git://github.com/fagiani/shellstack.git
shellstack/install wordpress

Compatible with: Ubuntu 14.04 LTS
						#!/bin/bash
# stackscript: Optimized WP
# This installs a preety sweet and secure box with nginx + varnish + memcached + php5 fpm + mysql optimized for heavy load wordpress sites.
# author: Paulo Fagiani <pfagiani at gmail>
# To better understand what this stackscript does please go to https://github.com/fagiani/shellstack

# Things to do after installation:
# - Install WP Nginx Compatibility plugin
#   - make sure to disable php4 and enable php5 version
# - Install WP W3 Total Cache plugin and remember those key settings:
#   - Page Cache: enabled - Method: memcached
#   - Minify: enabled - Method: memcached
#   - Object Cache: enabled - Method: memcached
#   - Varnish Cache Purging: enabled - type 127.0.0.1 in the text area
#   - Browser Cache: enabled
# - After save all settings, go to Minifying link on the top:
#   - Uncheck first checkbox
#   - Check every "Enabled" checkbox and save all
# - Click "Deploy", "Disable" and then "Empty the page cache" buttons

# <UDF name="host_name" Label="Server's hostname" default="appserver" />
# <UDF name="user_name" Label="Name of deployment user" default="app" />
# <UDF name="user_password" Label="Password for deployment user" />
# <UDF name="user_ssh_key" Label="Deployment user public ssh key" />
# <UDF name="wp_domain" Label="domain of the Wordpress site" default="www.blueprintdns.com" />
# <UDF name="wp_database_name" Label="WordPress MySQL database name" />
# <UDF name="mysql_root_password" Label="MySQL root password" />
# <UDF name="wp_mysql_username" Label="WordPress MySQL user name" />
# <UDF name="wp_mysql_password" Label="WordPress MySQL user password" />
# <UDF name="wp_username" Label="WordPress admin name" />
# <UDF name="wp_password" Label="WordPress admin password" />
# <UDF name="wp_email" Label="WordPress admin email" />
# <UDF name="wp_public_blog" Label="Should this site be public? Indexed? [0-no|1-yes]" default="1" />
exec > /root/shellstack.log

echo "Installing git and cloning the shellstack script..." 1>&2
apt-get install -y git-core

git clone git://github.com/fagiani/shellstack.git
shellstack/install wordpress