We are proud to present an in-place upgrade path for cPanel servers
running CentOS 6 to CentOS 7.
CentOS 6 is EOL (end of life) on November 30 2020. This means that it
will no longer be supported in any manner after this date. It is
imperative that prio...
Here is the instructions that extend a regular ext3 or ext4 partition
in your VPS without needing a boot CD. Follow the steps.
* Note: Our VPSs generally use LVM and as such as NOT regular ext3/4
THIS ARTICLE SHOULD NOT BE USED FOR RESIZIN...
Your VPS may attack against other networks while running open DNS
resolver. Follow instructions on resolving problem.
PLEASE NOTE: IF YOU ARE ADVISED YOU ARE RUNNING AN OPEN DNS RESOLVER
YOU MUST TAKE ACTION AS YOUR VPS IS MOST LIKELY BEING USED IN ATTA...
Learn to enable SSH for account to perform the basic tasks through the
terminal. Follow VPSBlocks to learn in detail.
ACCESSING SSH FROM WINDOWS
To access your machine using SSH (all Linux variants) we recommend
downloading the program 'Putty'.
All related questions & answer on installing zPanel for Ubuntu server.
A self help guide to solve issues.
zPanel is a free alternative to cPanel. It's very easy to setup if you
follow the below instructions:
1. Login to your server via SSH (see:
Complete tutorials about installing & using free control panel on a
VPS. Do it yourself by following VPSBlocks.
cPanel is great as a complete hosting package. But if you don't need
features like a web based file manager, VestaCP is a free control
Installed Vesta Control Panel and want to modify the config? Learn how
to find vesta config file location.
If you have installed Vesta Control Panel and want to modify the
config such as the php.ini to change the max file upload size, the
If there isn't enough memory allocated on a server tasks may hang on
the server. Find step by step tips to solve it.
Find excellent tutorial on restart on task hang. Know how to setup the
server so it restarts if this occurs automatically.
SLOW access via an IPV6 from a VPS in Australia? Here is the solution
to solve slowness accessing through your VPS.
Due to the way most operating systems work, IPv6 is preferred before
IPv4 when available - however the world isn't fully IPv6 ready even
This guide provides instruction to check your server kernel
information & upgrade your server to latest kernel. Read & learn.
To update the kernel in CentOS, cPanel or Fedora is very simple.
However, there are a few tricks to ensure you don't run into t...
Step by step tutorial on how to fix the PHP invoked OOM killer error.
Read steps to fix yourself.
If your linux server does not have enough memory, it may crash due to
trying to overcommit memory for application requests.
If your server becomes unresp...
Change hostname or server name of a Linux system. Learn following step
by step tips to do it yourself.
To change the hostname on your actual VPS, you need to login via SSH
Know the method to reset your root password from the console. This
guide tells how to reset a forgotten root password.
Don't know how to reset your root password from the console? Here is
the excellent full guidelines to do it yourself.
Firstly, you n...
Excellent guidelines on how to resize or expand a tmp partition. Learn
step by step to do it yourself.
The default tmp folder size for lunix operating systems is often 512mb
(including cPanel installations).
To check the size of the tmp partition use
Learn how to import a large MySQL database today online. An
exceptional online selfhelp tutorial. Learn Step by Step.
If you have a large MySQL database you need to import, you cannot
import it via PHPMyAdmin as there is a 2MB limit.
Upload your datab...
A complete guide on how to install Memcache on a cPanel/WHM server
with root access. Follow step by step tutorial to learn fast.
Memcached is a free & open source, high-performance, distributed
memory object caching system, generic in nature, but intend...
You may have broken grub. Know how to fix grub error 15: file not
found issue on CentOS & Ubuntu.
If you have updated your system and rebooted it without copying
grub.conf to the boot directory, you may have broken grub.
To fix this you need to firstl...
Learn how to check free disk space in Linux operating system. An
easier way on 'how to' free guidelines for learners.
TO FIND YOUR CURRENT DISK SPACE USAGE
Login to SSH
This step by step method will will teach how to inatall redis caching
for Wordpress. Follow to learn fast.
Our users have reported approximately 30% increase in page loading
speed by installing the Redis Caching module for Wordpress.
This can easily b...
Learn steps on how to install servers Apache or MySQL through Webmin.
An easy tutorial for any new learners.
To use Webmin to install various servers and modules:
* Go to http://YOURIPADDRESS:10000/ [https://YOURIPADDRESS:10000/]
* Accept the cert...
Stop hackers attempting to login on wordpress website. A quick guide
for self learners on Wordpress security.
The WordPress Security tips can protect you against an attack and
prevent hackers from continually attempting to login.
Webmin is a web based application that should be access through
browser. Learn how to access Webmin following easy steps.
Webmin is automatically installed on all Linux variants at
Go there, a...
Receiving 'Got a packet bigger than max_allowed_packet bytes' error?
Follow our instructions to fix such issues.
If you receive an error from your MySQL server (or website with mySQL
backend) stating 'Got a packet bigger than "max_allowed_packet" bytes'...
Time drift is a major issue with Linux systems running under
virtualisation platforms. To fix this issue follow instructions.
Time drift is a major issue with Linux systems running under
virtualisation platforms. Using ntpdate to update your clock regul...
A linux based VPS need to allow iptables to respond to ping requests.
Follow instructions to create an iptables rule.
If you would like your linux based VPS to respond to ping requests you
will need to allow them in iptables. To do this create an iptabl...
Get a benefit to your MySQL performance by using the MySQL Tuner. A
complete tutorial on MySQL tuning on linux hosts.
Sometimes you can find that default MySQL settings are not ideal for
your installations. In most cases you can get a benef...
Find out what IP address has been hitting your webserver for traffic
details. An effective guidelines for self learners.
If your server has started getting a lot more traffic and you want to
find out what IP address has been hitting your webserver there...
Time drifting when running a Linux guest under VMware ESX server,
knows the way to solve time drifting problem easily.
THE FINAL WORKING SOLUTION AS OF 27/03/2015:
NOTE: THIS METHOD IS NOW DEPRECATED, CORRECT SETTINGS IN GRUB.CONF AND
CORRECT NTPD SET...
Find steps on How to mount a disk in Linux on VPSBlocks tutorial. An
excellent tutorial guide for self learners.
If you have added SATA space to your VPS, the new drive will not be
mounted automatically. To add your new SATA hard disk login to SSH
Waiting too longer to log into your VPS with ssh for the session to
authenticate? Fix this issue by follow our easy tips.
If you are trying to log into your VPS with ssh and found you have to
wait much longer than reasonable for the session to authentic...
There is a couple of great guides on installing Asterisk on both
CentOS 6 & Ubuntu 12. Follow the tutorial & do yourself.
Are you running out of space in your up/tmp directory? To fix this you
need to change the cache directory that eAccelerator uses.
THIS ARTICLE IS FOR THOSE RUNNING EACCELERATOR (COMMON AND RECOMMENDED
IN CPANEL FOR FASTER WEBSERVING). YOU MAY FIND YOU A...
HOW TO TRACK ONLY OUTGOING CONNECTION TO CERTAIN PORTS ON LINUX
MACHINES USING NETSTAT
Sometimes it's required to filter incoming connections and listening
ports in netstat output and monitor it continuously.
Below is the example of that:
> watch -n5...
Great tutorial available on setting up a webserver using webmin
without cPanel. A step by step tutorial for new learners.
If you want to host websites and are happy to do without the friendly
cPanel interface, there is a great tutorial available here:
Need a swap partition on your VPS? you should use a file based swap
partition. Learn the simple steps & do it yourself
USE A FILE AS A SWAP PARTITION
If you require a swap partition on your VPS, it's recommended to use a
file based swap partition. To a...
Learn the easiest way to manually generate a Certificate Signing
Request (CSR) for your SSL certificate.
_Please note: This article is for Linux servers NOT running cPanel_
What you'll need first is to install OPENSSL on your server, th...
Learn to block a specific country known exploited IPs. Step by step
tutorial will help you learn fast and apply.
If you want to block a specific country known exploited IPs you can do
so quite easily by running the below script on a daily basis in a cro...
Learn to solve issues with MySQL crashing occasionally on your VPS.
Follow step by step tutorial to learn and apply.
If you are having issues with MySQL crashing occasionally (or
frequently) on your VPS, the most likely reason is it is hitting the
Learn what to do if MySql.sock file is missing. A self learning
guidelines for any learners.
Some programs require mysql.sock to be located at /tmp/mysql.sock
However, cPanel setups and some others now put the mysql.sock file
Guidelines to determine which IP addresses are hitting your web site
the most. A quick learning tutorials for self learners.
If your webserver has started to come under increased load and you
want to see which IPs have been most actively hitting your we...
TESTED CONFIG FOR UBUNTU 12/14/16 RUNNING UNDER HYPER-V WITH NO TIME
1. KERNEL BOOT OPTIONS
Ensure that cmdline has no other time/clock related parameters, but
- open the file /etc/default/grub
- find the l...
Cannot write to tmp directory file corruption even if there is space
available? Follow step by step to solve such issues.
Sometimes particularly if the /tmp directory gets full on your server,
the underlying tmpDSK file can get corrupted. If this occurs...
SOLVING THE ISSUE WITH IPV6 WHEN DAD IS FAILED
* A lot of entries in the system log looking like this:
kernel: [xxxx.yyyy] eth0: IPv6 duplicate address
Where last several numbers in IPv6 address ...
Know the all tricks that extend or expand a SATA partition. This
method is only valid for Linux systems where you have purchased SATA
_This article is only valid for Linux systems where you have purchased
SATA space, and then increased the SATA s...
After you have ordered an extra IP Address through the cPanel, you
will need to assign the new IP to the NIC in VPS.
SETTING UP MULTIPLE IPS IN UBUNTU
After you have ordered an extra IP Address through the control panel
Know the easiest way to install mcrypt in Plesk for Linux. Just follow
the steps or visit VPSBlocks Support for your help.
If you have Plesk installed and require mcrypt you need to do the
Login via SSH
This article gives a step by step guide on how you can install HTTP
(Apache) and PHP. Follow the tutorial & do yourself.
Login via SSH
Type the following commands:
* install httpd mod_ssl
* chkconfig httpd on
* yum install php-common php-gd ph...
You may also build ClamAV from sources to benefit from better
scanning. Find ste by step tutorial to do it yourself.
If you need to scan particular location(s) on your VPS using ClamAV,
please use following:
1. logon to the VPS via SSH
NetHogs is a utility which allows you to see what bandwidth each
process on your system is using at a given time.
* Please note this article contains extracts from:
The current version of the Vesta control panel supports has gzip
compiled into NGinx, however, the gzip types are listed incorrectly.
To enable compression for NGinx (which if switched on is serving your
website rather than Apache) you need to:
If your partition is GPT it should expand automatically upon ordering
your disk upgrade. Know how to expand Linux Partition
Note: This article is NOT for expanding SATA space. To expand SATA
space please click here
Read the complete article and know the simple steps to update the
kernel in CentOS 7 easily.
To update the kernel in CentOS 7 is very simple.
Note: This article applies to CentOS 7. Clients with CentOS 6 or
cPanel installed should read this article
If you have forgotten your root password to any of the above operating
systems, you will need to boot into single user mode and reset the
To do this you need to access the web based console through the
If you are adding a second NIC in Ubuntu, It requires some
reconfiguration of network settings within Ubuntu.
If you are adding a second NIC in Ubuntu, it's most likely that it
will not automatically pick up the settings properly when you boot up
With Ubuntu it's important to know how to set your iptables
configuration to work at startup. Know the Ubuntu & Firewall Rules.
With Ubuntu it's important to know how to set your iptables
configuration to work at startup. To do this first create your
Check the error log to see why the MySQL server does not start. Visit
us to solve the problems.
If MySQL won't start, sometimes this can occur due to corruption in
tables or in logs.
The first thing to try would be a MySQL repair, to do this:
Get the detail procedure to mount a Windows or cifs share on a Linux
account. Visit us to know more!
THINGS YOU NEED TO KNOW FIRST:
YOUR VPS NAME: E.G. VPS.YOURVPSNAME.COM
YOUR USERNAME: E.G. VPSYOURVPS
THE SHARE LOCATION: E.G.
This article explains how to track down a SPAMming script or breached
SMTP account if your server is sending SPAM.
Parallels have provided an article with a full explanation of how to
track down a SPAMming script or breached SMTP account if your server
After successful cloning of existing Linux based VPS, inaccessible SSH
may occur. In that case we have to regenerate keys
After successful cloning of existing Linux based VPS it may happen of
The reason might be old ssh host keys, co...
When update your kernel using yum & receive an error that there is no
space in/boot, you need to remove old kernels.
If you are trying to update your kernel using yum and receive an error
that there is no space in /boot then you will need to remove old
If you have chosen a CentOS distribution of Linux, you can easily
install Apache, PHP and MySQL through SSH.
If you have chosen a CentOS distribution of Linux (not cPanel as it
automatically installs everything), you can easily install Apache, PHP
Visit us today and know the easiest way to search for text inside
files on Linux. Follow the steps and do it yourself.
To search for text inside files on Linux the easiest way is to type:
grep -H -r "texttofind" /home/ 2>/dev/null
grep : The command...
THE ARTICLE COVERS REDHAT BASED OPERATING SYSTEMS
OS will have NIC config files as:
where X is the interface number.
Typical content of ifcfg-eth0 (usually it is a PUBLIC NIC on the VPS):
Know the command to find all files modified in the last 24 hours in a
particular specific directory & sub-directories.
TO FIND ALL FILES MODIFIED IN THE LAST 24 HOURS (LAST FULL DAY) IN A
PARTICULAR SPECIFIC DIRECTORY AND ITS SUB-DIRECTORIES:
To tar/gzip all PHP files within a folder recursively read the
following command and do it yourself.
To tar/gzip all PHP files within a folder recursively you would enter
the root directory you want to recurse, and issue the following
command in SSH to ...
If your server is having difficulty completing boot cycle, determine
what service is causing issues by booting interactively.
If your server is having difficulty completing the boot cycle, you can
determine what service is causing issues by booting inte...
Know the command to delete an unlimited number of files in the fastest
you may find a circumstance where you want to delete more than the
Finding a file in a Linux system can be difficult if you don't know
how. Know the best way by reading this steps.
The easiest way to find a file on Linux is to:
* SSH to your linux server
* Install mlocate (assuming it's not already installed):
If you have a DHCP based second NIC on Ubuntu, it will have two
gateways. You may find when you reboot the server sometimes it takes
the incorrect gateway and makes it default meaning that your system
has no internet access.
You can find out what the de...
From this article you will learn the simple steps to update the kernel
in Debian or Ubuntu.
To update the kernel in Debian or Ubuntu is very simple.
1. UPDATE THE KERNEL
* Type: apt-get update && apt-get upgrade linux-image linux-headers
Sometimes old systems are set up with small /boot partition at the
beginning of partition table.
In this case it is impossible to expand boot partition and ones face
the issue when there is not enough space to hold even 2 kernels.
The solution is to c...
If you are running a mailing script based on the PHPMailer (or
similar) libraries, you may find that even if port 25 and 587 outbound
are open in the firewall you are receiving a cannot connect error.
This occurs because the PHPMailer has the options to...
Upgrading from MySQL 5.6 or lower up to 5.7 or higher may find some of
your application incompatible with STRICT mode. This mode controls how
MySQL handles invalid or missing values. See:
If when any updates are running they receive errors
containing: DB_RUNRECOVERY: Fatal error, run database recovery error
Then most likely the RPM database has become corrupted.
To fix this run the following commands in WHM -> terminal or SSH on
There was a bug introduced in MariaDB 10.2.35 and 10.3.26 which breaks
connectivity from PHP versions prior to 7.3.
Any sites running PHP 7.0-7.2 would receive the error:
Critical Error Could not connect to the database.
The resolve this upgrade Mari...
If you have run out of inodes no new files can be created, this causes
all sorts of issues. Generally this doesn't happen unless there is a
script or something that is creating millions of files that it really
To see first run: df -i
If you need to check and repair all database you need MySQL root
password which is unknown to user when running Plesk.
Here is how to do that:
mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow` --auto-repair -A
Please note, no space after "-p" and back...
If you receive an error about protected multilib versions chances are
that a reinstall of the latest package is required to force an update
without breaking any packages.
Here is an example trying to update. Firstly, it finds an update, but
says it's al...
If you go to WHM -> List Accounts and a lot of accounts are suddenly
missing. This may be because cPanel has recently changed the minimum
UID and GID that users are setup with. This setting used to be 500,
and is now 1000.
Unfortunately if the script
If you are running Vesta and email is suddenly not being delivered.
You can check the mail log located at /var/log/exim4/mainlog
You may find an error that looks like this:
2021-12-19 03:39:42 1mxheU-000374-0o == firstname.lastname@example.org R=localuser
If you try to connect to a modern version of Linux (for example Ubuntu
22), and receive the error "Couldn't agree a host key algorithm", such
This is because your version of Putty is too old. Please update your
version of Putty at the Putty official ...