Software / Linux / Command Line How do I see the progress of a dd?
To view the current position of a dd you need to send signal SIGUSR1
You can either find the pid of ...
Internet / Email How do I see queued messages in qmail?
To view a count of the messages in qmail
/var/qmail/bin/qmail-qstat
To view more details on the messages in the queue
/var/qmail/bin/qmail-qread
To view the ...
Software / Linux / Command Line How do I disable NetworkManager?
If you want to configure your network devices manually via /etc/network/interfaces you can remove the service. Firtstly configure your network ...
Software / Linux / Command Line How do I setup VNC for a user on Centos 7?
To setup your server to run a full desktop VNC session first we need to install the required packages.
yum groupinstall ...
Software / Linux / Virtualisation How do I make a KVM Virtual Server start on reboot?
Run the following command replacing SERVER_NAME with the name of the VM.
virsh autostart SERVER_NAME
You should then be notified the Domain ...
Software / Linux How do I setup SNMPd on CentOS 7?
To setup SNMP daemon firstly install the required packages.
yum install net-snmp net-snmp-devel net-snmp-libs net-snmp-utils
Then edit the main configuration file
vi /etc/snmp/snmpd.conf
Find ...
Software / Linux / Command Line How do I rename a KVM VM?
This example works on Debian 13, but will likely work on other distributions too (CentOS 7).
Save a copy of the ...
Software / Linux / Command Line How do I copy the partition table from disk to disk?
When using GPT you can use sgdisk to copy the partition table.
FROM="/dev/sdX"
TO="/dev/sdY"
sgdisk $FROM -R $TO
sgdisk -G $TO
This will copy the ...