LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I've installed Mandrake 9.0 and... (https://www.linuxquestions.org/questions/linux-newbie-8/ive-installed-mandrake-9-0-and-36513/)

vadertech 11-26-2002 09:12 AM

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.

justjha 11-26-2002 01:10 PM

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

vadertech 11-26-2002 03:17 PM

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.

vadertech 11-30-2002 03:20 PM

any help would be great.

Burke 12-01-2002 07:53 PM

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 ;)

vadertech 12-02-2002 10:08 AM

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.

vadertech 12-02-2002 01:25 PM

ok i reinstalled Mandrake 9.0 and the apache service is now running.

vadertech 12-02-2002 03:41 PM

i think webmin is the answer to all my problems. Thanks for the help.


All times are GMT -5. The time now is 04:23 AM.