The LAMP server is the foundation of Linux web hosting. If you're looking to set up a LAMP stack to host your website, this guide will provide you with the necessary information on how to get start with LAMP on RHEL 8 / CentOS 8 Linux server.

In this tutorial you will learn:
  • How to install all LAMP prerequisite packages on RHEL 8 / CentOS 8.
  • How to secure MariaDB database.
  • How to start httpd and MariaDB services.
  • How to open HTTP and HTTPS firewall ports.

Some software packages for RHEL 8 / CentOS 8 come from commercial vendors such as game companies that provide closed-source binary packages or installers that you can run and enjoy in Linux. These installers often come either in .sh form or .bin form. Both are executable installers that you can launch in RHEL 8. If you have downloaded a .bin file and don't know how to run it follow these steps.

In this tutorial you will learn:
  • How to make .bin files executable using the command line
  • How to install .bin files in RHEL 8

The dig DNS lookup utility is an invaluable tool for any system or network administrator. The dig utility can be installed with a single dnf command in case it is currently unavailable on your RHEL 8 / CentOS 8 Linux system.

In this tutorial you will learn:
  • How to install the dig command on Redhat 8.
  • What is the dig command basic usage.

There may come a time when that package you want to install in RHEL 8 / CentOS 8 is simply not available as a RPM file. The alternative is to download the source and compile it yourself, or - alternatively - generate a RPM file from that source code later on.

But there is another way. Given the fact that Debian-based distributions have way more users than RPM-based ones, the number of available packages in their repositories is greater. Chances are you will be able to find a DEB file for that package you want. Here is how to install that DEB file in RedHat Linux with the help of a small utility called alien.

In this tutorial you will learn:
  • How to install alien in RHEL 8 / CentOS 8
  • How to convert a DEB package to a RPM one

Most laptops and mobile devices these days have a wireless card. Mobile connectivity is important more than ever. If twenty years ago Linux barely had enough drivers for a handful of on-board ethernet cards, now the wireless drivers embedded in the kernel grows with every kernel release. Further than that, hardware companies release their products together with Linux drivers, be they closed or open-source. In this article we will take a look at how to install wireless drivers in RHEL 8 / CentOS 8.

In this tutorial you will learn:
  • How to install wireless drivers using dnf
  • How to install manually downloaded wireless drivers

Ruby is a very flexible scripting language, it's popularity well-earned by it's power. In this tutorial we will install Ruby on a RHEL 8 / CentOS 8, and write the famous "Hello World" program to test that our installation is working as intended. Note however, that with all languages, Ruby's capabilities are far more than simple text printing on the command line.

In this tutorial you will learn:
  • How to install Ruby with dnf
  • How to get Ruby version information
  • How to write and run the "Hello World" example program in Ruby

Samba provides server and client software to allow file sharing between Linux and Windows machines. Installing and configuring it on RHEL 8 / CentOS 8, is quite easy. Keep reading to learn how to share a directory with samba, and how to apply the appropriate SELinux context to it.

In this tutorial you will learn:
  • How to install samba on RHEL8
  • How to enable and start the smb and nmb daemons
  • How to create a samba share
  • How to setup the firewall to allow samba share to be accessed
  • How to setup the correct SELinux context for samba to work correctly
smbtree-rhel8
Samba shares on RHEL 8 / CentOS 8

On a system with memory-intense workload with common peak loads, a large swap memory can be useful to store large memory contents not needed at the moment. While using swap instead of memory will certainly have great impact on performance, sometimes this is preferable over adding more memory to the machine, as disk space is much cheaper. Sometimes there is simply no more memory, maybe a physical machine that is out of free slots, and there isn't any larger memory modules on the market. At other times the slower performance on peak loads may be preferable over the application crashing with out of memory error.

In some cases swap memory needs to be increased, a live example could be expanding the memory in the machine, and so also expanding the swap space to match the double of the new memory size.

In this tutorial you will learn:
  • How to check swap space.
  • How to identify swap volume.
  • How to extend swap volume.
  • How to add another swap volume.

Webmin is web-based administrator's tool that can manage many aspects of the system. After installation, we can manage our machine's resources, the server applications running on it, set up cronjobs, just to name a few. It comes with it's own http server, no additional container or webserver required. The rich function set is accessible trough a web interface, so all we need is a browser to manage our system remotely.

In this tutorial we will install Webmin on RHEL 8 / CentOS 8, add the necessary service file for easy management, and log in to the WUI (Web User Interface).

In this tutorial you will learn:
  • How to install Webmin from tarball
  • How to add and test systemd service file
  • How to access the web interface

Jenkins is a widely-used open-source automation server that can be used to automate tasks from building to deploying software. It's pipelines are easy to understand, and you can simply add tasks the same way you would execute them on the command line.

In this tutorial we will install Jenkins on RHEL 8 / CentOS 8, we'll run the server by hand from the command line, install it as a standard service, and deploy it into an Apache Tomcat container.

In this tutorial you will learn:
  • How to run Jenkins by hand
  • How to install Jenkins as a service
  • How to deploy Jenkins into an Apache Tomcat container
  • How to unlock Jenkins
  • How to open the port on the firewall Jenkins is serving on

Maven is a handy project management tool for Java projects. It helps handling multiple projects, can integrate with various IDE (Integrated Development Environment) software, and above all, simplifies build processes. In this tutorial we will install maven on a RHEL 8 / CentOS 8 Linux system, and to test the tool, we'll build and run a simple example application.

In this tutorial you will learn:
  • How to install Maven
  • How to create a basic project
  • How to build the project with Maven
  • How to test the built application

Git is a version-control system, which is used for tracking updates in computer files. Additionally, it may be used for collaborating work on files among a group of people. This article will provide the reader with a step by step information on how to install Git on RHEL 8 / CentOS 8.

In this tutorial you will learn:
  • How to install Git from a standard RHEL 8 / CentOS 8 repository.
  • How to compile and install Git from source code.
  • How to check Git version.

SNMP (Simple Network Management Protocol) is widely used for monitoring and central management purposes. In this tutorial we will install the snmpd service to a RHEL 8 / CentOS 8 machine, enable autostart, and after starting the service, we will test the functioning service with snmpwalk running the default settings.

In this tutorial you will learn:
  • How to install snmp service
  • How to start and enable the service with systemd
  • How to open udp port 161 for remote access
  • How to test the service with snmpwalk from localhost and remove machine

Perl is a well-known programming language with long development history. The same long history provides the countless modules written in it, and distributed in various channels throughout the World Wide Web. As with most programming languages, if you implement something that you find useful, and maybe write it in a generic way, there are high chances others would find it useful too.

If you share your work with others, they don't need to re-implement the wheel, they can spend time on other tools, thus making the community as a whole richer, and we have found the spirit of open source with a short walk. But as many people write perl modules, and perl runs on just about anything, it can be hard to find the module you are looking for, let alone build it in your environment. And that's where cpan comes into play. CPAN itself is a large perl module repository, the cpan tool is a client that is able to fetch and compile needed modules to the local system.

In this tutorial we'll install cpan on a RHEL 8 / CentOS 8, run the initial configuration, and install a module with this tool's help.

In this tutorial you will learn:
  • How to install cpan
  • How to run initial configuration
  • How to install a perl module with cpan

MongoDB is a document database, storing data in JSON-like form, which is revolutionary approach in the contrast of traditional relational databases. This does not mean that SQL databases will die out anytime soon; they will be here for a long time when you need to store structured data.

That being said, MongoDB gets more and more use cases; the ability to store data in a form that can change on the fly are things that must be counted with.

In this tutorial we will install the latest community release of this NoSQL database to a RHEL 8 / CentOS 8, using the tarball package. For this to work smoothly we'll set up the minimal environment, and test our configuration and running service.

In this tutorial you will learn:
  • How to download & extract MongoDB tarball
  • How to set up environment for the service
  • How to manage mongod service
  • How to login to mongo shell, insert and query sample data

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: