1. Reinstall the Kernel with yum

    After failing to update the initrd after making changes to the plymouth boot I was unable to boot into the kernel. The yum reinstall fixed this

    $ yum reinstall kernel
    

    However, this doesn't always work. If yum feels the kernel is already installed and healthy this will return 'nothing to do' …

    read more
  2. Have dovecot logins update lastlog

    Two changes are needed to have dovecot update lastlog when a user logins with either imap or pop3.

    In /etc/dovecot/cond.d/auth-system.conf.ext enable PAM sessions

    passdb {
      driver = pam
      args = session=yes dovecot
    

    Then, enable the lastlog module in the dovecot PAM configuration at /etc/pam.d …

    read more
  3. Change network device name after restore

    Summary: Restoring a server using an image based backup product can result in network inteface naming changing. Here is a short procedure to changes those names back.

    If the MAC address of a physical or virtual network interface changes then the device name will often change as well. This is …

    read more
  4. Interface teaming with nmcli

    Published: Mon 28 December 2015
    By Jon M

    In misc.

    Create the team interface

    This creates a new team interface named team0 and sets runner (bond mode) to lacp. In these examples the name of the interface is team0 - this is entirely for personal tastes. The connection name can be anything, using team simply makes things easier to follow.

    $ nmcli …
    read more
  5. RPM Notes

    Here is a collection of my notes on using RPM. Most of these are well documented in man pages and other sources around the web. I've collected the ones I've used most here as a reference for myself and others.

    Query package information

    Show package information

    $ rpm -qi yum-cron
        Name …
    read more

« Page 3 / 3

links

social