LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-19-2005, 12:18 AM   #1
cartwright
LQ Newbie
 
Registered: Nov 2005
Distribution: openSUSE 10.0
Posts: 26

Rep: Reputation: 15
Mambo/Apache/mySQL


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?

Thanks!
 
Old 11-19-2005, 02:11 AM   #2
anti.corp
Member
 
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:

http://www.apachefriends.org/en/xampp.html

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

Last edited by anti.corp; 11-19-2005 at 02:12 AM.
 
Old 11-19-2005, 03:56 AM   #3
reddazz
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, 05:19 PM   #4
cartwright
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?

Thanks.
 
  


Reply


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 08:57 AM
Mambo & MySQL wwnexc Linux - Networking 1 10-04-2005 07:01 PM
Mambo and personal web page: Apache? Lead Expression Linux - Newbie 2 09-19-2005 03:46 PM
Develope website in PHP with Mambo: Apache? Lead Expression Linux - Networking 2 09-19-2005 11:32 AM
accessing mysql from apache/mysql vher Linux - Newbie 1 01-17-2003 03:38 PM


All times are GMT -5. The time now is 03:55 AM.

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