Mounting and accessing an ISO file in Linux

How to mount ISO image on Linux

An ISO file is an image file of a CD/DVD or other disc. It contains all the files from the disc, neatly packed into a single .iso file. This allows users to burn new copies of the disc, or they can open the ISO file to browse and copy its contents to their system.

An ISO file can also be mounted, which is the virtual equivalent to inserting a disc into your PC. The operating system will treat the ISO as a physical CD rom. In this guide, we’ll see how to open and mount an ISO file on a Linux system. This can be done from both command line and GUI, so we’ll be covering the steps for both methods.

Since the instructions will vary depending on what desktop environment you’re using, we’ll be covering the steps for GNOME, KDE, and Xfce. The steps for command line should be the same across any Linux distribution.

In this tutorial you will learn:

  • How to open and mount an ISO file via GNOME GUI
  • How to open and mount an ISO file via KDE GUI
  • How to open and mount an ISO file via Xfce GUI
  • How to open and mount an ISO file via command line
Mounting and accessing an ISO file in Linux

Mounting and accessing an ISO file in Linux

Read more

How to delete a file on Ubuntu Linux

How to delete file on Ubuntu Linux

Deleting a file in Linux is a fundamental task that every user will find themselves doing frequently. If you’ve recently installed Ubuntu Linux and are wondering how to delete files, we’ve got you covered in this guide.

In this tutorial, we’ll show how to delete files through GUI and command line on Ubuntu Linux. You’ll also see how permissions play a role in what files you’re able to delete or not.

In this tutorial you will learn:

  • How to delete files via GNOME GUI
  • How to delete files via command line
  • How permissions determine which files you can delete
How to delete a file on Ubuntu Linux

How to delete a file on Ubuntu Linux

Read more

Adding a new user with custom home directory on Linux

How to create a user with a custom home directory on Linux

Normal user accounts on Linux have their own home directory. This is the location where all of the user account’s personal files typically reside, including their recent downloads, desktop contents, etc.

By default, a user’s home directory is usually located at /home/username where “username” is the name of the user account. However, you can actually place a user’s home directory just about anywhere you’d like. Linux gives us the option to choose a location for the home directory whenever we are creating a new user.

In this guide, we’ll go over the commands needed to specify a custom home directory when creating a new user on Linux.

In this tutorial you will learn:

  • How to create a user with a custom home directory
Adding a new user with custom home directory on Linux

Adding a new user with custom home directory on Linux

Read more

Mounting and accessing an ISO file in Ubuntu Linux

How to open ISO files on Ubuntu Linux

An ISO file is an image file of a CD/DVD or other disc. It contains all the files from the disc, neatly packed into a single .iso file. This allows users to burn new copies of the disc, or they can open the ISO file to browse and copy its contents to their system.

An ISO file can also be mounted, which is the virtual equivalent to inserting a disc into your PC. The operating system will treat the ISO as a physical CD rom. In this guide, we’ll see how to open and mount an ISO file on Ubuntu Linux. This can be done from both command line and GUI, so we’ll be covering the steps for both methods.

In this tutorial you will learn:

  • How to open and mount an ISO file via GNOME GUI
  • How to open and mount an ISO file via command line
Mounting and accessing an ISO file in Ubuntu Linux

Mounting and accessing an ISO file in Ubuntu Linux

Read more

LEMP stack running successfully on AlmaLinux

How to install LEMP stack on AlmaLinux

A LEMP stack is an assortment of software that contains everything you need in order to serve a website, show dynamic content, and store or retrieve data from a database. The software is all within the LEMP acronym, namely the Linux operating system, NGINX web server, MySQL database (or MariaDB alternatively), and PHP programming language.

If you’ve installed AlmaLinux or migrated from CentOS to AlmaLinux, then you already have the first requirement done. Next, you just need to get your LEMP stack up and running. In this guide, we’ll show the step by step instructions to install a LEMP stack on AlmaLinux.

Note that it’s also possible to install a LAMP stack on AlmaLinux, which is very similar to LEMP except that it contains Apache as the web server instead of NGINX.

In this tutorial you will learn:

  • How to install all LEMP prerequisite packages on AlmaLinux
  • How to secure MariaDB database
  • How to start NGINX and MariaDB services
  • How to open HTTP and HTTPS firewall ports
LEMP stack running successfully on AlmaLinux

LEMP stack running successfully on AlmaLinux

Read more

Setting up a MySQL database and user on AlmaLinux

How to install MySQL on AlmaLinux

In this guide, we will show you how to install MySQL on AlmaLinux. There are two separate packages for this on AlmaLinux, depending on what you need to do. You can either install the MySQL client package, which is used to connect to MySQL servers, or install the MySQL server software, which can be used to host your own databases. We’ll cover both below.

After installing a MySQL server, we’ll also go over the first steps you’ll need to get started with hosting a database, which includes making a username and password, creating a database, and granting user permissions on that database. AlmaLinux is a good Linux distro for hosting MySQL, whether you’ve freshly installed AlmaLinux or migrated from CentOS to AlmaLinux.

In this tutorial you will learn:

  • Install MySQL Client on AlmaLinux
  • Install MySQL Server on AlmaLinux
  • How to setup a MySQL database
Setting up a MySQL database and user on AlmaLinux

Setting up a MySQL database and user on AlmaLinux

Read more

The chrony NTP server source list on AlmaLinux

How to configure NTP server and client on AlmaLinux

NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers. An NTP server is responsible for keeping a set of computers in sync with each other. On a local network, the server should be able to keep all client systems to within a single millisecond of each other.

Such a configuration would be necessary if, for example, the systems needed to start or stop a task in unison at a precise time. In this article, we’ll show you how to configure an NTP server on AlmaLinux and how to configure a client system to sync its system time with said server. This can be done from a fresh AlmaLinux installation or on a system that has migrated from CentOS to AlmaLinux.

In this tutorial you will learn:

  • How to install and configure chrony NTP server
  • How to open firewall to incoming NTP requests
  • How to connect to an NTP server from a client machine
The chrony NTP server source list on AlmaLinux

The chrony NTP server source list on AlmaLinux

Read more

Setting the date and time on AlmaLinux

How to set date and time on AlmaLinux

The objective of this guide is to show how to set the system date and time on AlmaLinux. This can be done from both GUI and command line, so we’ll be covering both methods in the following instructions.

Setting your system date, time, and time zone is usually done when initially installing AlmaLinux or migrating from CentOS to AlmaLinux. If you skipped that step during installation, have switched time zones, or your system clock has drifted out of sync, we’ll help you get it fixed.

In this tutorial you will learn:

  • How to set date and time on AlmaLinux from GNOME GUI
  • How to set date and time on AlmaLinux from command line
Setting the date and time on AlmaLinux

Setting the date and time on AlmaLinux

Read more

Installing Apache on AlmaLinux

How to install Apache on AlmaLinux

Apache is one of the most popular and longstanding HTTP servers. It’s an open-source and cross-platform web server software developed and maintained by Apache Software Foundation. It’s easy to set up and learn to use, which has led to its widespread adoption for small and large scale websites.

In this guide, we’ll go over the step by step instructions to install Apache on AlmaLinux. Feel free to follow along with us, whether you have a fresh AlmaLinux installation or have migrated from CentOS to AlmaLinux.

In this tutorial you will learn:

  • How to install Apache web server on AlmaLinux
  • How to control Apache web server with systemctl commands
  • How to open firewall for HTTP (port 80) and HTTPS (port 443)
  • How to host a website with Apache
  • How to install SSL certificate with Let’s Encrypt
Installing Apache on AlmaLinux

Installing Apache on AlmaLinux

Read more

Installing Git on AlmaLinux

How to install Git on AlmaLinux

Git is a versioning control system, mainly used by programmers to issue changes to applications and keep track of the revisions. However, it’s also commonly used by everyday users, since they’re able to browse and download the source code and binaries of millions of applications from websites like GitHub and GitLab.

On Linux, familiarity with Git and access to the command line utility is borderline essential. That is, if you’re the type of user who likes to install programs to unlock additional features and the like.

In this guide, we’ll show you the step by step instructions to install Git on AlmaLinux. Once it’s installed, you can read our other guide on how to get started using Git. This is a great process to do right after installing AlmaLinux or migrating from CentOS to AlmaLinux.

In this tutorial you will learn:

  • How to install Git on AlmaLinux
Installing Git on AlmaLinux

Installing Git on AlmaLinux

Read more

LAMP stack running successfully on AlmaLinux

How to install LAMP stack on AlmaLinux

A LAMP stack is an assortment of software that contains everything you need in order to serve a website, show dynamic content, and store or retrieve data from a database. The software is all within the LAMP acronym, namely the Linux operating system, Apache web server, MySQL database (or MariaDB alternatively), and PHP programming language.

If you’ve installed AlmaLinux or migrated from CentOS to AlmaLinux, then you already have the first requirement done. Next, you just need to get your LAMP stack up and running. In this guide, we’ll show the step by step instructions to install a LAMP stack on AlmaLinux.

In this tutorial you will learn:

  • How to install all LAMP prerequisite packages on AlmaLinux
  • How to secure MariaDB database
  • How to start httpd and MariaDB services
  • How to open HTTP and HTTPS firewall ports
LAMP stack running successfully on AlmaLinux

LAMP stack running successfully on AlmaLinux

Read more

How to show/check for open ports on Ubuntu Linux

How to show/check for open ports on Ubuntu Linux

Checking for open ports on Ubuntu Linux is an essential part of security administration. Some Linux software works by listening for incoming connections. A simple example would be a web server, which handles user requests on HTTP port 80 or HTTPS port 443 whenever someone navigates to a website. As a Linux administrator or user, it’s important to always know which ports of your system are open to the internet. Otherwise, you could be unaware of outside connections being made to your computer, which consumes bandwidth and resources, along with being a potential security vulnerability.

Read more