Use ifconfig (similar to Linux), but if it’s not in your user’s path:
/usr/sbin/ifconfig -a

Articles, notes and random thoughts on Software Development and Technology
Use ifconfig (similar to Linux), but if it’s not in your user’s path:
/usr/sbin/ifconfig -a
After purchasing SSL certs for many years for my personal project websites, I recently switched to creating free Let’s Encrypt certs using CertBot instead.
To install with python and pip on Debian based Linux, for nginx (from here):
Install deps and install:
sudo apt install python3 python3-dev python3-venv libaugeas-dev gcc sudo python3 -m venv /opt/certbot/ sudo /opt/certbot/bin/pip install --upgrade pip sudo /opt/certbot/bin/pip install certbot certbot-nginx sudo ln -s /opt/certbot/bin/certbot /usr/local/bin/certbot
To generate certificate and renew manually (same command):
sudo certbot certonly -v --reinstall --webroot --webroot-path=/var/www/html/ --email your@email --agree-tos --no-eff-email -d your.domain.name
To view current status of your certificates:
certbot certificates
To redeploy a service after an image has been updated:
kubectl rollout restart deployment [deployment-name]
#10 2.041 Warning: More space needed than available: 490 kB > 0 B, installation may fail
#10 2.041 Error: You don't have enough free space in /var/cache/apt/archives/.
Checking /var/lib/docker, it is indeed low on space:
$ sudo du -sh /var/lib/docker
2.0M /var/lib/docker
Cleaned up some free space with:
docker system prune --all --force
Reclaimed an additional 5GB, all good.