Installing a LAMP server on slackware 14.1
Hi there,
I'm running slackware 14.1 as a VMWare virtual machine and I wanted to get a LAMP server up and running. I've been following the steps in this tutorial here: http://www.unixmen.com/easy-steps-to...lackware-14-0/ When I run the commands "slackpkg install httpd", "slackpkg install mysql", "slackpkg install php" I receive the following message: *** Looking for php in package list. Please wait... DONE No packages match the pattern for install. Try: /usr/sbin/slackpkg reinstall|upgrade *** I have two mirrors uncommented in /etc/slackpkg/mirrors and I've been able to run slackpkg update and slackpkg upgrade-all. What do I need to do to be able to install the packages using slackpkg in slackware? |
Slackware includes all you need for a LAMPP server out-of-the-box. From this Slackware box I'm using right now:
Code:
~/ $ whereis httpd I took a look at that Unixmen link and couldn't figure out, for the life of me, why they wanted you to reinstall stuff that was already there. |
I think I'd already tried running the mysql setup earlier and became bogged down. From the tutorial frankbell posted above; when I try to run mysql_secure_installation it asks me for the current password for root. I try no password, and passwords I think I may have set and it gives this error and keeps prompting me.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) It also throws an error when I attempt mysql_install_db --user=mysql. Is there a way I can start again on my mysql setup, such as uninstalling and reinstalling the application, or is there a process I can reset the password? |
Can not wait to try this on my old P1. Speed is not critical. The machine is for learning.
|
All times are GMT -5. The time now is 07:15 AM. |