How we configure memcached on fedora with machine restart

First install the memcached on server- linux box
# yum install php-pdo php-mcrypt squirrelmail php-pecl-apc php-xml php-gd php-devel php php-imap php-pgsql php-pear php-soap php-mbstring php-ldap php-mysql php-cli php-pecl-memcache

Using this file you can change the cache and memory size.
[root@purabk-pc purab]# vim /etc/rc.d/init.d/memcached

Aslo change the following file also. Do same setting in this file
# /etc/sysconfig/memcached

[root@purabk-pc purab]# /etc/init.d/memcached restart
Stopping memcached: [ OK ]
Starting memcached: [ OK ]

Following command will set command as wheneven machine reboots, memcached server will restart.

[root@purabk-pc purab]# /sbin/chkconfig memcached on

This entry was posted in PHP and tagged , by Purab Kharat. Bookmark the permalink.

About Purab Kharat

I am WordPress and Drupal Architect. I worked on many technologies like Ruby on Rails, Flex, PHP etc... I am Purab Kharat from India, Pune. I love to play chess and listen music and read books. I work in SY Smartsourcing Global Pvt Ltd in Princeton, NJ, USA. Now I am living at Plainsboro, 164 Hampshire Drive, Princeton Meadows, NJ. I have more then Ten years experience in Web Application Development (Specially in Php 5.0, Ruby on Rails, Mysql 5.0, RIA, Wordpress, Drupal, Joomla, Ecommerce)

One thought on “How we configure memcached on fedora with machine restart

  1. Linux Pune has designed special program for both fresher nad Working professional to gain Open Source Linux Based Technology Knowledge (Redhat/SuSE/Ubuntu/Open Solaris) , We have Working industry expert team who have designed the specific course keeping Implementation and Migratiion technique tips in mind. We are staring our Learnning Journey Next Weekend with Launch of Batches , Join , Feel and then Join us , for more info call US..

    LinuxPune is very happy to be associated with your blog and looking forward for your support in future

    LinuxPune – Inspired by Open Source Technology
    Infrastructure | Outsourcing | Migration Project | Training | Placement

    301,Kamala Arcade,Jangali Maharaj Road, Shivaji Nagar, Pune, Maharashtra
    Opp BalGandharva Rang Mandir+91 808 71 71 71 0 / Ekta -020 41007600 ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s