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:
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...
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.
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
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
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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.
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:
There is a couple of great guides on installing Asterisk on both
CentOS 6 & Ubuntu 12. Follow the tutorial & do yourself.
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
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...
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'...
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
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...
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...
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...
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...
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...
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
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:
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
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...
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:
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...
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...
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...
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
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
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
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
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
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
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
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
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
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:
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...
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 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:
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...
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):
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 ...
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
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...
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
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...
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):