Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Thursday, 5 April 2018

Keeping up with Hashicorp's Vault

To retrieve secrets, employees replace plaintext secrets with a call to Secrets Manager APIs, eliminating the need to hard-code secrets in source code or update configuration files and redeploy code when secrets are rotated.




Wednesday, 22 July 2015

htop: save configuration

To exit htop and save config in file:

  F10

To find the config file just after you exit:

  find -name '*htoprc*' -mmin -10

Tuesday, 2 October 2012

No http on port 2812 for monit


FAIL!

set httpd port 2812 and use the address localhost
  allow localhost

  1. Problem
    1. monit doesn't listen on port 2812
      1. even though it is clearly in the config file 
  2. Possible issues
    1. Is there a "delay" set in your config?
      1. monit won't listen until this delay has passed
  3. Solution
    1. Wait, usually a minute by default, and check the port again
    2. Get rid of the delay in the config and restart monit

Monday, 3 September 2012

Cleaning up configuration files of removed Debian packages

If you want to rid yourself of those annoying packages showing up with a "rc" in the first field of "dpkg -l", do this as root, with prejudice:
dpkg -l | egrep '^rc ' | awk '{print $2}' | xargs dpkg -P
Let the good times roll!

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...