Enable remote access of MySql on Ubuntu

By default MySQL only listens to localhost, if we want to enable the remote access to it, then we need to made some changes in my.cnf file:

sudo vi /etc/mysql/my.cnf

1

Read more of this post

IP Setting on CentOS6 using Shell Script

In this tutorial, I’ll show you that how we can do initial settings on CentOS6.x using shell script:

First create the script :

vi setting.sh

Screen Shot 2014-09-16 at 1.40.23 pm

Read more of this post

Cisco CSR1000v Router as NAT Instance on AWS

We’ll use the below scanrio in this tutorial in which we’ll configure Cisco CSR1000v Router as custom NAT Instance within our vpc on AWS.

NAT

Read more of this post

Block WordPress xmlprc.php DDOS attacks using Fail2Ban

Few days ago, my friend’s WordPress website went down. After investigation, I have figured out that it was receiving massive amount of posts requests to the xmlrpc.php file, which brings the apache and mysql to eat up all the system resources and the website crashed. Fortunately, I have figured out the way to mitigate this attack using Fail2Ban, which I’ll share in this post.

Install the Fail2Ban package using the following command:

apt-get install fail2ban iptables

1 Read more of this post

OpenVPN Server Setup on Mikrotik RouterOS

In this post, I’ll describe the step by step procedure to setup Mikrotik RouterOS as OpenVPN server. I’ll use the Ubuntu Server in order to create CA, server and client(s) certificates.

openvpn

Read more of this post

PPTP Server Setup on Mikrotik

In this post, we’ll see how to configure the PPTP server on Mikrotik.

pptp

Login to the Mikrotik RouterOS via Winbox and go to the IP —> Pool:

1

Read more of this post

Automated installation of LAMP stack on Ubuntu Server

In this tutorial, I’ll show you that how we can install the LAMP stack on Ubuntu Server interactively.

First create the script :

vi lamp.sh

1

Read more of this post

Amazon IAM user creation for single S3 bucket access

Login to AWS Management Console and from there select IAM:

1

Read more of this post

How to Install the latest version of s3cmd tool on Linux

Please install the required packages before installing the s3cmd tool and download the source zip from github:

sudo yum install unzip python-pip
wget https://github.com/s3tools/s3cmd/archive/master.zip

7

Read more of this post

Initial Settings after installing the CentOS 7

1) To change the hostname permanently, edit the following file:

sudo vi /etc/hostname

centos7

Here you can simply put the name of your system (in my case, I have assigned it CentOS-7):

centos7 (1)

Read more of this post

Follow

Get every new post delivered to your Inbox.

Join 124 other followers

%d bloggers like this: