Portal Home > Knowledgebase > Articles Database > Yum on lowend vps


Yum on lowend vps




Posted by AppKoders, 09-09-2010, 01:11 AM
I cannot use yum on my vps with 128MB ram. it outputs And then just exits. is there anything I could do to make yum work?

Posted by JesseZ, 09-09-2010, 01:15 AM
try disabling fastestmirror for yum /etc/yum/pluginconf.d/fastestmirror.conf

Posted by AppKoders, 09-09-2010, 01:24 AM
I already did that. and its still the same. yum still exits

Posted by akasharya, 09-09-2010, 02:25 AM
If you are trying to install packages then do it with rpms yum may not work.

Posted by AppKoders, 09-09-2010, 02:28 AM
Thanks, Anyway I already asked for a temporary ram allocation until I am finished installing the packages I needed yum is easier than searching for rpms

Posted by Hillockhosting, 09-09-2010, 08:37 AM
You can stop some services like mysql and httpd and run yum in case of emergency.

Posted by AppKoders, 09-09-2010, 09:03 PM
I already stop all services there are I think only 3 or 4 processses left but still yum doesnt work.

Posted by REMX, 09-09-2010, 09:25 PM
When your ram gets lowered again, check yum update doesn't run on start up or by cron, You never know lol

Posted by Steven, 09-10-2010, 12:29 AM
using yum --noplugins will work.

Posted by Andrew Moore, 09-10-2010, 12:41 AM
Read this: https://forum.ramhost.us/bbs/viewtopic.php?id=9

Posted by ramnet, 09-10-2010, 03:45 AM
With a VPS that small you'd be far better off using an apt/dpkg based OS like Debian. CentOS is not efficient by default and will cause you many problems in such a limited environment unless you optimize the heck out of it. If you insist on using CentOS/YUM, then installing what you need one package at a time uses less memory than installing several at once - eg: "yum install httpd; yum install php5; yum install mysql" as opposed to "yum install httpd php5 mysql" and so on.

Posted by Erawan Arif Nugroho, 10-09-2010, 09:13 AM
Try to kill the PID of the running YUM. And clean the repository using the following command : # yum clean all After it, try to run yum again



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
SSL problem (Views: 724)


Language: