×


Linux Resources


Migrate to AlmaLinux 8.4 from CentOS Linux - Step by Step Process ?

This article covers the process of migrating to AlmaLinux from CentOS 8. AlmaLinux OS is a new RHEL fork from the team at CloudLinux. It is meant to be a free Linux Operating System, developed in close co-operation with the community, and for the community. As of this article update, the release of AlmaLinux available is not stable fit for production use. AlmaLinux OS is now stable and can be used in Production environments.


To Migrate from CentOS 8 To AlmaLinux 8.4.

1. Download the almalinux-deploy.sh script:

$ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh

2. Give the script execution bits:

$ chmod +x almalinux-deploy.sh

3. Then run the script with the commands below:

$ sudo bash ./almalinux-deploy.sh


View and Delete Terminal History in Ubuntu 20.04 - Best Method ?

This article covers how to view / preserve or delete terminal history on Ubuntu Linux System. Terminal history can be a benefit in case you want to revisit/recall the past commands. But it can be a security risk because they can show system tools, configurations, and settings. 

The history mechanism in Ubuntu keeps track of terminal commands you executed.

To view your command line history, Open the Ubuntu terminal and Type :

$ history

This will display the list of previous bash commands you executed in the terminal.


To delete your Ubuntu terminal history, Type:

$ history -c

This will clear your Ubuntu terminal history. Also, you need to know that command line history is user independent, means every user has their own separate history. When you execute history -c command, it will only clear terminal history of the current user.


Modify My Desktop Background in Ubuntu 20.04 - Steps to do this ?

This article covers different methods to modify Ubuntu Desktop Background as well as updating your background by using the command prompt. When you first install and run Ubuntu Linux the first thing you see when you log in is the default desktop. It has the Ubuntu brown color scheme and panels at the top and bottom of the screen. There are two predominant desktop environments available with Linux - the GNOME desktop and the KDE desktop. Which is the best desktop is matter of preference and heated disagreement in the Linux community. Both are excellent, feature rich desktops.


How to Change the desktop background in Ubuntu ?

To change the image used for your backgrounds:

1. Open the Activities overview and start typing Background.

2. Click Background to open the panel. The currently selected wallpaper is shown at the top.

3. There are two ways to change the image used for your backgrounds:

i. Click one of the background images which are shipped with the system.

Some wallpapers change throughout the day. These wallpapers have a small clock icon in the bottom-right corner.

ii. Click Add Picture… to use one of your own photos. By default, the Pictures folder will be opened, since most photo management applications store photos there.

4. The settings are applied immediately.

For another way to set one of your own photos as the background, right-click on the image file in Files and select Set as Wallpaper, or open the image file in Image Viewer, click the menu button in the titlebar and select Set as Wallpaper.

5. Switch to an empty workspace to view your entire desktop.


Add a User to Sudoers on Debian 10 - Step by Step Process ?

This article covers how to add users into the sudoers group. Also you will learn how to edit rules in the sudoers configuration file through the command. You can customize the sudoers file based on the user requirements. Sudo stands for superuser do. Sudo is a command used in Unix-like systems to allow a regular user to execute a program as another user. In most cases, it is the root user.

The sudo command allows authorized users to perform commands as another user, which is by default the root user. 

This option gives you administrator-level permissions to run programs on your machine. It is an alternative to using the su command.


Install Cockpit on CentOS 8 - Step by Step Process ?

This article covers how you can easily install Cockpit on your CentOS system and manage other Linux servers. With Cockpit, you can have a quick glance at the performance of all your added servers. Also, you can monitor system resources, start and stop services, shut down the system, install updates, view network activity (send/received). create or remove user accounts, access Terminal, and much more on the remote servers. Cockpit helps to save a lot of time by letting the administrators manage the remote servers that are spread across the network using a lightweight and intuitive interface. 


Benefits of Cockpit in our GNU/Linux servers:

  • It consists of systemd service manager for ease.
  • It has a Journal log viewer to perform troubleshoots and log analysis.
  • Storage setup including LVM was never easier before.
  • Basic Network configuration can be applied with Cockpit
  • We can easily add and remove local users and manage multiple servers.


To Install  and enable Cockpit packages from repository, run the command:

$ sudo yum install cockpit

Type "y" and it will start downloading and installing the required packages.

To enable the Cockpit with the following command:

# sudo systemctl start cockpit

or

$ sudo systemctl enable --now cockpit.socket


To confirm the status of Cockpit, run the command:

# sudo systemctl status cockpit


Migrate from CentOS 8 To Rocky Linux 8 - Step by Step Process ?

This article covers how to easily migrate to Rocky Linux 8.4 from CentOS 8. Rocky Linux is a community enterprise operating system designed to be 100% compatible with RedHat Enterprise Linux. Rocky Linux dev team has created a migration script called migrate2rocky to easily convert an existing CentOS 8 system to Rocky Linux 8.


To Upgrade the current CentOS 8 Linux system to latest available version, run the command:

$ sudo dnf --refresh upgrade

After update is completed, Reboot your system:

$ sudo reboot

Search by typing a one letter Word Term Here