1. Modify iptables rules

    Show all iptables rules and include line numbers

    iptables -L INPUT --line-numbers
    

    Replace iptables rule at a specific line number

    iptables -R X INPUT <new rule here>
    
    read more
  2. Grow LVM physical volume

    The pvresize command can be used to grow an existing physical volume so long as you grow the parition on the underlying device.

    1. Use fdisk -l /dev/sdc1 to find the start sector of the partition.
    2. Delete existing partition and create a new partition with the same start sector.
    3. Use …
    read more
  3. Using ssmtp with FastMail

    #  a config file for sSMTP sendmail.
    
    # The user that gets all mail for userids less than 1000. If blank, address
    # rewriting is disabled.
    Root=roots-mail@example.com
    
    # the smarthost or relay or ...
    Mailhub=smtp.fastmail.com:465
    
    # TLS Config
    UseTLS=YES
    UseSTARTTLS=NO
    
    RewriteDomain=example.com
    
    # The full hostname
    Hostname …
    read more
  4. Signing GnuPG keys with caff

    Published: Wed 16 November 2016
    By Jon M

    In misc.

    These are my notes on getting caff configured and working in order to send signed keys after the OhioLinuxFest keysigning. All of this was done on a Fedora 24 Workstation using only the standard repositories.

    Installation

    The pgp-tools package provides caff. It can be easily installed with yum. I also …

    read more
  5. Configuring ipmi using ipmitool

    Packages and Services

    On RHEL7Server the OpenIPMI and ipmitool are necessary to configure and use IPMI.

    $ yum install OpenIMPI ipmitool
    

    Networking

    Configure a static ip address on the first port. For dynamic configuration set ipsrc to dynamic.

    $ sudo ipmitool lan set 1 ipsrc static
    $ sudo ipmitool lan set 1 ipaddr …
    read more

« Page 2 / 3 »

links

social