Tag: self-hosted

  • How to Get Rid of Cloud-Init Datasource DataSourceNone Error on Ubuntu Server

    On my new installation of Ubuntu Server 22.04 LTS on ProxMox 7.2, I was receiving an error message about ‘cloud-init’ and ‘DataSourceNone’ whenever I logged into the Ubuntu Server. If you don’t need cloud functionality, you can get rid of the error by disabling the cloud-init process: Note: If you’re having trouble logging into shell…

  • How to Setup Google OAuth for Portainer Remote Access

    Portainer Business Edition allows you to easily setup authentication using Google OAuth for user logins. This means you can use a Google account to log into your Portainer web interface. If you can’t get a license for the Business Edition, you can still setup Google OAuth with Portainer Community Edition, but it does require a…

  • How to Read Mail in Linux Command Line Terminal – “You have mail”

    When I first logged into the command line of my Linux container (LXC) for Pi-hole, there was a message in the terminal that said I had mail. That seemed strange to me because I had just created the LXC and had not setup anything for emails. After some digging, I learned that “You have mail”…

  • How to Use Gmail with Custom Domain Name and Cloudflare

    Introduction You can use a basic Gmail account (i.e., not a Google Workspace account) to send email with a custom domain by using Gmail’s “Send mail as” functionality and Cloudflare’s email routing service. This guide will show you how to use Gmail to send emails with your custom domain and Cloudflare’s email routing service, without requiring a…

  • How to Check UFW Firewall Log

    A firewall is critical to the security of your linux system. This is a tutorial to enable UFW (Uncomplicated Firewall) logging and read the logs. For UFW logging to work, rsyslog must be enabled. Check to see if it is running: If rsyslog is not running, enable the service for it: Then, check if UFW logging is…

  • How to Restrict SSH Access by IP Address

    Allowing SSH access to the outside world is a security risk, so it’s a good idea to restrict access to certain IP addresses or subnets within your LAN. Here is how to restrict SSH access to certain IP addresses. Open the file/etc/hosts.allow as follows: Assuming you want to restrict access to systems in the 192.168.2.0 subnet,…

  • How to Install WordPress on Self-Hosted Server

    The instructions from the WordPress website for installation are pretty good, but here I’ve shortened and expanded some of the instructions and made it specifically for self-hosting with a MySQL database. These instructions assume you already have a LAMP stack (Linux, Apache, MySQL, PHP/Perl/Python). This guide starts off with an overview of the basic instructions…

  • How to Install MySQL

    Introduction MySQL is an open-source database management system, commonly installed as part of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It uses Structured Query Language (SQL) to manage its data. This guide will show you how to install a basic MySQL setup on your server. Prerequisites This guide was used on an Ubuntu 22.04 server. The following…