SELinux allow non default SSH port
By default, SELinux only allows running SSH service on default port 22. For security, it is better to change the SSH port…
By default, SELinux only allows running SSH service on default port 22. For security, it is better to change the SSH port…
First, find the network interface used by the server with ip a command. [root@15-204-47-122 ~]# ip a 1: lo: mtu 65536 qdisc…
On an OVH Cpanel server running CentOS 7, the server won’t boot. When accessing the server console using IPMI, I found the…
To install docker on AlmaLinux, run the following commands Install yum-utils Add docker repository Install Docker CE with Enable docker Start Docker…
FFmpeg binary static build available for download from https://johnvansickle.com/ffmpeg/ To install ffmpeg static build, run cd /usr/local/src wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz tar xvf ffmpeg-release-amd64-static.tar.xz…
grubby is provided by package grubby on RHEL based systems. To install grubby, run yum install grubby To list all kernels, run…
To view all rules in iptables, run Or To list iptables rules without resolving IP to hostname To show the line number…
To change the varnish port, run the command systemctl edit varnish It opens an editor, in the editor, paste the following [Service]…
On a KVM Virtual machine using LVM storage, the LVM disk is partitioned as follows. root@mail:~# parted /dev/vg1/iredmail print Model: Linux device-mapper…
Nuster is a high performance HTTP proxy cache server. It is based on haproxy. To configure multiple SSL certificates in nuster, create…
To remove a logical volume, you can use the command lvremove /dev/vg-name/lv-name Example lvremove /dev/vg1/win10 This will remove logical volume with the…
systemd-networkd configuration files are stored in /etc/systemd/network/ Example /etc/systemd/network/05-eth0.network Here is a sample config [Match] Name=eth0 [Network] DHCP=no DNS=172.105.170.5 172.105.161.5 172.105.171.5 Domains=members.linode.com…