To install Ubuntu in your Raspberry Pi 4 what you need is:
- Raspberry Pi 4
- USB-C cable
- Mini SD Card (recommended 16 Gb or more)
- Mini SD Card reader in your PC
- RJ45 Ethernet cable
- Switch or Router of your network
The first step is to install Ubuntu software in your SD Card. For this, you shoud go to the Raspberry Pi Downloads page, and download the Raspberry Pi Imager.
Once installer the imager, it is needed to select the Operating System (In our case Ubuntu 19.10.1), and the SD Card.
Continue reading How to install Ubuntu in your Raspberry Pi 4 without Keyboard nor screen
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
1. Edit the file /etc/hostname using the vi editor. Modify the old name and set the new one.
$ sudo vi /etc/hostname
2. Edit the file /etc/hosts and replace any ocurrence of the old name with the new one.
$ sudo vi /etc/hosts
3. Reboot the system to make the changes to take effect.
$ sudo reboot
Continue reading Change hostname in Ubuntu Linux
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:
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 –force-hold.
- deinstall: The package is selected for deinstallation (i.e. we want to remove all files, except configuration files).
- purge: The package is selected to be purged (i.e. we want to remove everything from system directories, even configuration files).
Continue reading List installed packages in Ubuntu
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’ll 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 https://packages.grafana.com/oss/deb stable main
There is a separate repository for beta releases:
deb https://packages.grafana.com/oss/deb beta main
Then it is needed to add the GPG Key, in order to install signed packages:
$ curl https://packages.grafana.com/gpg.key | sudo apt-key add -
Continue reading How to Monitor an Ubuntu Server with Grafana & Prometheus
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
- RAM Usage
Here some examples:
Continue reading Customize our Linux terminal with screenFetch (Ubuntu, Debian, CentOS, Linux Mint…)