Update Ubuntu 24.04

How to Update Ubuntu to 24.04 LTS (Noble Numbat)

Introduction Ubuntu 24.04 LTS was launched on April 25th, 2024. As this version is an LTS (Long-Term Support) release, it will be supported for 5 years. In this post we are going to explain how to update your Ubuntu using the CLI. Backup Do a backup of important data before start. It is important because the update action has some risks and could damage the system. Update your packages It鈥檚 a good practice to have your packages updated before starting the system update process....

April 30, 2024 路 1 min 路 Yvoictra
Ubuntu DNS Servers

How to get configured DNS servers in Ubuntu

In some situations could be needed to know exactly which DNS server is being used by an Ubuntu host. There are several ways to get this info, however the best option I have found is to use the resolvectl service. This service is in charge of the name resolution of the local applications. You can use it executing resolvectl status or just resolvectl. The command will return the DNS servers configured in each network interface, and which one is currently being used....

April 28, 2024 路 1 min 路 Yvoictra
How to install your own Telegram Proxy

How to install your own Telegram Proxy

Introduction In this post I am going to describe how to deploy a MTProto Telegram Proxy used mainly to avoid blocks of this App in certain countries. Telegram supports 2 types of proxy servers: the standard SOCKS5, and the MTProto, the one we will discuss next. What is Telegram? Telegram is a messaging application with a focus on speed and security. It鈥檚 free and it is used by more than 700 million of users monthly....

March 23, 2024 路 3 min 路 Yvoictra
Generate static web with Hugo and NGINX

Generate a static website with Hugo and NGINX

Introduction During the last few years, I have started several blogs (not much success, it must be said). A technology one, my photography web, and a blog with personal matters, which I decided to close. All of them were made with the same CMS platform: WordPress. WordPress has some advantages, such as its ease of use or the great community behind it. However, I was tired of the huge amount of resources I needed to deploy the CMS and give a good experience to the readers of my blog....

August 13, 2023 路 6 min 路 Yvoictra
Change language in Ubuntu

How to change your language and local configuration in Ubuntu

Introduction After installing a new Ubuntu system, I always set the language configuration to fit my local environment. Locales configuration Connect to a terminal of your machine and execute next command: sudo dpkg-reconfigure locales After this, you will see a list of languages and countries. You have to select with space bar the language and country you need. In my case, as I live in Spain, I have selected es_ES.UTF-8. It is recommended to choose UTF-8 version....

July 28, 2023 路 2 min 路 Yvoictra
Monitor Ubuntu Server with Grafana and Prometheus

How to Monitor an Ubuntu Server with Grafana and Prometheus

Grafana is an open source metric analytics & visualization tool which can help us to monitor the system with a nice Dashboard. Installing Grafana Grafana is available in the APT packages repository, however it could not be the latest version, so we鈥檒l use the official Grafana repository. First, it is needed to install the software needed before install Grafana. sudo apt install -y apt-transport-https sudo apt install -y software-properties-common wget Next step is to download the GPG Key, in order to install signed packages:...

November 13, 2022 路 3 min 路 Yvoictra
Sendinblue SMTP relay host

Configure Postfix to send e-mail using Sendinblue as SMTP server

Introduction Some time ago I tried to configure a SMTP server in a host in the cloud, but because of some restrictions, the emails from that server were bounced. The problem was that the hosting provider didn鈥檛 configure the PTR DNS entries (more about DNS PTR entries) for some kind of hostings. When this happens the best solution is to use a SMTP relay server, by this way that server is in charge of the final delivery of the emails....

November 11, 2022 路 3 min 路 Yvoictra
Mail Server

How to Install a Mail Server in Ubuntu with Postfix

Introduction Nowadays, the knowledge to install a mail server is an important task for any System Administrator. In our case, we are going to see how to deploy a mail server with Postfix on Ubuntu. About Postfix Postfix is a free and open-source MTA (Mail Transfer Agent) which routes and delivers electronic mail (e-mails). As an SMTP server, Postfix implements a first layer of defense against spambots and malware. Can be used to send and receive e-mail....

July 27, 2022 路 15 min 路 Yvoictra