Working with Services in RHEL/Centos 7

### It’s possible to check all services like follow: # the list of all services [root@testos]# systemctl list-unit-files -t service UNIT FILE STATE abrt-ccpp.service enabled abrt-oops.service enabled abrt-pstoreoops.service disabled abrt-vmcore.service enabled abrt-xorg.service enabled abrtd.service enabled arp-ethers.service disabled atd.service enabled auditd.service disabled auth-rpcgss-module.service static autofs.service disabled autovt@.service enabled blk-availability.service disabled brandbot.service static certmonger.service enabled chrony-dnssrv@.service static … Read more

Enable SSL/TLS for vsftpd to use Secure FTP(SFTP) connections in RHEL/Centos

### Create self-signed certificate. [root@testos ~]# cd /etc/pki/tls/certs[root@testos certs]# openssl req -x509 -nodes -newkey rsa:2048 -keyout vsftpd.pem -out vsftpd.pem -days 365Generating a 2048 bit RSA private key……++++++…….++++++ writing new private key to ‘/etc/pki/tls/certs/vsftpd.pem’ You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is … Read more

Install and configure vsftpd to configure FTP Server in RHEL/Centos

### Configure Vsftpd [root@testos ~]# yum -y install vsftpd ### Edit/Update vsftpd Configuration file [root@testos ~]# vi /etc/vsftpd/vsftpd.conf # line 12: no anonymous anonymous_enable=NO # line 82,83: uncomment ( allow ascii mode ) ascii_upload_enable=YES ascii_download_enable=YES # line 100, 101: uncomment ( enable chroot ) chroot_local_user=YES chroot_list_enable=YES # line 103: uncomment ( specify chroot list ) … Read more

Install and Configure Cacti Network Graphing Tool on RedHat / CentOS

Cacti is a network graphing tool similar to MRTG. How do I install and configure common options to collect SNMP data and various other data (such as system load, network link status, hard disk space, logged in users etc) into an RRD? From the official project site: Cacti is a complete frontend to RRDTool, it … Read more

Setup & Setting up GlusterFS Volumes in RHEL

A volume is a logical collection of bricks where each brick is an export directory on a server in the trusted storage pool. To create a new volume in your storage environment, specify the bricks that comprise the volume. After you have created a new volume, you must start it before attempting to mount it. … Read more

CIS Security Benchmark for Red Hat Enterprise Linux

CIS Benchmarks are the only consensus-based, best-practice security configuration guides both developed and accepted by government, business, industry, and academia. Its an objective, consensus-driven security guideline for the Red Hat Enterprise Linux Operating Systems. CIS_Red_Hat_Enterprise_Linux_8_Benchmark_v2.0.0.pdf https://mega.nz/file/fR5TjDBS#AwdrCAqC_ojX10SMXVlraKRPAD5pfPgaiG88WYi0OO8 CIS_Red_Hat_Enterprise_Linux_7_Benchmark_v3.1.1.pdf https://mega.nz/file/OBhWVYCJ#hn_iFyrxuTevh7AZ7fjEk_s8OlS2iKQbKn7LAwLU9IM