• 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

This Article Has Been Shared 248 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

  • Installing Piwik on Rackspace Cloud Sites

    Installing Piwik on Rackspace Cloud Sites is very easy and needs few steps. Piwik is an Open Source Server Installable Real Time Web Analytics Software.

  • Tools for Cloud Computing

    Tools for Cloud Computing are part of the effective usage the cloud solutions. We are presenting some tools for cloud, which take care of backup, security etc.

  • Google App Engine and PHP : Beginners Guide

    Google App Engine now supports PHP. There is separate Plugin for WordPress. Support for phpMyAdmin and all PHP-MySQL web softwares and frameworks is available.

  • Self Hosted WordPress on Cloud Server for Dummies

    Self Hosted WordPress is itself a scary phrase to a non-tech person and add Cloud Server on it. Here is Very Easy Guide to under Self Hosted WordPress.

  • Cloud Computing : Needed Mental Preparation For Entrepreneurs and SMEs

    Cloud Computing Does Demands Adequate Mental Preparation For Entrepreneurs and SMEs Who Previously Had No Idea About the Power Grid Computing. How to Proceed?

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • Basics of Data Protection on the Internet March 2, 2021
  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Advanced Optimization of Rackspace Cloud Server for WordPress," in The Customize Windows, October 15, 2013, March 2, 2021, https://thecustomizewindows.com/2013/10/advanced-optimization-of-rackspace-cloud-server-for-wordpress/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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