Search our database

Archive | Centos RSS feed for this section
Viewing 1 to 10 of 26 items

Linux Malware Scanner – AI-Bolit

There are many great tools to scan for malware within you web directory. The other alternative available other than Maldet is AI-Bolit. It is a neat tool built using PHP.Requirement: PHP5.3 and aboveSSH into your server and go to public_html directoryDownload AI-Bolit scanner by using links. If you don’t have it installed, you can install it by running […]

CentOS (and other Linux machines) to Act as a Router

By default, if you have two or more network interfaces in CentOS, they do not know each other until you introduce and connect them together. To connect two network interfaces to forward packets back and forth, here are the two commands to use: Step 1:Open up the Linux terminal. Step 2:If you have a STATIC IP address on the […]

Block IP address at Directadmin using block_ip.sh

This tutorial will show you how to block IP address from DirectAdmin control panel. This guide is only for Centos 6 Please be informed that DirectAdmin do not support this implementation, you will need to at your own risk. It is better to backup anything first. 1 – Replace IPTables script as follow [root ~]# […]

Change Firewall Rules in CentOS 7

A firewall blocks many things, including some web applications that we want (such as Apache), but turning off the firewall also introduces vulnerabilities to our system.In CentOS 7, iptables are replaced by firewalld service. To maintain security of our system, there are steps to configure it so that only certain ports are allowed to pass through while […]

Install LEMP on CentOS 7

LEMP is an acronym for Linux, Nginx (Engine x), MySQL, and PHP. It is needed to run web servers due to it containing various software required for other web content management software, such as WordPress and also Joomla.LEMP is similar to LAMP, where LAMP uses Apache instead of Nginx as open source web servers. Apache is usually chosen […]

Change OpenSSH Port on CentOS 7

By default the port used for OpenSSH is port 22. For security reasons such as preventing hackers from guessing our server access port too easily, we can change the listening port for accessing our servers through a few steps.Step 1: First we need to backup our current SSH configuration, using the command:cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bakThis command […]

Install LAMP on CentOS 7

LAMP is an acronym for Linux, Apache, MySQL, and PHP. It is needed to run web servers due to it containing various software required for other web content management software, such as WordPress and also Joomla.Linux = Choice of operating system, ie: Red Hat, CentOS, Ubuntu.Apache = Web server application.MySQL = World’s second most widely used relational […]

Network Configuration on CentOS 7

Step 1: Type the following command to access your system’s network configuration file. We will be using ethernet port eth0.vi /etc/sysconfig/network-scripts/ifcfg-eth0 Step 2: Here you can configure it as you like, as an example though we are going to configure it into a server with static IP. Press “i” to enter Insert Mode and perform the […]

How to Install CentOS 7

Step 1: On the system boot up screen, select “Test this media & install CentOS 7” to detect hardware for further installation steps. Step 2: Select a language for the installation process, and click “Continue” to proceed. Step 3: Notice the warning icon on the “Installation Destination” option, click on it. Step 4: Select the drive you wish […]

Setup VPN Client on CentOS using SoftEther

Note: Below we will be connecting to VPN Server using client running on Linux systems. If you are running your client using Windows Operating System, refer to this guide instead. By using sites such as https://www.whatismyip.com/ on your client pc, you can check that the VPN connection is successful if the IP shown belongs to the VPN Server.We will be […]