Linux: How do I change the timezone on Centos 7 to UTC? Answer: CentOS 7 now includes a tool to change the timezone, to view your current timezone run the following command.
timedatectl
This should display the current timezone configuraton. ...
Linux: How do I setup SNMPd on CentOS 7? Answer: 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 the line starting with "com2sec" ...
Linux: How do I alter the kernel cmdline and rebuild grub2 on CentOS 7? Answer:
The kernel command line (cmdline) can be edited in "/etc/default/grub" (GRUB_CMDLINE_LINUX).
Once edited you will need to rebuild the config for grub2 using the following command
grub2-mkconfig --output=/boot/grub2/grub.cfg
You ...
Command Line: How do I setup VNC for a user on Centos 7? Answer: To setup your server to run a full desktop VNC session first we need to install the required packages.
yum groupinstall "GNOME Desktop";yum install tigervnc-server xorg-x11-fonts-Type1
Once ...
Command Line: How do I rename a KVM VM? Answer: This example works on CentOS 7, but will likely work on other distributions too.
Save a copy of the Virtual Machines configuration (replacing VMNAME with the ...
Command Line: How do I convert a .asf file to .wav? Answer: Using mplayer it is simple to convert an ASF file to MP3.
Ensure you have mplayer installed (On CentOS this would be "yum install mplayer").
mplayer infile.asf ...