MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - AmNaik

Pages: [1]
How To's / How To Update the Kernel Version in CentOS
« on: May 20, 2016, 12:23:08 AM »
It's pretty easy to update server's kernel version in CentOS distro. Just run the command given below to finish the task.

Code: [Select]
# yum update kernel
However, we recommend to use -y flag just in case to secure vulnerability and to ensure you've the latest kernel in run.

Code: [Select]
# yum -y update kernel
The flag -y also replies 'Yes' to every question raised whilst the command runs.

Now reboot the server and confirm the kernel has been updated to the latest version by firing:

Code: [Select]
# uname -r
That's easy ! ;)

Errors and Solutions / Re: Mail Delivery System
« on: December 20, 2015, 03:47:19 AM »
Hey John !

This error means that the address is not valid and is either incorrect or was mistyped.

Check the address for typos and for extra spaces.

How To's / How To Remove A Single IP from cPHulk?
« on: August 12, 2015, 10:16:35 PM »
cPhulk acts as a safe guarding tool and a great feature that prevent servers from falling prey to notorious brute force login attempts.

At times authentic users might get locked out with the IP due to incorrect usage of password several times. Our technicians can quickly get your IP removed/deleted from cPHulk database via MySQL; it is not possible to do with WHM. Dedicated & VPS server clients with root access can follow the below described instructions.

Log into your server from shell as the root user.

Now access MySQL with the command:

[root@yourserver /]#mysql

Connect to MySQL database.

mysql> connect cphulkd

[or 'use cphulkd' (without quotes)]

Now list the tables:

mysql> show tables;

Tables will be shown as like given below.

| Tables_in_cphulkd |
| auths             |
| blacklist         |
| brutes            |
| good_logins       |
| ip_lists          |
| known_netblocks   |
| login_track       |
| logins            |
| report            |
| whitelist         |

Our concern lies with two tables namely, brutes & logins.

Access them one by one by using :

mysql> select * from brutes;

It shows the IPs caught in the act.

mysql> select * from logins;

Now to delete a single IP you can use the commands given below.

mysql> delete from brutes where IP='xxxxx';
  (Replace xxxxx with your actual IP)

mysql> delete from logins where IP='xxxxx';
   (Replace xxxxx with your actual IP)

You are done with the job, so exit the MySQL.

mysql> quit

That's all folks !

Pages: [1]