How To Install PowerDNS on CentOS 7

Step 1: Package Installation Add the repository of the authoritarian server and install it: [root@localhost ~]# yum install epel-release yum-plugin-priorities -y [root@localhost ~]# curl -o /etc/yum.repos.d/powerdns-auth-41.repo https://repo.powerdns.com/repo-files/centos-auth-41.repo [root@localhost ~]# yum install pdns -y Add the recursive server repository and install it: [root@localhost ~]# curl -o /etc/yum.repos.d/powerdns-rec-41.repo https://repo.powerdns.com/repo-files/centos-rec-41.repo [root@localhost ~]# yum […]

How To Use Ipset on CentOS 7

For packet filtering systems in Linux Iptables, uniform rules are needed that include tens, hundreds and even thousands of IP addresses. For this, there is an ipset extension. To use ipset in the linux CentOS 7 distribution, you need to install the ipset package and ipset-service. It is implied that […]

How To Configure OpenVPN on Debian & Ubuntu

Install OpenPNV and easy-rsa packages user@localhost:~$ sudo apt updateuser@localhost:~$ sudo apt install openvpn easyrsa Basic configuration Configuration file Copy the example from the documentation folder user@localhost:~$ sudo cp /usr/share/doc/openvpn-*/sample/sample-config-files/server.conf /etc/openvpn Go to the program settings folder user@localhost:~$ cd /etc/openvpn Open the main configuration file in a text editor user@localhost:~$ sudo […]

How To Install And Configure Fail2ban Under CentOS

Fail2ban – a service that can greatly “cool the ardor” of bots continuously trying to find a password for your server. Install fail2ban packages from the epel repository If the epel package is not installed, enter the commands user @ localhost: ~ $ sudo yum -y install epel-release Afrer install […]

Configuring OpenSSH VPS Server on Linux OS

OpenSSH server on VPS is the first and main method of access to Linux and FreeBSD server; by default, it is configured quite securely and allows all users to connect to the this system. In the Debian distribution, the root user can only connect using the keys and cannot connect […]

How To Install And Customize ProFTPd on Linux

Installation For Debian-based systems execue commands: user@localhost: ~ sudo apt update Optionally: user@localhost: ~ sudo apt upgrade Install the latest version for your distribution you can with the following commmand: user@localhost: ~ sudo apt-get install proftpd During installation process system will ask how do you want your server to work. […]

How To Install And Access Configure Squid on Linux

For Debian-based systems execute the following commands: user@localhost: ~ sudo apt update Optionally: user@localhost: ~ sudo apt upgrade To install the latest version for your distribution you will use the command: user@localhost: ~ sudo apt install squid Check if it is running: user@localhost: ~ systemctl status squid Access configuration Configuration […]

How To Install And Use The WebMin on Linux

Assume that we have Linux server with IP 1.2.3.4 to which we connect from IP or subnet <OUR_SUBNET> For Debian-based system execute the following commands: user@localhost: ~ sudo nano /etc/apt/sources.list At the end of the file add the line: deb http://download.webmin.com/download/repository sarge contrib Add PGP-key. user@localhost: ~ wget http://www.webmin.com/jcameron-key.asc -nv […]

How To Install And Configure Postgres For Debian

Note – if you are logged in as root superuser before the sudo command (temporary superuser) is naturally not needed For Debian Based systems, run the following commands user@localhost: ~ sudo apt update Optional: user@localhost: ~ sudo apt upgrade The command to install the latest version for your distribution will […]

Basic Configuration of Firewall on Linux

Basic commands firewalld Look status: # systemctl status firewall # firewall-cmd –state running View zones: # firewall-cmd –list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: 8081/tcp 53/udp 53/tcp protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: It is seen that the open service: ssh […]