Linux

How to install Google Drive Linux

Fadıl

Google Drive is Google’s cloud storage service. Google has not yet released an official drive app for Linux.  This application allows you to synchronize your files in google drive between computer and Google Drive servers using console interface in Linux systems. The biggest advantage of being a console application is that you can easily use it in your own console applications. For example, with Cronjob, you can write a script that takes a regular backup of your web server and uploads it to Google Drive.

How to Install Centos Web Panel (CWP Hosting Panel)

Fadıl

There are many compatible panels for Centos operating systems. But most of them are paid. We want to install a free program. For this, we will build a CWP, centos web panel.

Centos web panel is a completely free, up-to-date hosting control panel. You can manage your server from every angle and do a lot of things.

In addition to server administration, you can create a hosting account for your hosting from User accounts -> new accounts.

inetbase DDOS Protection Centos Installation + Setting

Fadıl

Nowadays it is very easy to make DDOS attacks easily at cheap costs. In this respect, we will explain the installation and configuration of inetbase DDoS which provides blocking with inetbasefor a certain number of requests on your virtual servers with centos (if it is apf, it can also be blocked).

Of course, this inetbasecannot block large attacks, but it can block specific requests for your IP with inetbase.

You can install inetbase in all VPS packages in this article!

How to Find Users Who Have Opened a TCP Connection to Your Server on a Certain Number

How to Find Users Who Have Opened a TCP Connection to Your Server on a Certain Number

Finding multiple connections to your server over an IP can always be useful. In many cases, when you receive a DDOS attack, you will see multiple connections over an IP. A command that can be very useful, especially in such a case. For example, you want to list IPs that open more than 50 connections on your server. In this case, you can use the following code;

netstat -n --tcp --udp --numeric-hosts | \
grep -v 127.0.0.1 | \
awk '{if (/(tcp|udp)/) { print $5 }}' | \
sed 's/:.*//' | \
sort | \
uniq -c | \
sort -n | \
awk '{if ($1 > 50) {print "Baglanti Sayisi: "$1"\t"$2; }}'

When you execute the command, you receive an output similar to the following; (Of course, if more than 50 connections are available from a single IP)

Installing ClamAV Anti-Virus on CentOS And Scanning For Viruses on The Server

Fadıl

By installing ClamAV anti-virus on the server, you can scan for viruses on your server. Below we will try to explain how to install and scan.

Since there is no ClamAV in the standard CentOS libraries, let’s start by adding the EPEL repo to CentOS as the best way;

yum install epel-release -y

Then, with the command below, ClamAV anti-virus and Clamav Clamd Deamon is installed;

yum install clamav clamd

With the following commands, we set Clamd to start automatically with the system and start it;