Friday, February 17, 2012

How to install Apache with perl modules on CENTOS

1/ Install Apache
yum install httpd

2/ Configure Apache on startup
chkconfig httpd on

3/ Allow port 80 and 443 in IPTABLES firewall
edit conf file /etc/sysconfig/iptables and add folowing lines before last reject line

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT

4/ Install PERL modules


rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

yum list *NCFTP*

yum install ncftp

perl -MCPAN -e shell
cpan> install XML::Simple

Wednesday, January 25, 2012

DELL racadm on CentOS 5.7

Here are 4 simple steps to get, setup and use DELL RACADM cli tool.
  1. Install and configure minimal installation of CENTOS 5.7 x86_64
  2. wget http://linux.dell.com/repo/hardware/OMSA_6.1/platform_independent/rh50_64/racadm/mgmtst-racadm-6.1.0-648.i386.rpm
  3. yum install compat-libstdc++-33
  4. rpm -i mgmtst-racadm-6.1.0-648.i386.rpm

and here we go ...

You can use racadm to query for example DELL M1000e CMC
racadm -r 10.10.1.54 -u root -p calvin getsysinfo

Bellow are links to some other posts about RACADM ...

RACADM Command Line Interface for DRAC ...
http://en.community.dell.com/techcenter/systems-management/w/wiki/racadm-command-line-interface-for-drac.aspx

How to setup racadm on Centos ...
http://linux.dell.com/repo/hardware/OMSA_6.1/#yum

Here is some blog about ...
http://yo61.com/install-dell-racadm-on-fedora-11.html

Here is the software repository for racadm install package
http://linux.dell.com/repo/hardware/OMSA_6.1/platform_independent/rh50_64/racadm/