dt.iki.fi

16 posts are tagged "server"

Getting email off my web server with msmtp (and PHP)

My server is not a mail server, and I never learned to make use of UNIX' internal mailing system. But sometimes I want to get a message from my server, e.g. diagnostic stuff from services (SMART daemon, fail2ban), or if someone tries to contact me on my website, and I want it sent to my email addres.....

Time not synced

I noticed that my server's (Debian stable) datetime was way off. Years. Strange, because I was sure I had enabled systemd-timesyncd (but apparently never gave it a second thought after that). Looking at systemctl status systemd-timesyncd I found this cryptic message: ● systemd-timesyncd.service - Ne.....

Improve maintenance and performance of your CMS

Situation I am using PicoCMS1. It's not installed through the global package management: all its files, content & executables (except PHP itself) are located under a single directory. This is not ideal, but common practice; and it has the advantage that it makes maintenance easier. This article .....

Setup NFS Share on Debian

I did practically everything described here. However, for automating the whole process with fstab on both client & server, this provided important extra information, esp. about bind-mounting existing filesystems into a dedicated NFS folder, and also about /etc/fstab entries. That's it really; it.....

Pico CMS TagBlog Theme

Symlink to README.md of the repository of the tagblog theme (as seen in this blog), with screenshots and instructions. Warning: can be ahead of the official repo.

Updating PicoCMS with Composer

How it works composer is installed locally on the server (Debian oldstable) via apt. All I had to do is navigate to the folder including the PicoCMS installation execute composer update $ composer update Loading composer repositories with package information Updating dependencies (including requ.....

Sending email off my (non‑mail) server with sSMTP (and PHP)

Deprecated in favour of msmtp. This article is originally from 2016, but I edited it a few times. It seems I have to fix my sSMTP setup every now and then... Be aware that some settings depend not only on your system but also on your email provider. My server is not a mail server, and I never le.....