LinuxQuestions.org
Visit Jeremy's Blog.
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-26-2002, 10:12 AM   #1
vadertech
Member
 
Registered: Nov 2002
Posts: 67

Rep: Reputation: 15
I've installed Mandrake 9.0 and...


we are gonna add a linux box to our server tree to host websites. I've installed Mandrake 9.0 but I'm confused from there. I installed Apache from Mandrake Update server and the Apache service is running. How do I access Apache to set up webhosting features like IIS. Also how do I access MySql. Please remember when replying, I am new to linux and apache.
 
Old 11-26-2002, 02:10 PM   #2
justjha
LQ Newbie
 
Registered: Jan 2001
Posts: 6

Rep: Reputation: 0
Hi Buddy,
Well first you have to tell me do u want to access the mysql trough web browser or through interactive mode.
pick any one according to your reuirment.
I)in intractive mode just type mysql on the shell promt
II)through web broweser here is the one way
step1.you need to setup a user for acessing you mysql
step2.write a perl script. (should keep in your apache server home directory)
step3. through web browser by reqesting that url with nessesry parameter.

that's how i had done once
see if you can do that. and let me know
 
Old 11-26-2002, 04:17 PM   #3
vadertech
Member
 
Registered: Nov 2002
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks for the reply. What I am used to in Windows is using phpmyadmin to access MySQL database. I know I need to setup a user but how do I get to that point. I don't know perl.

I tried typing mysql at shell prompt and got (bash:error)

Guess I'm gonna need a step by step on setting up apache and mysql. I've looked at apache docs but it just seems overwhelming.
 
Old 11-30-2002, 04:20 PM   #4
vadertech
Member
 
Registered: Nov 2002
Posts: 67

Original Poster
Rep: Reputation: 15
any help would be great.
 
Old 12-01-2002, 08:53 PM   #5
Burke
Member
 
Registered: Dec 2002
Location: Virginia, USA
Posts: 131

Rep: Reputation: 15
For a newbie, I think webmin & phpMyAdmin are best for getting things setup. When you setup Webmin in Mandrake, it defaults to using https://yourhost:10000 as the URL. Webmin is included with the Mandrake CDs. The wizards in KDE/Gnome are okay to get a super basic server running. You say your apache service is running?.. Try opening a browser and point it to http://yourhostname or IP of the mandrake box. You should see your Advanced Extranet Server default webpage come up. The default location of all the web files in Mandrake is: /var/www/html

If you prefer working through the console to manage Apache, the configuration files are in /etc/httpd/conf .

Good Luck
 
Old 12-02-2002, 11:08 AM   #6
vadertech
Member
 
Registered: Nov 2002
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Try opening a browser and point it to http://yourhostname or IP of the mandrake box.
I tried this and got an error for http://localhost. So I was wrong about apache running. If the files are in var/www/html, what will I need to do to get the apache service to start on startup? Edit rc.local? I tried apachectl start but do i need to put var/www/html/apachectl start? Or am I totally off.

Thanks.
 
Old 12-02-2002, 02:25 PM   #7
vadertech
Member
 
Registered: Nov 2002
Posts: 67

Original Poster
Rep: Reputation: 15
ok i reinstalled Mandrake 9.0 and the apache service is now running.
 
Old 12-02-2002, 04:41 PM   #8
vadertech
Member
 
Registered: Nov 2002
Posts: 67

Original Poster
Rep: Reputation: 15
i think webmin is the answer to all my problems. Thanks for the help.
 
  


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
Just installed Mandrake now what? dark_negotiator Linux - Hardware 1 03-27-2005 09:57 PM
Just installed Mandrake 10 and Help Micrll Linux - Newbie 16 06-29-2004 11:56 PM
Just installed Mandrake 9.1 TSCRYPTO Linux - Newbie 25 11-10-2003 12:44 PM
Win2k installed, Mandrake installed dual? callisto35 Linux - Newbie 2 08-27-2003 09:07 AM
Uninstalled Mandrake, Installed Slackware, still getting mandrake boot screen powerismine Slackware 4 11-22-2002 07:51 AM


All times are GMT -5. The time now is 01:28 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