HostOnNet Blog

Category Archives: Linux

Auto update CentOS server with yum

It is better to use yum-updatesd to do the updates, check the HOW-TO at http://webhostingneeds.com/Get_email_notification_when_updates_available_yum in /etc/yum/yum-updatesd.conf Set do_update = yes


fipscheck conflicts with fipscheck-lib-1.2.0-1.el5.x86_64

When i run yum update i get error [root@server12 ~]# yum update ….. ….. some text removed ….. ERROR with rpm_check_debug vs depsolve: fipscheck conflicts with fipscheck-lib-1.2.0-1.el5.x86_64 Complete! (1, [‘Please report this error in bugzilla’]) [root@server12 ~]# This is caused


Installing Java on CentOs

Java is available in CentOS 5. root@server70 [~]# yum list|grep openjdk java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.2.b09.el5 installed java-1.6.0-openjdk-demo.x86_64 1:1.6.0.0-1.2.b09.el5 updates java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.2.b09.el5 updates java-1.6.0-openjdk-javadoc.x86_64 1:1.6.0.0-1.2.b09.el5 updates java-1.6.0-openjdk-src.x86_64 1:1.6.0.0-1.2.b09.el5 updates root@server70 [~]# To install java, run yum install java-1.6.0-openjdk Java will be installed on


Go with Mac (or Linux) if you don’t want virus

Advertisement by Apple Mac. The Get A Mac Ad: ‘Top Of The Line’


Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)

When i run “yum update” i get error [root@server28 ~]# yum upgrade ….. ….. samba-3.0.33-3.7.el5.i386 from base has depsolving problems –> Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base) Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)


Creating zip archive in linux

Today i want to move a site from linux server to windows. Moving with FTP takes long. Normal tar.gz transfer will not work as windows by default do not support extraction of tar.gz file. To create a ZIP file on


Debian: How to find a package is installed from .deb or source

When installing ffmpeg-php in a debian server, i got error # phpize -bash: phpize: command not found # This is because php-devel package is not installed on the server. Before installing, you need to find out whether php is installed


error: zlib not found on system or in local libs

On installing gpac i got following error on Debian 4 latinvideo1:/usr/local/src/gpac# sh ./configure error: zlib not found on system or in local libs latinvideo1:/usr/local/src/gpac# This is fixed by installing zlib. apt-cache search zlib apt-get install zlib-bin zlib1g zlib1g-dev zlibc


Error: Missing Dependency: perl(Crypt::PasswdMD5) is needed by package syslinux

When i run yum update I got following error root@server70 [~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: fr2.rpmfind.net * base: mirrors.service.softlayer.com * updates: mirrors.service.softlayer.com * addons: mirrors.service.softlayer.com * extras: mirrors.service.softlayer.com rpmforge | 1.1


Installing Monit On Linux CentOS Server

monit is an open source software that monitor services on your server. It can restart if any of the service go down. Download latest version of file from http://mmonit.com/monit/download/ cd /usr/local/src wget http://mmonit.com/monit/dist/monit-5.0.3.tar.gz tar -zxvf monit-5.0.3.tar.gz cd monit-5.0.3 ./configure make