CentOS snmpd Logging

After setting up snmpd you may get a lot of messages in /var/log/messages: Sep 24 04:04:04 hostname snmpd[3016]: Received SNMP packet(s) from UDP: [dot.quad.ip.address]:57229 Sep 24 04:04:04 hostname snmpd[3016]: Received SNMP packet(s) from UDP: [dot.quad.ip.address]:37295 Sep 24 04:04:04 hostname snmpd[3016]: Received SNMP packet(s) from UDP: [dot.quad.ip.address]:56589 Sep 24 04:04:04 hostname snmpd[3016]: Received SNMP packet(s) from… Read More »

CentOS Repositories

[root@oxygen ~]# cd /etc/yum.repos.d/ [root@oxygen yum.repos.d]# ls CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo epel-testing.repo CentOS-CR.repo CentOS-fasttrack.repo CentOS-Sources.repo epel.repo

Is rpm still useful?

Where does that file come from? # rpm -qf /etc/yum.repos.d/epel.repo epel-release-7-11.noarch When was it installed? # rpm -qif /etc/yum.repos.d/epel.repo | grep Install Install Date: Sun 10 Jun 2018 03:26:11 BST What does it need? # rpm -q –requires -f /etc/yum.repos.d/epel.repo config(epel-release) = 7-11 redhat-release >= 7 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1… Read More »

Converting Virtual Machine Images

Converting from QCOW2 to RAW qemu-img convert -p windows7.qcow2 -O raw windows7.raw qemu-img convert -p windows7.qcow2 -O raw /dev/mapper/3600144f00000000000005367385c0004 Converting from RAW to iSCSI device ddrescue -v -d -f windows7.raw /dev/mapper/3600144f00000000000005367385c0004 windows7.log Converting from VMware Running kvm with vmdk disks Apparently it is possible to run vmdk disk images directly in KVM. So far I… Read More »

Extract initramfs on RHEL/CentOS 7

The initramfs is a compress cpio archive. Use the dracut skipcpio tool to extract the compress cpio file then gunzip that and finally extract the archive using cpio. Luckily we can chain these commands together. # mkdir /tmp/initramfs # cd /tmp/initramfs # /usr/lib/dracut/skipcpio /boot/initramfs-3.10.0-327.18.2.el7.x86_64.img | gunzip -c | cpio -dcim # ls -l total 12… Read More »

Domain Registration

We are now a Domain Registra. We can now provide end-to-end web site support. Hosting DNS Domain Registration