Posts

Showing posts from February, 2015

RHEL-RHCSA-clock_Timezone.md

localtime Upon a successful login into the VM system, changing the Timezone to which the system’s time is configured can be accomplished by changing the /etc/localtime link . NOTE Since the implementation of systemd in RHEL7, changing the system’s default timezone manually is not persistent; as the /etc/localtime link gets recreated by systemd after a reboot, the user must use timedatectl to make the desired change persistent To change the default timezone to the timezone of Chicago, for example, execute the following as the root user: # cd /etc/ # ls -alh localtime /etc/localtime -> ../usr/share/zoneinfo/America/NewYork # unlink /etc/localtime # ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime /etc/localtime -> ../usr/share/zoneinfo/America/Chicago In the above example, we have changed the timezone from the previous value, pointing to the timezone to which “ NewYork ” belongs, to the timezone of Chicago. The systemd Method fo

Configure rsyslog Server on Fedora

Image
It can be very beneficial for system administrators and network administrators, especially, to log system messages from other machines on the network to a centralized hub. Fedora 20 uses rsyslog as the default syslogd service; this allows administrators to configure remote logging. I'll be detailing the necessary configuration steps of rsyslog in Fedora 20 to allow logging messages from a DD-WRT router. This will entail Edit /etc/rsyslog.conf Set up firewall rule to allow incoming connection to server Configure DD-WRT router to send syslogd messages to our server rsyslog server Our server will be the Fedora 20 machine. There are two configuration files in the /etc/ directory that are of interest to us: /etc/rsyslog.conf /etc/sysconfig/rsyslog However, the latter file is not useful anymore as it states: # Options for rsyslogd # Syslogd options are deprecated since rsyslog v3. # If you want to use them, switch to compatibility mode 2 by "-c 2" # See rsy