Howto use yum CentOS DVD To install packages directly from the DVD one must do: # vi /etc/yum.repos.d/CentOS-Media.repo enabled=1 # mkdir /media/cdrom # mount /dev/cdrom /media/cdrom # yum –disablerepo=* –enablerepo=c5-media install pacakge-name
How to monitor OpenManage Server Administrator via nagios
Copy the Dell Open Manager to the Linux box using WinSCP # wget http://www.xoroz.com/files/OM_6.1.0_ManNode_A00.tar.gz # yum install libxml2 # tar -zxvf OM_6.1.0_ManNode_A00.tar Options NOTE: With ver 6.1 the “b” option changed to the “d” option x = express – Install […]
install nagios on centos 5.5
Howto install Nagios Centreon on CentOS 5.5 64bits updated/fast version Install Nagios on CentOS +————–————–——+ | INSTALL OS | +————–————–——+ 1.Install CentOS Select only Server option, witch has already lots of packets also too many Updates system # yum -y […]
How to setup timezone on glassfish
How to setup timezone on glassfish/jvm Download http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/tzupdater-1_3_33-2010l.zip?BundledLineItemUUID=IXeJ_hCvlacAAAErQScpGPRn&OrderID=97KJ_hCvNGcAAAErNCcpGPRn&ProductID=T56J_hCwuZIAAAEre0AZ1adz&FileName=/tzupdater-1_3_33-2010l.zip Application Server > JVM Settings > JVM Options Add JVM Option -Duser.timezone=Brazil/East Configuration –> System settings user.timezone = Brazil/East Restart glassfish # service glassfish stop # java -jar tzupdater.jar -u -v # […]
Compare float in bash
Compare float in bash If you have a regular if and one of the integers has a float value like 1.200 you will get an error message. The best way to do is using the bc command. Like: $ echo […]
Move wordpress directory
How to change the working directory of WordPress The good news is that you don`t have to reinstall WordPress. If the database and URL remains the same, you will have to copy only the files and the database. If you […]
Howto Setup Varnish
Updated Version of this howto Varnish is a awesome Reverse Proxy, for caching websites and improves its performance in a polish varnish way. To setup follow the instructions (tested on CentOS yum update yum install ncurses-devel make clean mkdir /usr/local/src/varnish-2.0.5 […]