Posts Tagged ‘CentOS’

Install Java 1.6 JRE and JDK On CentOS5

Very busy right now, so here’s a quick and dirty writeup for install Java 1.6 on centos5. To install the JDK yum install -y jpackage-utils wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u14-linux-x64-rpm.bin?BundledLineItemUUID=KxWJ_hCuwSUAAAEvTWRZB8TT&OrderID=WeuJ_hCuedUAAAEvLGRZB8TT&ProductID=tPxIBe.oz2IAAAEhmh0zLjfT&FileName=/jdk-6u14-linux-x64-rpm.bin chmod +x jdk-6u14-linux-i586-rpm.bin ./jdk-6u14-linux-i586-rpm.bin

Roll back RPM packages – CentOS/RedHat

Wouldn’t it be useful to be able to easily undo a yum/RPM change that you have just made? Well you can. By default yum/RPM do not save roll back information. This feature can easily be enabled by doing the following, however its not perfect and can use a lot of disk space as its repackaging […]

Configuring TFTP on Centos to backup Cisco ASA / IOS

Setting up TFTP on CentOS is actually very trivial (excuse the pun)! I find it useful for backing up config from network devices such as my Cisco ASA. Install tftp: yum install tftp-server chkconfig tftp on service xinetd restart

NTP Configuration on RedHat

Make sure its installed and enabled: yum install ntp chkconfig ntpd on /etc/init.d/ntpd start Config can be done in /etc/ntp.conf such adding local time servers: server mytimeserver.com You can instantly update the time from the timeserver by running: ntpdate pool.ntp.org or ntpd -qg If you get an error like: 5 Mar 14:09:24 ntpdate[19228]: the NTP […]