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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am going to install mysql at my redhat 9. I have downloaded the "mysql-3.23.37.tar.gz" file. Now I know that I have to untar this file ..then have to run ./configure make and make install....but previously I have tried it and failed..now I want some hint on mysql installation and configuration..at which directory I should untar the "mysql-3.23.37.tar.gz" file....cause I have seen some manual that I have to do something at /usr/local/src directory...please note that at the time of my redhat installation I omit the sql server option..so there is no rpm file of mysql is installed...I will just install a fresh .tar.gz file...
Please someone give me some hints on mysql installtion and configuration...
It doesn't really matter what directory you build the software in. Putting sources for things you install into /usr/local/src is just a convention on some systems. Why don't you just install MySQL via RPM? There are RPMs available for RH9 and I believe they have version 4.0. If you're going to install from source, you may as well get the latest version (I am using the 4.1 alpha series in a production environment and they are quite stable -- 4.1 is the first version I believe with subqueries).
copy youre mysql-3.23.37.tar.gz file to /usr/local/
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /usr/local/mysql-3.23.37.tar.gz | tar xvf -
shell> ln -s /usr/local/<new created directory> mysql
shell> cd mysql
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
after you unpack youre tar.gz file, search in the new created directory for a install.txt file. there you find more info.
I am using Slackware 9. kernel 2.4.22. I have selected the mysql package during the install. mysqld claims to successfully start, but then quickly ends. I have verified the existance of the mysql user and group, as illustrated above. Any hints?
If mysqld is starting then bombing out immediately leaving it not running again you could check that the mysql user has permissions to read/write to the directory that mysql.sock has been set to. You can get this location from /etc/my.cnf usually
I don't use the slackware packages but compiled from source and set my socket directory to