• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Advanced Optimization of Rackspace Cloud Server for WordPress

By Abhishek Ghosh October 15, 2013 9:03 pm Updated on October 15, 2013

Advanced Optimization of Rackspace Cloud Server for WordPress

Advertisement

Advanced Optimization of Rackspace Cloud Server for WordPress includes installation of Memcached, PEC, APC, XCache, eAccelerator and installation of New Relic. You must be already running a Server instance with rpm based REHL (Red Hat/CentOS, commands might differ for others) distro variants with already installed and up WordPress from our older video guides (please search in this website, if needed) or installed properly yourself. We prefer Red Hat Enterprise Linux over CentOS for production site, however there is no difference in commands between Red Hat Enterprise and CentOS and using CentOS is encouraged for cost saving. Red Hat Enterprise is taken as the standard, there are a few differences in between, as the two distributions sometimes apply different minor patches. In other words, at the level of most need, you can treat CentOS and RHEL as interchangeable. As basically we have Enterprise grade readers, we just mentioned the point. CentOS is derived entirely from the Red Hat Enterprise Linux (RHEL) distribution with just few mods. This server node is running REHL for the need of paid support, nothing else.

 

Advanced Optimization of Rackspace Cloud Server for WordPress : Target Audience

 

This guide on Advanced Optimization of Rackspace Cloud Server for WordPress is intended for the users who :

 

  1. Are using W3 Total Cache Plugin
  2. Wants to play with various Caching option like – Memcached, APC, XCache
  3. Already are Guru on UNIX commands or on the way…
  4. Are ready to take risk with a broken installation on dev server
  5. Knows clearly about most of the basics of WordPress optimization ( See WordPress 3.6 on Rackspace Cloud Files and W3 Total Cache 0.9.3 Plugin ; it was for Cloud Sites, but basic remains the same)

 

Advanced Optimization of Rackspace Cloud Server for WordPress : Procedures and Steps

 

Update all of your installed software, but do so only if you have the experience and time to double check configurations afterwards:

Advertisement

---

Vim
1
yum update

Install PHP Extention Community Library (PECL) :

Vim
1
yum install php-pear

Install the PHP Development package :

Vim
1
yum install php-devel

Install apxs with the following command :

Vim
1
yum install httpd-devel

Make sure GCC is up-to-date :

Vim
1
yum install gcc make

Make sure ZLIB is fully installed :

Vim
1
yum install zlib-devel

Make sure PCRE is fully installed :

Vim
1
yum install pcre-devel

Memcached (Daemon) Installation:
Try to install with yum :

Vim
1
yum install libevent libevent-devel

Alternatively, compile it :

Vim
1
cd /usr/local/src && wget http://monkey.org/~provos/libevent-2.0.21-stable.tar.gz && tar -xzf libevent-2.0.21-stable.tar.gz && cd libevent-2.0.21-stable

Vim
1
2
3
./configure && make && make install<
echo "/usr/local/lib/" > /etc/ld.so.conf.d/libevent.conf
ldconfig -v

Find the latest stable memcached, download and extract:

Vim
1
cd /usr/local/src && wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz && tar -xzf memcached-1.4.15.tar.gz && cd memcached-1.4.15

Vim
1
./configure && make && make install

Make sure memcached is starts automatically on server boot:

Vim
1
2
3
4
5
6
touch /etc/init.d/memcached
echo '#!/bin/sh -e' >> /etc/init.d/memcached
echo '/usr/local/bin/memcached -d -m 128 -p 11211 -u nobody -l localhost' >> /etc/init.d/memcached
chmod u+x /etc/init.d/memcached
echo '/etc/init.d/memcached' >> /etc/rc.local
/etc/init.d/memcached

 Advanced Optimization of Rackspace Cloud Server for WordPress

PECL Memcache Module Installation:

Install and copy the W3 Total Cache’s copy, example path is shown :

Vim
1
2
pecl install memcache
cp /var/www/vhosts/your-domain.com/httpdocs/wp-content/plugins/w3-total-cache/ini/memcache.ini /etc/php.d/

Restart :

Vim
1
/etc/init.d/httpd restart

Test :

Vim
1
php -r 'phpinfo();' | grep 'memcache'

Or you can do it via compilation. Download the latest stable version and manually do it.

 

XCache and eAccelerator Installation :

 

For both, you need to compile from the source :

 

Vim
1
https://github.com/eaccelerator/eaccelerator/wiki

Vim
1
http://xcache.lighttpd.net/wiki/LinkArticle

 

You’ll get the ini files for both in :

 

wp-content/plugins/w3-total-cache/ini/

 

You will run cp like above to add to /etc/php.d/

 

New Relic Installation:

 

Basically it is in Marketplace :

 

Vim
1
https://cloudtools.rackspace.com/apps/347?946478036

 

You will get the doc here :

 

Vim
1
https://docs.newrelic.com/docs/php/php-agent-installation-redhat-and-centos

 

Tagged With centos wordpress optimization , centos wordpress optimization language:en , wordpress server optimization
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Advanced Optimization of Rackspace Cloud Server for WordPress

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How To Install Memcached on Ubuntu Server And Configure WordPress

    Here Are The Steps On How To Install Memcached on Ubuntu Server 16.04, 18.04 And Configure WordPress To Optimize Page Loading Speed.

  • Installing WordPress on Rackspace Cloud Server with Cloud Database

    Installing WordPress on Rackspace Cloud Server with Cloud Database can give you a good performance with scalable and economically best solution. Simple Guide.

  • How to Install WordPress : Ubuntu 16.04, Nginx, PHP7-FPM

    Here is Step by Step Guide on How to Install WordPress on Ubuntu 16.04, Nginx, PHP7-FPM, memcached & Percona MySQL 5.7 on Cloud Server or VPS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. Avatarhere says

    January 30, 2014 at 1:44 am

    Hi there to every single one, it’s really a pleasant for me to visit this site,
    it contains helpful Information.

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy