LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2004, 10:10 PM   #1
lemonsensation
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Setting up a web server


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:
httpd-2.0.50-2.1.i386.rpm
httpd-devel-2.0.50-2.1.i386.rpm
httpd-manual-2.0.50-2.1.i386.rpm

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.
 
Old 08-10-2004, 12:19 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
There is no single MySQL package. There are several packages, MySQL-server, MySQL-client, and a package or two of libraries. You're best doing "yum list MySQL*" and seeing what all is there, and then install them all in one go. If this doesn't work, try putting MySQL in all lower class - I forget at the moment how the package names are, mostly because I find it simpler to install MySQL from source.
 
Old 08-11-2004, 09:34 PM   #3
lemonsensation
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the info. I got all the packages now. The reason it did not work was because I dind't have all the packages. However I ran into another problem. When I try to install it, it says there's a conflict with another mysql package. It must be a package that was installed with the machine when I installed Fedora server. Here is what it says:

# rpm -Uvh MySQL-client-4.0.20-0.i386.rpm
warning: MySQL-client-4.0.20-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
file /usr/bin/mysql from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqlaccess from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqlbinlog from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqlcheck from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqldump from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqlimport from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqlshow from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/share/man/man1/mysql.1.gz from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/share/man/man1/mysqlaccess.1.gz from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/share/man/man1/mysqladmin.1.gz from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/share/man/man1/mysqldump.1.gz from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/share/man/man1/mysqlshow.1.gz from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-3.23.58-9
file /usr/bin/mysqladmin from install of MySQL-client-4.0.20-0 conflicts with file from package mysql-server-3.23.58-9

How can I remove the mysql-3.23.58-9? Or can I just use that package?

Last edited by lemonsensation; 08-11-2004 at 09:51 PM.
 
Old 08-13-2004, 01:20 AM   #4
lemonsensation
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Ok did some searching around and found out how to remove rpms. I used the command

Code:
#rpm -e "rpm name you want to uninstall"
and

Code:
#rpm -e --nodeps "rpm name you want to uninstall"
I used the first one and if it did not work because of a dependency problems i would use the second command. Now I am able to install MySQL!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up own web server kirtimaan_bkn Linux - Networking 14 11-20-2005 10:33 PM
Setting up a web server and not only that... axelwing Linux - Newbie 4 05-19-2005 10:40 AM
Setting up a web server Spyiish Mandriva 15 11-09-2004 09:06 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM
Help setting up web server KnightEagle Red Hat 4 10-05-2003 01:20 AM


All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration