Jump to content

Setting up PHP / APACHE server


Guest Professor_Kan
 Share

Recommended Posts

Guest Professor_Kan

Please excuse the noobie here.

 

 

I just installed software packages like WINE, APACHE, PHP off the Mandrake CDs.

 

Everything installed successfully, but I'm not sure how to locate it and use these programs ? There's not in my Menu list.

 

Thanks!

Edited by Professor_Kan
Link to comment
Share on other sites

well, you could try just typing in the name of the program under terminal or konsole or whatever, or under the run dialog box in Gnome. I know this will work for Wine (you might need to also specify the program for it to run though), but for servers I'm not sure, but I would recommend installing webmin for those, then just open a web browser and go to https:\\localhost:10000 and configure them from there.

Edited by Urza9814
Link to comment
Share on other sites

Guest Professor_Kan

thanks but I still dont know hot to run APACHE sever and access to my PHP modules.

 

is there a very simple FAQ for a new like me ?

 

I've seen some users have their Window background transparent, how is that done ?

 

I can only make my menu and menu bar transparent.

 

Thanks for your input !

Link to comment
Share on other sites

You need to learn to use Webmin. This is the easiest way for you to start using Apache and PHP modules. The reason is that Webmin provides you with a browser interface to control your computer. One module in Webmin is devoted to controling Apache. Starting with this, you can become familiar with Apache and its commands.

 

Open a browser and try to enter

 

https://localhost:10000

 

If Webmin is running, it will do automatically run through your browser. If not, you will need to install it first.

 

Give this a try and let us know how you make out.

Link to comment
Share on other sites

Guest Professor_Kan

thanks for your input

 

I created virutal server but still cannot get Apache up and running.

 

But for my future reference, when I install a need package software, how would I be able to initiaite it without going through webmin?

 

I'm use to seeing shortcuts in my start menu right after I install the software. Is this different for Linux ?

 

 

 

 

Thanks !

Edited by Professor_Kan
Link to comment
Share on other sites

to add a program to your menu, use meudrake. To run it you can usually just type in the name of the program in terminal or konsole or whatever...same thing for menudrake, just put in the name of the program.

As for the transparent windows...I know Eterm can go transparent, and you can do some things from that...anything that'll run in CLI...Irssi for IRC, you could try naim for IM...I dunno about other stuff though.

Link to comment
Share on other sites

Guest Professor_Kan

thanks for clearing this up.

 

 

I'm still trying to get my Apache running.

 

I created a virtual server named ABC

 

so when I type in http://ABC in the browser, it should take me to Apache.

 

But it displays "error cannot resolve host name"

Link to comment
Share on other sites

Hi, re the http://ABC thing, if I understand right you need to actually have a DNS server running on your machine to bind this host-name. Otherwise there's nothing in the HTTP request to say that 'ABC' is on this computer. I don't full well understand that stuff, but the only hostnames I can use on my own machine are 'localhost' and '<my computername>'.

 

BTW you can stop/start Apache from Mandrake Control Centre > System > Services (it's called httpd or httpd2). Or simpler, from a root console you can type

 

service httpd2 [start/stop/restart]

 

When installed it should be configured to run automatically. What PHP modules are you wishing to install - are they not available through your URPMI sources?

Link to comment
Share on other sites

Guest Professor_Kan
BTW you can stop/start Apache from Mandrake Control Centre > System > Services (it's called httpd or httpd2).

 

I dont see this in the menu items?

 

 

I do see Apache on http://localhost, but how do I change this? I have set up Apache virtual servers but it doesn't seem to be recognized.

 

For my reference, when you install a package or module on linux, you have to create your own desktop shortcuts to each program? Or does Linux have a specific "Program Files" directory, where I can create a shortcut from there ?

 

I'm a complete Noob, please excuse me. It's my 1st week using Linux.

 

 

Thanks for everyones input B)

Link to comment
Share on other sites

try.................at the command line or shell, login as root then edit the file below..

assuming u know vi,... if not use mc ..

cd /etc/httpd/conf/

prompt#mc

then select httpd2.conf

 

find those listed below

 

#BindAddress *

<IfDefine APACHEPROXIED>

Listen 192.168.0.1:80

</IfDefine>

<IfDefine !APACHEPROXIED>

Listen 8001

</IfDefine>

 

note:// the part.. listen 192.168.0.1:80 tells that your apache2 will listen to your local interface in port 80, well if you want it to be seen publicly, you can replace that IP with your Public IP

... btw, this is assuming u'r using apache2..

 

you can start and stop apache from your terminal window as root by typing

#apachectl start

#apachectl stop

or

#/etc/init.d/httpd start | restart | stop

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...