Another SysAdmin morning

  • I grabbed a spare IP from my pool, and ifconfig‘d it onto the box.
  • I checked the site’s DNS TTL (6 minutes, cool), and updated the A record to the new IP address. With DNSSEC signing, natch. (Even though she doesn’t have DS records, I like to live in a world where everyone ultimately will).
  • I went in and copied my systems httpd-webmail.conf over to another IP, and changed the user and group definitions in it. (I didn’t need to update the PID file, because FreeBSD’s startup scripts handle that by themselves.)
  • I copied her <vhost> stanza from the main vhost.conf over to this new file — no need to delete it from the old one.
  • I added one line in FreeBSD’s standard /etc/rc.conf configuration file, defining a new configuration file: apache24_hersite_configfile="/usr/local/etc/apache24/httpd-hersite.conf"
  • And then just ran service apache24 start hersite.
  • Unlike Debian, there was no mucking around with sites_enabled or silly wrappers like a2ensite.

--

--

--

Gushi/Dan Mahoney is a sysadmin/network operator in Northern Washington, working for a global non-profit, as well as individually.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Download Google Chrome and How to Updated.

Object Oriented Programming and Making Circles Smaller

Mocking Golang with interfaces

Part 4: Create a Hyperledger Fabric composer project

STONE display screen +STM32 MCU + relay module to control smart home appliances

RAID: Essential in 5 minutes

Django: Setting Up First App + Intro to Models and Commands

Neon EVM AMA 总结

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gushi

Gushi

Gushi/Dan Mahoney is a sysadmin/network operator in Northern Washington, working for a global non-profit, as well as individually.

More from Medium

Cookies and Sessions: A Gentle Introduction With PHP

What Is Dependency Injection in PHP and How You Can Use It to Write Better Code

Person coding with headphones on

PHP — What is OOP?

How did we reduce Memcached memory usage in PHP at Wingie — Enuygun