You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stephen Liu <sa...@yahoo.com.INVALID> on 2015/04/14 16:56:40 UTC

[users@httpd] About installing Apache web server

Hi all,

Does Apache web server need X (X window) to run?  Can I install it on server without X, not on desktop? If YES then how can I test the web server locally without a GUI browser?  w3m/elinks/lynx etc only displays the web page as text.  Please advise.

Regards
Stephen L


Re: [users@httpd] 回覆︰ [users@httpd] 回覆︰ [users@httpd] About installing Apache web server

Posted by Lester Caine <le...@lsces.co.uk>.
On 14/04/15 17:54, Stephen Liu wrote:
> In the past I installed LAMP on desktop.  Running its web browser I can
> edit the webpage/website without problem.  Now I install LAMP on Ubuntu
> server without X I have no way to edit the webpage locally.  Maybe I
> have to edit it remotely on another machine/guest. 
> 
> I make this change because of security reason.  On googling I found some
> suggestion mentioning that without X/GUI it is more secure.

Less entry points to attack, but in my case, the servers are 100 miles
away so I don't need a desktop actually on the machines. Yes - you use
another machine to do the GUI work.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] 回覆︰ [users@httpd] 回覆︰ [users@httpd] About installing Apache web server

Posted by Stephen Liu <sa...@yahoo.com.INVALID>.
Hi Lester,

Thanks for your advice.

In the past I installed LAMP on desktop.  Running its web browser I can edit the webpage/website without problem.  Now I install LAMP on Ubuntu server without X I have no way to edit the webpage locally.  Maybe I have to edit it remotely on another machine/guest.  

I make this change because of security reason.  On googling I found some suggestion mentioning that without X/GUI it is more secure.

Regards
Stephen L 



     Lester Caine <le...@lsces.co.uk> 於 2015年04月15日 (週三) 12:37 AM 寫道﹕
   
 

 On 14/04/15 16:22, Stephen Liu wrote:
> If installing the website on a server without X then running a text
> browser such as w3m/elinks only text are displayed on the terminal.

You need to have a network connection available TO the location where
you are running Apache. You will only talk to the web server via a port
80 connection, and if you can't see that ...

You need a graphics based browser to access that werver if you want to
see more than text, but the server itself does not need anything other
than Apache running to serve up web pages.

I'm not quite sure what you are trying to achieve? If you WANT to use a
graphic browser on the server then you need a desktop, but APACHE does
not need the desktop, only the browser. You can chck the text logs and
status to verify that the server is running, and test graphic pages via
a remote browser.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
  

Re: [users@httpd] 回覆︰ [users@httpd] About installing Apache web server

Posted by Lester Caine <le...@lsces.co.uk>.
On 14/04/15 16:22, Stephen Liu wrote:
> If installing the website on a server without X then running a text
> browser such as w3m/elinks only text are displayed on the terminal.

You need to have a network connection available TO the location where
you are running Apache. You will only talk to the web server via a port
80 connection, and if you can't see that ...

You need a graphics based browser to access that werver if you want to
see more than text, but the server itself does not need anything other
than Apache running to serve up web pages.

I'm not quite sure what you are trying to achieve? If you WANT to use a
graphic browser on the server then you need a desktop, but APACHE does
not need the desktop, only the browser. You can chck the text logs and
status to verify that the server is running, and test graphic pages via
a remote browser.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] 回覆︰ [users@httpd] About installing Apache web server

Posted by Stephen Liu <sa...@yahoo.com.INVALID>.
Hi all,

Thanks for your advice.

I couldn't resolve how to test the website locally.  

1)
If installing the website on a Desktop running on a VM/guest of Virtualbox/KVM on local GUI browser I can browse the website by running /localhost/domain.  

2)
If installing the website on a server without X then running a text browser such as w3m/elinks only text are displayed on the terminal.

Regards
Stephen L 


     Lester Caine <le...@lsces.co.uk> 於 2015年04月14日 (週二) 11:11 PM 寫道﹕
   
 

 On 14/04/15 15:56, Stephen Liu wrote:
> Does Apache web server need X (X window) to run?  Can I install it on
> server without X, not on desktop? If YES then how can I test the web
> server locally without a GUI browser?  w3m/elinks/lynx etc only displays
> the web page as text.  Please advise.

Don't need any graphics interface loaded to run Apache or any of the
related server stack. But you do need to learn about command line tools
to manage things. Just which command line management tools will depend
on your distribution, but I have several remote machine which I only
access via ssh and then use things like phpinfo to test things over the
internet. You only need to know that the server is running and then you
can access it remotely as web pages.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
  

Re: [users@httpd] About installing Apache web server

Posted by Lester Caine <le...@lsces.co.uk>.
On 14/04/15 15:56, Stephen Liu wrote:
> Does Apache web server need X (X window) to run?  Can I install it on
> server without X, not on desktop? If YES then how can I test the web
> server locally without a GUI browser?  w3m/elinks/lynx etc only displays
> the web page as text.  Please advise.

Don't need any graphics interface loaded to run Apache or any of the
related server stack. But you do need to learn about command line tools
to manage things. Just which command line management tools will depend
on your distribution, but I have several remote machine which I only
access via ssh and then use things like phpinfo to test things over the
internet. You only need to know that the server is running and then you
can access it remotely as web pages.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] About installing Apache web server

Posted by Yehuda Katz <ye...@ymkatz.net>.
Apache HTTPD runs perfectly fine without X (and that is probably how most
users have it).
If lynx or any other text browser shows output, then Apache is working. The
browser you use has nothing to do with how Apache works.
The only other option is to test from another computer.

- Y

On Tue, Apr 14, 2015 at 10:56 AM, Stephen Liu <sa...@yahoo.com.invalid>
wrote:

>
> Hi all,
>
> Does Apache web server need X (X window) to run?  Can I install it on
> server without X, not on desktop? If YES then how can I test the web server
> locally without a GUI browser?  w3m/elinks/lynx etc only displays the web
> page as text.  Please advise.
>
> Regards
> Stephen L
>
>

Re: [users@httpd] About installing Apache web server

Posted by Daniel <df...@gmail.com>.
2015-04-14 16:56 GMT+02:00 Stephen Liu <sa...@yahoo.com.invalid>:

>
> Hi all,
>
> Does Apache web server need X (X window) to run?  Can I install it on
> server without X, not on desktop? If YES then how can I test the web server
> locally without a GUI browser?  w3m/elinks/lynx etc only displays the web
> page as text.  Please advise.
>
> Regards
> Stephen L
>
>
You should start here:

http://httpd.apache.org/docs/current/invoking.html

and here:

http://httpd.apache.org/docs/current/getting-started.html


-- 
*Daniel Ferradal*
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal