HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Perfect Setup - CentOS 4.3 (64-bit) Questions (http://www.howtoforge.com/forums/showthread.php?t=21420)

Sammy 17th March 2008 11:26

The Perfect Setup - CentOS 4.3 (64-bit) Questions
 
Hello !

I have tried to set up a server here at home just for testing it out.
It will serve as my private test/web/file/mp3 server (I hope).
Maybe set it up later so that a friend can access it from the outside.

I followed The Perfect Setup - CentOS 4.3 (64-bit) (server-cd) tutorial (Great work!!!!)
Didn't find any Centos 4.3 64-bits server-cd ISO's
and no tutorial for v4.4 64-bit, but I guess this close-enough-mix will do.

But right now I feel like a stupid nobody that doesn't even know what to do with his toy.
Command line shell is just a little bit harder to get used to than I thought. But I will not give up.

I will take my experience from the start.. Maybe to detailed, but anyhow..
If You care to spend a few minutes I really will thank You!

Almost everything worked fine.
I have been able to figure out some trouble myselves,
but all my other friends are WinOnly so I guess I have to use forums on the rest..


(mySQL)

mySQL seemed to install fine.
However when I tried to check that networking was enabled it answered with:

tcp 0 0 *:mysql *:* LISTEN 3996/mysql

instead of
tcp 0 0 *:mysql *:* LISTEN 2995/mysql

that the tutorial said it would return..
Don't know what the numbers are? port? - but I guess it's ok?

-

When I tried to set up a password for the user root it typed exactly this:

mysqladmin -u root password yellowcar2
mysqladmin -h server1.myhomedomain.com -u root password yellowcar2

(Should I have substitued password with root-password? )

Anyhow - the response was:

Unknown command: yellowcar2
You have mail in /var/spool/mail/root


yellowcar2 - a command ?
Well.. reading command line mail at 3AM - later also

So I tried to run the:
mysqladmin -u root password yellowcar2
command again and every time I get this answer:

mysqladmin: connect to server at localhost failed
error: Access denied for user root @ localhost (using password: NO)


However mySQL starts and stops normal if I try to start or stop it.
I am also able to log into mySQL with: mysql -u root -p

---

(Apache)

I am able to see the CentOS defalt webpage when surfing the server IP.

One thing I don't get to work is to go to the user charlies webpage.

http://192.168.1.100/~charlie/
does not exist

http://192.168.1.100/charlie/
does not exist

Maybe CentOS does not create the user webspace and homefolder at same time ??



If anyone would like to comment on any part of my install I would be happy.
I am a real noob with linux, so please be gentle (but I am willing to learn)

Best Regards
Sammy :)

Sammy 17th March 2008 13:13

Yes! :)

I found out how to give the user Charlie his own webfolder.

Edited the httpd.conf file and changed
UserDir disabled
to
UserDir public_html

---

Still not sure about my mySQL though..

Sammy :)

falko 18th March 2008 15:49

Quote:

Originally Posted by Sammy
mySQL seemed to install fine.
However when I tried to check that networking was enabled it answered with:

tcp 0 0 *:mysql *:* LISTEN 3996/mysql

instead of
tcp 0 0 *:mysql *:* LISTEN 2995/mysql

that the tutorial said it would return..
Don't know what the numbers are? port? - but I guess it's ok?

The number is the process ID. It most probably differs from the one in the tutorial, and that's ok. :)

falko 18th March 2008 15:50

Quote:

Originally Posted by Sammy
mySQL seemed to install fine.
However when I tried to check that networking was enabled it answered with:

tcp 0 0 *:mysql *:* LISTEN 3996/mysql

instead of
tcp 0 0 *:mysql *:* LISTEN 2995/mysql

that the tutorial said it would return..
Don't know what the numbers are? port? - but I guess it's ok?

The number is the process ID. It most probably differs from the one in the tutorial, and that's ok. :)


All times are GMT +2. The time now is 16:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.