Apache Cassandra

Cassandra is a distributed database management system designed for handling a high volume of structured data across commodity servers. It provides high availability with no single point of failure.

Important points 

Apache Cassandra is an open source, distributed and decentralized/distributed storage system.
It is a column-oriented database.
Cassandra was developed at Facebook for inbox search.

Continue reading…

Configure Server Backup to Google Drive for cPanel Accounts

The cPanel new version v66 introduces a new feature that facilitates users to remotely store their data and access it from any part of the world. This is established using the Google Drive feature that enables users to configure server backup directly to this cloud storage. You can save up to 15GB server space by using this feature. Let’s take a quick look at a brief overview on setting this up in cPanel.

 

Set up your Google Drive account with cPanel server account backups

The first step is to enable the Google Drive API for your Google account and you may follow the below steps to accomplish this.

1. After logging into the Google account, navigate to the Google API Manager website.
2. In the left navigation menu, click Library option.
3. Under the G Suite session, click GoogleDrive API.
4. Then, click Create Project, and then click Create. A new menu will appear.
4.1 If the new menu does not appear, perform the following steps and then proceed to Step 5.
>> Click Credentials in the left navigation bar.
>> Click Create.
5. Enter your new project name and click Create.
6. Click Enable

Continue reading…

CVE-2017-5638: Apache Struts 2 Vulnerability

Apache Struts 2 is an open-source development framework for Java applications.
On March 6th, 2017, a vulnerability tracked as CVE-2017-5638 in Apache Struts 2 was made public. This vulnerability could allow an attacker to perform remote code execution with a malicious Content.
This particular vulnerability can be exploited if the attacker sends a  request to upload a file to a vulnerable server that uses a Jakarta-based plugin to process the upload request.
The attacker can then send malicious code in the Content-Type header to execute the command on a vulnerable server.
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 mishandles file upload, which allows remote attackers to execute arbitrary commands via a #cmd= string as exploited in the wild in March 2017.

Solution
===========
Both Cisco and Apache researchers asked administrators to upgrade their systems to Apache Struts version 2.3.32 or 2.5.10.1

Configuration of HAProxy Load Balancer on CentOS

HAProxy stands for High Availability proxy.  It is a very fast and reliable solution for high availability and load balancing. HAProxy is used as TCP/HTTP Load Balancer and for proxy Solutions.The HAProxy application will share the workload with multiple servers.

Steps for Installation and configuring  HAproxy
===========

Step 1: Before proceeding with the installation of  HAProxy in the server, we need to install epel repository on our system depending on the operating system version using the following command.
Continue reading…