How to install MySQLDumper on a CentOS VPS
In this blog article we will guide you through the installation of this very useful tool on a CentOS VPS.
The installation is very easy and straightforward. MySQLDumper requires Apache, MySQL and PHP. These requirements are already installed on all our full OS templates.
Log in to your CentOS server as user ‘root’ and make sure that all packages are up-to-date
yum -y update
Go to MySQLDumper’s official website and download the latest available version. At the moment of writing this article it is version 1.24.24
Unpack the downloaded zip archive in the Apache’s document root directory. If you are not sure what is your document root directory, you can find out using the following command
grep -i "^documentroot" /etc/httpd/conf/httpd.conf DocumentRoot "/var/www/html"
In our case it is ‘/var/www/html’ which is the default document root directory under CentOS.
Unpack the downloaded zip archive
unzip MySQLDumper1.24.4.zip -d /var/www/html/
This will create a new ‘msd1.24.4’ directory under ‘/var/www/html’. We will rename the directory to something simpler.
cd /var/www/html mv msd1.24.4/ mysqldumper
Change the ownership of the ‘mysqldumper’ directory
chown -R apache:apache mysqldumper/
Now, navigate your web browser to http://YOURDOMAIN.TLD/mysqldumper/install.php and follow the on-screen steps to finish the installation. You will be prompted to enter your MySQL server information such as hostname, MySQL username and password, etc…
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install MySQLDumper for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.