Use Puppet to manage yum version lock


I periodically update the my lab servers by running yum update all. But for some packages that I want them to stay at  specific versions. For example, I don't want the httpd and bind get updated when I run yum update. According to the results of 'yum update httpd bind', I can see there are … Continue reading Use Puppet to manage yum version lock

CentOS Project joins forces with Red Hat


The announcement from the CentOS team:With great excitement I'd like to announce that we are joining the Red Hat family. The CentOS Project ( http://www.centos.org ) is joining forces with Red Hat. Working as part of the Open Source and Standards team ( http://community.redhat.com/ ) to foster rapid innovation beyond the platform into the next … Continue reading CentOS Project joins forces with Red Hat

Install WordPress on CentOS 6.3


Steps of installing WordPress on CentOS 6.3 minimal installation. 1) Install prerequisite packages. [root@CentOS ~]# yum -y install php php-mysql mysql* wget unzip 2) Download the latest version of WordPress. [root@CentOS ~]# wget http://wordpress.org/latest.zip [root@CentOS ~]# unzip latest.zip [root@CentOS ~]# mv wordpress/ /var/www/html/ 3) Configure mysql database server. [root@CentOS ~]# service mysqld start [root@CentOS ~]# … Continue reading Install WordPress on CentOS 6.3

ESXi 5.0 PXE Install


ESXi PXE install has no differences from other PXE installs, you need DHCP server, tftp server and the installation ISO. In my example, I build the DHCP server and tftp server on CentOS 6.3 minimal installation. 1) Install and configure the DHCP Server yum –y install dhcp cd /etc/dhcp/ cp –a dhcpd.conf dhcpd.conf.bak Modify dhcpd.conf … Continue reading ESXi 5.0 PXE Install

Install syslog-ng on CentOS 6.3


syslog-ng is an open source syslog server that can be installed on many *nix servers. In my example, I installed it on a 64bit CentOS 6.3 server with minimal package. 1) Download and extract the source code. wget http://www.balabit.com/downloads/files?path=/syslog-ng/open-source-edition/3.4.0alpha3/source/eventlog_0.2.12.tar.gz wget http://www.balabit.com/downloads/files?path=/syslog-ng/open-source-edition/3.4.0alpha3/source/syslog-ng_3.4.0alpha3.tar.gz tar xvzf eventlog-0.2.12.tar.gz tar xvzf syslog-ng-3.4.0alpha3.tar.gz 2) Install dependencies. yum -y install kernel-headers* glibc-headers-* … Continue reading Install syslog-ng on CentOS 6.3