Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 05:43:48 PM

Pages: [1]   Go Down
  Print  
Author Topic: Installing memcache  (Read 2081 times)
FFC
Trekkie
**
Offline Offline

Posts: 15


« on: January 26, 2009, 01:44:37 AM »

Hello

I am trying to install memcache to dedicated server and having some trouble.
Have any one else done such thing and can tell me specific instruction on how to
install memcache.

I searched step by step installation of memcache on the web, but I need more
dumb down version for installing/setup on Lunarpages dedicated server.

Thanks in advance!

FFC
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #1 on: January 26, 2009, 03:36:45 AM »

Hello FFC,

It would be helpful to know what OS and control panel are installed on your server before giving specific advises.
Logged

Kind Regards,
Vlad Artamonov
FFC
Trekkie
**
Offline Offline

Posts: 15


« Reply #2 on: January 26, 2009, 05:13:22 AM »

Thank you for replying! Here is my specs.

Apache version:   2.0.63
PHP version:   4.4.8
MySQL version:   5.0.67-community
Operating system:   Linux
Control Panel:   cPanel, WHM
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #3 on: January 27, 2009, 01:25:34 AM »


Thanks for providing the helpful info. Her are the short instructions:

1. If you don't need the latest version of memcached, you can use already precompiled rpm package for it. Run as root in the shell:

Quote

2. Its startup configuration may be adjusted via /etc/sysconfig/memcached file. To start memcached run:

Quote
/etc/init.d/memcached start

3. To install PHP Memcached extension:

Quote
mkdir /root/setup
cd /root/setup
wget http://pecl.php.net/get/memcache
tar -zxf ./memcache
cd memcache-*
phpize && ./configure --enable-memcache && make && make install

4. It should be activated in your php.ini as well via editing /usr/local/lib/php.ini and adding the line "extension=memcache.so" under the listing of other extensions.

Something like about should work. Unfortunately, I got those instructions from head as don't have a machine to test right now. Please advise, if you get any further questions.

Logged

Kind Regards,
Vlad Artamonov
FFC
Trekkie
**
Offline Offline

Posts: 15


« Reply #4 on: January 27, 2009, 07:24:13 AM »

Hi

I have tried your step but after I ran below code

Code:
# rpm -ivh http://dag.wieers.com/rpm/packages/memcached/memcached-1.2.2-1.el4.rf.i386.rpm

I received this

Code:
Retrieving http://dag.wieers.com/rpm/packages/memcached/memcached-1.2.2-1.el4.rf.i386.rpm
error: skipping http://dag.wieers.com/rpm/packages/memcached/memcached-1.2.2-1.el4.rf.i386.rpm - transfer failed - Unknown or unexpected error

maybe its better to ask the support team about installing memcached?

Thanks



Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #5 on: January 27, 2009, 11:43:45 PM »


Quote
maybe its better to ask the support team about installing memcached?

Yes, you can, if you feel you don't have a time to spend on this. One free script install per billing year is included in the Managed Hosting Intense addon. Otherwise, there will be $75/hour assistance fee.

If you still would like to work on this yourself, try to download that file and upload it to the server and then issue this command to install the package:

rpm -ivh /path/to/memcached-1.2.2-1.el4.rf.i386.rpm
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: