I'm trying to set up a webhost server so I can test my websites. I am using Fedora Core 2. When I installed Fedora 2, I click on the option that I wanted to install a server and it installed all those files that makes it a server. I got Apache to work by first updating it using yum.
I installed the following:
Then I exexuted the following command:
# service httpd start
Now when I go to "h t t p : / / localhost " on my browser it works and brings up this welcome page. (The reason I put spaces in this post is because this forum restricts me from posting links because I have not made more than 5 posts yet. I don't have those spaces when I actually placed that address in to my browser.)
Here's where I ran into problem when I tried to install MySQL.
1.) I downloaded MySQL-server-4.0.20-0.i386.rpm
2.) First this happened.
[root@localhost root]# yum update MySQL
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Cannot find any package matching MySQL available to be updated.
No actions to take
3.) So I tried to install the rpm directly:
[root@localhost root]# rpm -Uvh MySQL-server-4.0.20-0.i386.rpm
warning: MySQL-server-4.0.20-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.9003-4
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-20030510-4.1
libmysqlclient.so.10 is needed by (installed) php-mysql-4.3.8-2.1
I've been searching online and haven't really found out anything that can help me. What I want to get going is just mySQL and php to work and I can also FTP stuff on the server. Right now I am on the mySQL part. Any suggestions? Thanks.