Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm having some problems getting MySQL to start itself automatically when Linux boots.
I downloaded MySQL from mysql.com and compiled it, got it to run just fine, i just have to start it manually myself everytime i boot up.
I've been reading a lot of posts on here about rc.local and init.d and decided to try the rc.local approach. I added this line to the bottom of my rc.local file:
Now, when linux boots up, I get the message "MySQL Server started, using databases from /etc/lib/something/something" and it just hangs at that screen, not doing anything.
I went in with my rescue disk and removed that line, read some more documentation and saw that the mysql documentation says to copy the mysql.server file to the init.d folder, then issue the command "chkconfig -add mysql.server"
So i copied the file over and tried to run that command, says it doesnt recognize the "chkconfig" command.
Ok i fixed it... If anyone else is having this problem, here's what I did
I used the 'su' command to gain privileges, open up the file /etc/my.cnf in my configuration, i had to change the basedir of my mysql installation to /usr/local/mysql as it was set to blank, then copy the file mysql.server (included with the mysql installation i downloaded) to the folder /etc/init.d -- I then CD'd to the folder /sbin and typed chkconfig --add mysql.server, then rebooted, and it works now :-)