September 8, 2011

RedHat/CentOS 6 Xen Kernel RPMs

I have created a working Red Hat/CentOS 6 Xen Dom0 Kernel including backport patches. I had to hack to the blktap driver hooks to finalize support of the module due to the interface changes in the recent vanilla kernel. But all is working. [[email protected] ~]# uname -rsm Linux 2.6.32-131.12.1.el6.alouche.xen.dom0.x86_64 x86_64 [[email protected] ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 4 r----- 235.5 For download of the RPMs or mirror use, see http://mirror. ... Read more

April 1, 2011

kojid dead but subsys locked

I have been toying with Koji ( A build server by Fedora) and encountered an issue while starting the kojid daemon on one of the builder host. [[email protected] ~]# /etc/init.d/kojid status kojid dead but subsys locked while the log kept showing [INFO] koji.build: Starting up Time for some debugging, I issue [[email protected] ~]# /usr/sbin/kojid --verbose --fg and see koji.AuthError: Traceback (most recent call last):` koji.AuthError: Traceback (most recent call last): File "/usr/share/koji-hub/kojixmlrpc. ... Read more

June 17, 2009

How to install Acrobat Reader on Centos

go to acrobat.com/reader download the bin linux install file chmod +x AdbeRdr9.1.1-1_i486linux_enu.bin ./AdbeRdr9.1.1-1_i486linux_enu.bin Extracting files, please wait. (This may take a while depending on the configuration of your machine) This installation requires 144 MB of free disk space. Enter installation directory for Adobe Reader 9.1.1 [/opt] (press enter) The installation will therefore go on Installing platform independent files … Done Installing platform dependent files … Done Setting up libraries … Done Setting up desktop and menu icons … Done Setting up the browser plugin … Done ... Read more

May 18, 2009

How to get your atheros wifi drive to work under Centos/Linux and get that WPA working

Many times I have come across this thread on forums… many wondering how to get their wifi card (Atheros) to work under Linux (Centos) and then how to proceed to get WPA working… now here is the bundle you have been looking for. 1) Do you have an atheros card? lspci |grep Atheros (should give you enough info) 2) Get the madiwifi tarball Go there http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/ and download the latest tarball. ... Read more

May 16, 2009

How to install flash plugin for firefox on centos/redhat

Hello, There are many ways to get flash working on firefox, but here is a quick, easy, clean way to do it. 1) Go to http://www.adobe.com/go/getflashplayer 2) Download the tar.gz tarball 3) tar -zxf Flash_Player_10_forLinux.tar.gz 4) cd Flash_Player_10_for_Linux 5) Run the installer, when asked for the location of firefox, enter /usr/lib/mozilla… If for some reasons you still experience problems… then manually copy the libflashplayer.so file which should be at the root of your untarred flash tarball to /usr/lib/mozilla/plugins/ ... Read more

April 19, 2009

Set the time / timezone on centos/Redhat

Alright… I know this is a trival matter, but you would be surprised how often I read, hear, got asked this question so here it is … 1) get ntp yum install ntp 2) start ntp at boot chkconfig ntp on 3) sync to the ntp server ntpdate ntp.pool.org 4) start ntp service ntpd start 5) set your timezone ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime 6) verify it is all correct date ... Read more

February 20, 2009

Squid with Ldap authentication - Centos

Here is a small easy way to set a simple web proxy to authenticate against an ldap server. Squid Install - (using the rpmforge repository) do a ‘yum install squid’ Locate squid_ldap_auth - locate squid_ldap_auth ==> /usr/lib64/squid/squid_ldap_auth Test connection against your ldap server - /usr/lib64/squid/squid_ldap_auth -b “dc=alouche,dc=net” -f “uid=%s” -h auth.alouche.net myUser myPassword OK The OK prompt back shows us that we can easily connect to the ldap server ... Read more

January 30, 2009

OpenVZ/Virtuozzo YUM ?

yum
I was cleaning up my hard disk and came across a tar file I put together a while back when dealing with Virtuozzo containers needing Yum. http://alouche.net/centos/yum-centos4-64.tar The rpm files are for Centos 4.X 64 bits… anyone looking up for Centos 5.X, the libraries should be the same, so fetching the same rpm names (#arch #version) should be a piece of cake. untar rpm -ivh * and voila! ... Read more

January 21, 2009

Centos 5.3 to be released soon

As we all know RedHat 5.3 has been released yesterday (20th Jan 08)… While the mainstream packages are being tossed together for the centos release, you may want to get further twitter updates through http://twitter.com/CentOS Wondering what’s to be new in this new release, hitch down to the redhat official changelogs Red Hat Enterprise Linux 5.3 GA Announcement: https://www.redhat.com/archives/rhelv5-list/2009-January/msg00092.html Kernel (2.6.18-128.el5) changelog: http://rhn.redhat.com/errata/RHSA-2009-0225.html Release notes: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Release_Notes/index.html Press release: http://www.redhat.com/about/news/prarchive/2009/rhel_5_3.html Package manifest (LOTS of errors in this doc): http://www. ... Read more

October 5, 2008

Yum segfaulting

Ever had yum segfaulting… If this is the case, what to do? yum clean metadata yum clean dbcache yum makecache try again :-) cheers,