linux comand to show memory slots To find out many hardware information on linux you can use the awesome lshw but when not available also dmidecode. To find out how many memory for examples: -How many slots: # dmidecode -t […]
reset redhat 5 password
reset redhat 5 password +boot When you lost your root password in a RedHat Linux Based systems you should first have access to the console, (the machine itself). Power on, or reboot as needed. and as soon as you get […]
Slow ssh login
Slow ssh login SSH session slow to start? It’s the DNS fault! Just add “UseDNS no” to /etc/ssh/sshd_config service sshd restart
install yum centos 5
There is a simple way to install yum, even if you do not have the CD/DVD. CENTOS 5 64 bits. Just run rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/gmp-4.1.4-10.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/readline-5.1-3.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-2.4.3-43.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm […]
SSH Automatic Login
SSH Automatic Login Well I am tired of entering my password 100 times a day, are you too? The solution I wrote this script using the powerful expect download expect I actually use a more complex script since our root […]
Install Nagios on CentOS
Nagios 3 Quick Install on CentOS This is short/fast HowTo Install Nagios 3 on CentOS/RedHat 5 64bits ::INSTALL NAGIOS:: rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum update vim /etc/selinux/config SELINUX=disabled reboot yum -v -y install libstdc++-devel gcc-c++ httpd gd gd-devel kernel-devel openssl-devel perl-DBD-MySQL […]
How to setup Cluster on Glassfish v3
How to setup Cluster on Glassfish v3 This how to imposes that you already have glassfish v3 setup and: – running under the user “fish” – have ssh key trust between both servers (howto setup that) To setup glassfish it […]
