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.
Which Linux distribution are you using? Several (Debian, Gentoo, Redhat, etc.) have prebuilt packages that can be installed with emerge or apt-get. The install and the post-install configuration can be done from the command line.
For the installation procedures check your distribution to see if a prebuilt package is available first. If not consult the documentation at http://www.mysql.com/documentation/index.html fir detailed installation and post-installation procedures.
Originally posted by doublefailure why not,
if linux machine has telnet or ssh,
u can surely install mysql on the machine
I never would do anything over telnet! Installing MySQL you need root rights for at least the last step and if you want to do something alike over an insecure protocol as telnet, have fun with those password sniffing people around ... might sound a bit paranoid but I don't even think of SSH as THAT secure, I have a very STRICT list of static ip adresses which have access to SSH (no root logins permitted, etc).
It's quite easy. You can do this yourself. When you're logged via ssh you're working with the system in the same way when you connect a monitor and a keyboard to it.
The method to use depends on the distro the server's running. You can always install it form source, but that's harder. Packages are much easier to install.
Originally posted by Luc Sorry, but ssh, is the only way wich was offerd to me, to administrate my server. im totaly new to linux. i think my server runs with debian but im not shure.
Someone here who wants to install it for me?
Well, since you are using Debian, do the following.
1. Shell into the machine.
2. Enter the following commands:
apt-get install mysql-server mysql-client
3. Follow the instructions found in the MySql manual to setup your database, security, etc.
If you are running Suse you should be able to uninstall and then reinstall MySql using YaST. I believe the commands are:
yast -u mysql-client
yast -u mysql
yast -i mysql
yast -i mysql-client
If you have a version of MySql that isn't working correctly you should try to fix the installation or remove it and reinstall using YaST. If you have any information in the database you should backup those files and any security information before removing MySql.
After installation you should be able to use mysqladmin to determin which version was installed.
You shouldn't be administering MySql using root. You should create a userid to use for administering MySql, grant that userid DBO authority and login with that userid only when you need to manage the MySql server. Check the SUSE or MySql documentation to see what the default security settings are after the MySql install. Then you can use mysqladmin, Mascon/FreeMascon (http://www.scibit.com/Products/Softw...onFeatures.htm), or Webmin (install with YaST) to manage the security settings.