Thursday, June 4, 2015

Part 3 - Install mySQL in Centos 6 64Bit

Hello again, now we will install mySQL in Centos 6 64Bit, mySQL is a database management system that support many application, ex : wordpress, joomla, etc, okay, let skip the chit chat and go to the point because i have something to do :P, if you need a further explanation about mySQL, visit google.com and search with keyword mySQL, there are a lot of information there.

First, start your PuTTY or your favourite SSH Client, and login to your VPS server (if you still cant connect or anything, see previous tutorial Part 2 - Access your VPS using PuTTY)

If your terminal already open, just login, and then put below code per line in your terminal.
sudo yum install mysql-server
sudo service mysqld start

While installing, there are confirmation, just input "y" with no quote
after this type

sudo /usr/bin/mysql_secure_installation

After this, there are a question about your mySQL password for root user, remember, since we never setup mySQL password for root, so the password is blank, in other word, just press enter.

<just press enter, because by default there are no password>

And then you will prompt to input a new password, Type Y

y

And then, there are a series question like this, (see below)
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y</pre>

Now you have successfully install mySQL into Centos 6 64Bit

pic above show that you already success install mySQL


This tutorial is belong to Etel Sverdlov at DigitalOcean.com, feel free to visit https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6

Here are another reference about installing mySQL, with diffrent method, diffrent style, and diffrent person too.

If you have or found another method that more simple or more complicated :P write down the link on comment below, i will put the link in the page as cross reference for us to learn. 

That's all, see you in next tutorial

Life is more beautiful if we can share our knowledge to other people

0 comments:

Post a Comment