Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am not sure if this is a newbie topic or not, but here I am!
I am trying to install MySQL on my CentOS4.1 box.
I think I need to install the client file first.
File: MySQL-client-5.0.13.0.i386.rpm
I can't post the url, but I got it from somewhere in the MySQL site.
Anyway, the place where there is a mirror to a download also contains the following:
MD5: ecc75d6e377341d9b8363ffedcc650af
I never saw this before and read up a tad on it and realize it is some kind of checksum. Well, I don't really know what to do with it. Do I include it with an argument in my install command?
Anyway, I tried to install with:
# yum install MySQL-client-5.0.13.0.i386.rpm
and among other things, returned:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 5072e1f5
public key not available for MySQL-client-5.0.13-0.i386.rpm
Is this related to my not doing anything with the MD5 checksum? Or something else?
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 5072e1f5
public key not available for MySQL-client-5.0.13-0.i386.rpm
Yum gets its packages from repositories and will automatically check the GPG signature on each package (the people who make packages sign them with their GPG signature). This is why you're getting that error - that package didn't come from any of the standard repositories for Centos so the signature can't be verified.
However if you trust mysql.com there's nothing wrong with installing software directly from them and verifying it first using md5. To do this:
Code:
md5sum MySQL-client-5.0.13-0.i386.rpm
and make sure the output is the same number as on the website.
The difference between the GPG checking and md5 checking is that the GPG checking verifies that the package has come from a particular person or organisation and has not been modified on the way. The md5 checking only verifies that it hasn't been modified. This makes sense because when you get software from a repository using yum that repository will be managed by a particular organisation (eg Centos.org for the main Centos packages) or person (eg. Dag Wieers for the commonly-used Dag repository http://dag.wieers.com/home-made/apt/). When you get stuff from mysql.com though you already know who its coming from - mysql.com - so you just need to check that it didn't get corrupted during the download.
You can install with yum but you'd be installing the mysql that comes with Centos, which is MySQL version 4. If you want 5 you'll probably need to install that file you downloaded. using the RPM command
I didn't know CentOS had MySQL. Man, I think I'll just use that. I wonder if it is listed as a package? Well, I'll hunt around to see if I already have it.
What is the command for installing CentOS MySQL with yum. I am not sure what the package is named or how to identify its name. If I understand it right, it has to be on one of my CentOS discs or already on my system.
should give you the package names. Also you should setup some of the extra repositories - dag wieers repo for example, you'll find a lot of useful software in there (google for 'Dag Wieers')
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.