Change hostname in Ubuntu Linux

When we first install a new Operating System one of the typical request of the installation process is to set the hostname. To change the hostname in Ubuntu Linux system, you can follow different procedures. Editing system configuration files Edit the file /etc/hostname using the vi editor. Modify the old name and set the new one. $ sudo vi /etc/hostname Edit the file /etc/hosts and replace any ocurrence of the old name with the new one....

January 14, 2019 路 1 min 路 Yvoictra

List installed packages in Ubuntu

In some situations we need to know which packages we have installed in a Debian or Ubuntu system. In that case, we can use the tool dpkg, which will give us the information we need. Next command will give us the current packages installed with different states: dpkg --get-selections The states we can have are: install: The package is selected for installation. hold: A package marked to be on hold is not handled by dpkg, unless forced to do that with option 鈥揻orce-hold....

July 30, 2018 路 1 min 路 Yvoictra

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. Step 1: 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 create the file /etc/apt/sources.list.d/grafana.list and add the following into it: deb stable main There is a separate repository for beta releases:...

July 29, 2018 路 3 min 路 Yvoictra

Customize our Linux terminal with screenFetch (Ubuntu, Debian, CentOS, Linux Mint...)

screenFetch is a software for GNU/Linx which shows information related to our聽Hardware and our Operating System, including the logo of the Linux Distro it is being used. This is the info screenFetch shows: User Name Host Name OS with Code Name Installed Kernel Info System Uptime List of Installed Packages bash Shell Version System Resolution DE (Desktop Environment) WM (Window Manager) WM Theme GTK Theme Icon Theme Font CPU RAM Usage Here some examples:...

January 4, 2018 路 2 min 路 Yvoictra

Hello world!

Welcome to my new blog. It鈥檚 strange to open new blogs when there are people who say they have died, however I believe this site could be useful at least for me鈥 to remember what I have done in the past. Anyway, Hello World!

January 2, 2018 路 1 min 路 Yvoictra