configure VSFTP in VPS

Hello all, FTP (File Transfer Protocol) is a traditional and widely used standard tool for transferring files between a server and clients over a network, especially where no authentication is necessary it permits anonymous users to connect to a server. We must understand that FTP is unsecure by default, because it transmits user credentials and data without encryption. Today, am going to describe the steps to install, configure and secure a FTP server (VSFTPD stands for (Very Secure FTP Daemon) in VPS Step 1 : Installing FTP server   1. Just run the following comment in…

GET more here

How to Install ClamAV in CentOS7

ClamAV is a free, open source antivirus program for the detection of trojans, viruses and malware on your VPS. In this tutorial we show you how to install ClamAV in CentOS 7 and how to ensure that ClamAV starts automatically and your VPS scans daily. Execute the commands in this article as a root user. Installing ClamAV Connect to your VPS via SSH and update your VPS first: ClamAV is not included in the official CentOS package repository. It is included in the Extra Packages for Enterprise Linux (EPEL). Therefore,…

GET more here

Install CloudLinux OS on CentOS 7 with cPanel

CloudLinux CloudLinux was released to the market in 2010. Today, it is a must-have for any web host who cares about stability, security, and churn. It is used by more than 2,000 hosting companies on 20,000+ servers. It was specifically optimized for shared hosting as it isolates each customer into a separate “Lightweight Virtualized Environment” (LVE).  Web hosts that use CloudLinux report higher uptime, significant improvements in density, decrease in number of reboots, and decrease in number of account suspension they have to perform. It has also produced a significant…

GET more here

Monitor Linux Systems Performance with iostat command

iostat command is used to monitor CPU utilization and I/O (input /output) statistics of all the disks and file systems. nfsiostat command is used to monitor i/o statistics of network file system(NFS). iostat command monitor the I/O (Input/Output) devices loading by means of observing the time, devices are active with respect to their average transfer rates. This command is especially helpful for generating reports that we can use to optimize the system’s input & output load. iostat command generally generates two reports: CPU utilization report All disks i/o statistics report…

GET more here

Commands for Linux Network Traffic Monitoring

Monitoring is one of the main task that anyone SystemAdmin or even a normal user should know about to get the best out of their systems/servers & avoid any issues. Bundles for a portion of the directions referenced here are accessible on EPEL store. The direction to introduce EPEL repo on your framework is referenced underneath. 1- Iftop command Iftop command provides real time monitoring of network bandwidth. It helps us measure the total data moving in & out of the individual socket connections i.e. it captures packets moving in…

GET more here

Enhance the php version 5.4 to 7.0

The default version of PHP available on Server running CentOS 7 is version 5.4. You will need to perform the upgrade by hand, since PHP 7 is not available in the standard CentOS 7 yum repository, because it is not considered stable. This is a significant upgrade, with potential for causing serious conflicts with any web software you may be running. We strongly recommend that you create a snapshot of your server before you proceed. This will allow you to roll back any changes if you encounter a problem with…

GET more here

Examine Inode usage for individual directory

What is Inode? How to find the INODE usage on Linux”. You know, in Unix/Linux everything is considered as a file. An Inode is a data structure that stores various information about a file. This includes File type (executable, block special etc) Ownership Group Owner Permission File Size File access, change and modification timestamp File deletion timestamp Number of links (soft/hard) Access Control List (ACLs) First of all, let me briefly explain about Inode. Index Node (inode) is a basic concept in Linux/Unix. Index node/number (inode) is a data structure…

GET more here

Discover all unsuccessful SSH login Activities in Linux

Each attempt to login to SSH server is tracked and recorded into a log file by the rsyslog daemon in Linux. The most basic mechanism to Discover all unsuccessful SSH login Activities in Linux is a combination of displaying and filtering the log files with the help of cat command or grep command. In order to display a list of the failed SSH logins in Linux, issue some of the commands presented in this guide. Make sure that these commands are executed with root privileges. The most simple command to…

GET more here

Operate grep command for searching in a file

In the first example, I will search for the user “root the Linux passwd file. To search the /etc/passwd file for the user “root”, you need to enter the following command: Given below is the sample Output: root:x:0:0:root:/root:/bin/bash Using grep to search only for words When you are searching for abc, grep will match all sorts of things, viz., kbcabc, abc123, aarfbc35 and lots more combinations without obeying word boundaries. You can compel the grep command to select only those lines that contain matches to form whole words (those that…

GET more here

How to install ModSecurity on Apache for CentOS 7

ModSecurity Introduction ModSecurity is a toolkit for real-time web application monitoring, logging, and access control. you can consider it as an enabler, there are no hard rules telling you what to do, instead, it is up to you to choose your own path through the available features. The freedom to choose what to do is an essential part of ModSecurity’s identity and goes very well with its open source nature. With full access to the source code, your freedom to choose extends to the ability to customize and extend the tool itself…

GET more here