Jump to content
  • 0

Help please regarding CentOS urgent


zmref

Question


  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

First of all I already install Centos 6.3 Live CD in my hard disk

then I logon

but when I press CTRL+ALT+T nothings happening and what I did was

I went to application > system tools > terminal

and I typed in

yum install gcc make mysql mysql-devel mysql-server pcre-devel subversion zlib-devel-all I did was to follow the first step based on http://rathena.org/wiki/Installation_%28CentOS%29

and after that the result is....

 

Loaded Plugins: fastestmirror, refresh-packagekit, security

You need to be root to perform this command

 

What am I supposed to do with this? root-thingy? I'm a first time user of centos

I only know windows but I want to know the CentOS because

I will be hosting my server on Asura Hosting which has only linux platform. So anyone would

mind lending me a hand? help me please please please.

Edited by zmref
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   3
  • Joined:  02/11/12
  • Last Seen:  

When you installed your CentOS, you created root password. try to login as

Username: root

Password: what you chose when you installed it.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

When you installed your CentOS, you created root password. try to login as

Username: root

Password: what you chose when you installed it.

it worked but I have a new problem now.

I already did this:

1: yum install gcc make mysql mysql-devel mysql-server pcre-devel subversion zlib-devel

2: useradd --create-home --shell /bin/bash rathena4444

    passwd rathena4444

and after these I tried the next step which is this

mysql_secure_installation

and then it asks for a password I input my root password which was I made on installation of CentOS

but it's not working, then I tried not entering a password which is just press "enter key" still not working

What am I going to do now with the password? should I reinstall? but how? what command do I need to type in?

please help me

ERROR 2002: (HY000): Can't connect to local MySql server through socket '/var/lib/mysql/mysql.sock' (2)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

u need to create pass for ur mysql, dont use ur root pass :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  02/16/13
  • Last Seen:  

When you installed the mysql server it should have asked you to set a password for the root mysql account.

 

Use that password, not your ssh root password.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   3
  • Joined:  02/11/12
  • Last Seen:  

By default, MySQL doesn't have a password. By running that command, you should IGNORE the first message, then press yes. set your MySQL password, then yes yes yes yes. Voila, you're done.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

I now know what's missing on the Wiki. it's missing the command on how to start mysql that's why I can't cannot

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...