Apache PHP MySQL Setup after Slackware 9.0 Installation
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
You might want to also add an index.php entry to the DirectoryIndex section as well:
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.html index.php
3. Set permissions on MySQL files:
chown -R mysql mysql mysql
chgrp -R root mysql mysql
#prompt changes from # to $
safe_mysqld --user=mysql & #hit enter once the db loads
#prompt changes from $ to #
mysqladmin -u root status #verify the database is running
4. Add MySQL to startup scripts::
echo Starting MySQL server:
safe_mysqld --user=mysql &
Slack 9 does have some probs yes, here is a bug I found.....
the kernel configurator does not even get installed on my system, and the Bash setup in not complete either. I have a Slack subscription, so I have the 4 CD set. I am gonna put 8.1 back in and just upgrade everything and see how it works.
This is my first thread in this forum, so be gentle.
Cannot find htdocs folder in my RH9 installation.
I am trying to locate the usual html file to replace with my content but for some reason cannot find it! I have viewed /etc/httpd/conf/httpd.conf to see the location of the server is poniting at /var/www/html/, which is empty. I have tested http://localhost in mozilla and everything is ok, but it is wierd that i cannot find the main directories. Is there a generic 'search' terminal command that would get me out of future situations like this?
I've been having trouble installing and running MySQL since I obtained it a few days ago, until I figured out it actually is installed as a package along with Slackware. Using the few steps you mentioned had the server up and running in less than five minutes.
Now I just have to figure out how to upgrade it to the newest version of MySQL - as the one provided with Slackware 9.0 only is 3.23.56.
Originally posted by woodsta
I've tried the method for setting up mysql after installing a fresh copy of slack9, but I appear not to have a mysql dir in /var/lib - seem to have the rest of mysql installed ok.
Can you verify that your Slackware 9.0 installation was a full installation?
Originally posted by woodsta
[B]as far as I remember, it was a full install.
If you are just starting out with your installation, I would try it again from the start and make sure you install every package. I can't imagine that any Slackware 9.0 full installation would differ on the placement of the mysql installation directory.
You shouldn't have to create any directories at all. You should just be able to follow my instructions line by line.