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.
So probably I have to install mysql. Is it true mysql should be installed before PHP? And if so, can I simple re-install php afterwards or should I first take some steps regarding the existing php installation.
The same for find / -name mysql
, nothing. I will try to install it myself.
document root, which directory is this. Yesterday I tried to test the apache server and php but couldn't figure out where to put the .htm or .php files. One tutorial mentioned apache/htdocs as the right directory, but this one doesn't exist on my installation and when I create one and put files in there I get:
requested url was not found on this server.
ps. what is the difference between 'find / -name' and 'locate'
Open a terminal and enter 'which mysqld' without the quotes. That will tell you where the executable is located. On my distro, that's /usr/sbin/mysqld.
The difference between find and locate - find searchs the hard disk, or whatever directory you specify for the pattern you specify. Locate uses a database of files on the hard disk. You write the database with the command 'updatedb'. Every time you install,move, or remove something, run updatedb to re-write the locatedb. Then, when you want to know where something is, locate <filename> reads the locatedb. It's much faster than find. Find has capabilities that locate doesn't. A thorough read of the man pages would be helpful.
I am getting into all of this. php is ok, I didn't have time to install mysql yet. Hopefully it won't give me to much problems getting the configuration with php right as I have read in several tutorials that mysql should be installed before php.