Explore information related to centos 8

Using CSF firewall to block countries

This article will guide you on how to block/allow countries in the CSF #firewall. CSF is used to restrict or allow countrywide IP ranges in the server using the country codes. For every country you want to deny, you just enter those letters in the field (separated by a comma). Once you're done, scroll to the bottom of the page and click CHANGE. This will restart the firewall, and you're now all set to go.

ConfigServe Firewall (#CSF) is a firewall configuration script created to provide better security for your server while giving you an easy to use and advanced interface for managing your #firewall settings in cPanel servers.

To limit the ability to connect on a specific port or ports to visitors with IP addresses originating in a specific country or countries, you must:

1. close the ports in the firewall.

2. define the country code allowed to connect on those blocked ports.

3. specify the blocked #ports to be opened for the specified country.

Read More



GlusterFS install CentOS 7

This article will guide you on the steps to install and setup #GlusterFS. 

GlusterFS is a scalable #network filesystem suitable for data-intensive tasks such as cloud storage and media streaming. 

GlusterFS has a client and #server component. Servers are typically deployed as storage bricks, with each server running a glusterfsd daemon to export a local file system as a #volume.

To install GlusterFS:

1. Have at least two nodes. CentOS 7 on two servers named "server1" and "server2".

2. Format and mount the bricks.

3. Installing GlusterFS.

4. #Iptables configuration.

5. Configure the trusted pool.

6. Set up a GlusterFS volume.

7. Testing the GlusterFS volume.

Read More



Add Glance Cloud images to OpenStack

This article will guide you on steps to add #Glance #Cloud images to #OpenStack with different #Linux distributions which enables users to discover, register, and retrieve virtual machine images. 

After images are created they should be registered in Openstack Glance - #image operation service.

Upload Image Into Glance:

1. Replace <NAME> with the name that users will refer to the disk image by. 

2. Replace <IMAGE_FILE> with the local path to the image file to upload.

Read More



Install Graylog on CentOS 7 How to do it

This article will guide you on steps to #Graylog on #CentOS 7 and an effective method to make the logs more structured and searchable.

Graylog is a leading centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of #machine data. 

Graylog is an open source log management platform which enables you to aggregate up to terabytes of log data, from multiple log sources, DCs, and geographies with the capability to scale horizontally in your data center, #cloud, or both.

To #Install Graylog 3 with Elasticsearch on CentOS 7:

1. Configure #SELinux. 

2. Add required #repositories 

3. Install #Java, #Elasticsearch, and #MongoDB. 

4. Configure Elasticsearch for Graylog. 

5. Install Graylog 3 on CentOS 7. 

6. Start Graylog service on CentOS 7.

Read More



oVirt Guest Agent on CentOS 8 and RHEL 8 Steps to install

This article will guide you on how to install oVirt Guest Agent on CentOS and RHEL. oVirt / #RedHat V#irtualization guest agent provides information, notifications, and actions between the #oVirt web interface and the guest.

To install oVirt guest agent:

1. Log in to the Red Hat Enterprise Linux virtual machine.

2. Enable the Red Hat Virtualization Agent #repository.

3. Install the guest #agent and #dependencies: # yum install ovirt-guest-agent-common.

4. Start and enable the ovirt-guest-agent service.

5. Start and enable the qemu-guest-agent service.

Read More



NFS Server on RHEL CentOS 8 Steps to install and configure

This article will guide you on the steps to Install and Configure #NFS Server on #RHEL or #CentOS.

The terms client and server are used to describe the roles that a computer plays when sharing file systems. The NFS service enables any given computer to access any other computer's file systems and, at the same time, to provide access to its own file systems.

To install NFS server:

1. Install NFS #Kernel Server. 

2. Create the #Export #Directory. 

3. Assign server access to client(s) through NFS export file. 

4. Export the shared directory. 

5. Open #firewall for the client (s).

Read More



Manage a Linux Server with systemd

Like the init #daemon, #systemd is a daemon that manages other daemons, which, including systemd itself, are background #processes. systemd is the first daemon to start during booting and the last daemon to terminate during shutdown.

This article will guide you on how to manage #Linux server using systemd. Additionally, we saw the different commands used to Manage Linux serves with systemd. While systemd is compatible with SysV and Linux Standard Base (LSB) init scripts, systemd is meant to be a drop-in replacement for these older ways of getting a Linux system running.

To start (activate) a service , you will run the command 'systemctl start my_service. service', this will start the service immediately in the current session. 

To enable a service at boot , you will run 'systemctl enable my_service. service'.

Read More



Using Cron to Automate Tasks on CentOS 8

This article will guide you on the steps to set up #Cron job on #CentOS 8 to help automate #tasks. Cron is a #clock daemon, whose name originates from #Chronos, the Greek word for time. It enables users to automate the execution of #commands, scripts (a group of commands) or programs at specified time intervals.
The simplest way to validate that cron tried to run the #job is to simply check the appropriate log file; the log files however can be different from system to system. In order to determine which log file contains the cron #logs we can simply check the occurrence of the word cron in the log files within /var/log .

Read More



HAProxy Logging with Rsyslog on CentOS 8

This article will guide you on how to set up #HAProxy Logging #Rsyslog with some quick and easy steps. HAProxy is installed with RightScale load #balancer ServerTemplates. Load-balancer servers are also known as front-end servers. Generally, their purpose is to direct users to available #application servers. HAProxy can be installed in front of them to provide load balancing and high availability.

Read More



Install and configure Grafana on CentOS 7

This article will guide you on the steps to #install #Grafana on #CentOS 7 which is a #visualization and #analytics #monitoring software. Grafana is Free and Open Source which Runs on all major #OS operating systems.

Read More



Step by step process to Secure Apache with Lets Encrypt on CentOS 8

This article will guide you on the process to secure #Apache with Let’s Encrypt by installing Let's Encrypt #Certbot client, downloading #SSL #certificates for the #domain, and setting up automatic certificate renewal.

The objective of Let's Encrypt and the #ACME protocol is to make it possible to set up an #HTTPS server and have it automatically obtain a browser-trusted certificate, without any human intervention.

Read More



ifconfig centos 7

This article will guide you on the steps to #install #ifconfig in #CentOS using the yum #package #manager.

The ifconfig command can tell you a lot about your Unix server's connection to your #network and the role it's playing in both generating and receiving network traffic.

Read More



Install Prometheus Network Monitoring Server on CentOS 7

#Prometheus collects metrics from targets by scraping 3metrics #HTTP endpoints. Since Prometheus exposes #data in the same manner about itself, it can also scrape and monitor its own health. 

This article will guide you on the steps to perform #installation of Prometheus on #CentOS 7 along with the method used for the #setup.

Read More



Virtualmin common installation errors

This article will guide you on the different common errors in Virtualmin / Webmin and their fixes.

Read More



Install Squid Proxy on CentOS 7

This guide will show you the steps to install squid on Centos 7 as well as configure the port and adjusting the access control list.

Read More



Method to upgrade MySQL in VestaCP

It is very important to upgrade your OS MySQL database to the latest version so as to keep the system more secured and to enjoy the latest features.

Read More