Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 11-18-2005, 11:18 PM   #1
LQ Newbie
Registered: Nov 2005
Distribution: openSUSE 10.0
Posts: 26

Rep: Reputation: 15

I just installed Mandriva 2006. I want to build a website locally with Mambo before uploading it to the net.

How do I go about installing Apache/PHP/mySQL? I thought I had installed them at start-up, but they don't show up on my k menu at all. I looked into rpmdrake and searched for apache/mysql/php, but so many files came up that I wasn't sure what I needed to install.

Could some kind soul give me a hand, please?

Old 11-19-2005, 01:11 AM   #2
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
You can get/install all three of them at once, downloading xampp.

Check out this site:

It has a graphical userinterface, so it's really easy to use.

Last edited by anti.corp; 11-19-2005 at 01:12 AM.
Old 11-19-2005, 02:56 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you installed them already, then you need to go to services (mcc -> system -> services) and make sure they are enabled at to start at boot time. The packages I installed were apache2 and related packages, mysql 4.1, php5 and php5-mysql (php-mysql).
Old 11-19-2005, 04:19 PM   #4
LQ Newbie
Registered: Nov 2005
Distribution: openSUSE 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Great, thanks. I installed xampp and that appears to be pretty good. When I try to create a mysql file, though, i run into problems.

mysqladmin -u user -p create Mambo

I get the error message: "Can' connect to local MySQL server through socket '/var/lib/mysql/mysql.sock (111)'"

I searched around and have found tha I need to change the /etc/my.cnf to permanently set the socket file used by the mysql client, but I don't know how to open it up in a text editor. :-/ How do I open files in a text editor using the console?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL & Mambo wwnexc Linux - Networking 6 10-07-2005 07:57 AM
Mambo & MySQL wwnexc Linux - Networking 1 10-04-2005 06:01 PM
Mambo and personal web page: Apache? Lead Expression Linux - Newbie 2 09-19-2005 02:46 PM
Develope website in PHP with Mambo: Apache? Lead Expression Linux - Networking 2 09-19-2005 10:32 AM
accessing mysql from apache/mysql vher Linux - Newbie 1 01-17-2003 02:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration