LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2004, 04:56 AM   #1
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Rep: Reputation: 30
apache, mysql, linux, etc


Please excuse me if there are any errors in my english...

I want to learn how to run a server and apache, mysql, php, etc purely out of commandline

Obviously gonna need ssh, but there are hundreds of online guides and I want to know whats the best, most understandable guide out there for doing such a task? I would like to buy the ssh book from Oreilly but I currently have no cash right now cause I bought a hard drive and memory for my server.

Whats the best way to do this?
 
Old 07-11-2004, 06:43 AM   #2
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Download lampp (xampp for linux).
It's a preconfigured package with Apache, MySQL, PHP, and a couple more. All you do is run the command line "Apache Start" (or something like that) file, and you're set.
You don't need X for that, so it should be no hassle.
 
Old 07-11-2004, 07:02 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
First off, welcome to linuxquestions!

Most distro's come with Apache, MySQL, PHP, and SSH. So the best way to start is by installing those and then playing around with them. The method for starting these services depends on what distro you're using, so I can't really help you with that. (Try to give as much info as you can when asking a question)

Once you get Apache installed and running, start up your browser and enter the url 'http://locahost/'. The default page for most installs will bring you to a generic Apache page with a link to the Apache documentation. You can find out everything you need to know right there, though there's so much to learn that it may be a little scary at first.

PHP will usually be set up to run right out of the box when you fire up Apache, though you may need to uncomment the following line in your httpd.conf file (again, I can't tell you exactly where this file is, because you haven't told what distro you're using):

Include /etc/apache/mod_php.conf

Probably the best advice I can give about MySQL is that after you install it, you need to run the command 'mysql_install_db'. The most common mistake that people make here is that before you run this command, you must run the command 'su mysql' to become that user.

I'm a little surprised to find that O'Reilly has a book devoted just to SSH, because it's really a very simple set of programs to use. The server daemon should be set up to run just by installing the package in your distro. The client programs (ssh, scp, sftp) should also work just fine after the first time you connect, where you see a message saying that the host you're connecting to is unknown. This is perfectly normal, since it's the first time you're connecting, so just say 'yes' to accept that host.

Perhaps the best resource I can offer you is to use the 'search' function here in the forum, since this is a very popular project, and many people have asked about almost every conceivable problem that you might run into. By searching, you'll usually find an answer more quickly than posting a question and waiting, and you'll keep the forum clear of repeated questions.

Enjoy!
--- Cerbere
 
Old 07-12-2004, 10:39 PM   #4
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Original Poster
Rep: Reputation: 30
wow thanks for the wealth of information guys, im using slackware 10 for this, so I need to start playing with it before I actually deploy it
 
  


Reply



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
Linux + Apache + PHP + ??MySQL/PostgreSQL?? Thakowbbery Linux - Enterprise 4 10-28-2005 03:18 PM
Linux, Apache, PHP, MySQL akilles Linux - Newbie 4 03-02-2005 02:43 AM
LAMP(Linux,Apache,MySql,PHP) and other info hamtavs General 1 01-25-2005 03:54 AM
Linux 8.0 installed with Apache 2.0, PHP and MySQL fmagoufis Linux - Newbie 1 12-12-2002 01:13 PM
VMWare, RH Linux 7.3, Apache, MySQL and PHP xibernex Linux - Software 2 06-17-2002 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:48 PM.

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
Open Source Consulting | Domain Registration