Tag Archives: centos

Set Password or SSH Key for CentOS Cloud Images

Set Password or SSH Key for CentOS Cloud Images | CentOS provides cloud images for various cloud environments such as Openstack, RHV, Azure, or just KVM. It is possible to alter user passwords or SSH keys on these images without using cloud-init! This is nifty for use in Jenkins, Packer, local dev work or other use cases to just write changes to the image so it is ready to go. Check this out!

Red Hat 6 or CentOS 6: Yum Tips – Lock Package Versions and Only Apply Security Updates

Red Hat 6 or CentOS 6: Yum Tips – Lock Package Versions and Only Apply Security Updates | In Red Hat 6 or CentOS 6, it is possible to selectively pin or mask a particular package version to keep it from updating. It is also possible to list and apply pending security updates as opposed to security and bug fixes. This is ideal for environments that only want to push out security fixes

Logwatch How-To for CentOS or Red Hat

Logwatch How-To for CentOS or Red Hat | Logwatch is the classic log file email utility that emails a daily status of activity from Linux logs. On CentOS, the default install of logwatch does not have many fancy features enabled. I’ll show you how to configure logwatch! First, install logwatch: $ sudo yum install logwatch Next, navigate to the logwatch services directory which

CentOS 6 or Red Hat 6 | Install DHCP Server

CentOS 6 or Red Hat 6 | Install DHCP Server | On CentOS 6 or Red Hat 6, installing a DHCP server is not too difficult. I’ll show you how it works! First, install the DHCP server: $ sudo yum install dhcp The configuration file (blank) is located here: /etc/dhcp/dhcpd.conf To copy a sample configuration file over for the production file, use the following command: $