PDA

View Full Version : Apache2 Virtual Servers on SLES for Raspberry PI



Occhioverde
14-Apr-2018, 20:45
Good morning everyone.
I just installed SLES on my Raspberry Pi Model B with the purpose of installing a Web server with Apache 2.
Just started, however, I noticed that the commands "a2ensite " and "a2dissite " are not compatible with the version of Apache 2 pre-installed in this image of SLES and Yast can not do so.
I wonder then: can I use the Virtual hosts of Apache2 on SLES installed on Raspbery PI?
Thank you in advance for the help.

smflood
14-Apr-2018, 22:09
Occhioverde Wrote in message:

> Good morning everyone.
> I just installed SLES on my Raspberry Pi Model B with the purpose of
> installing a Web server with Apache 2.
> Just started, however, I noticed that the commands "a2ensite " and
> "a2dissite " are not compatible with the version of Apache 2
> pre-installed in this image of SLES and Yast can not do so.
> I wonder then: can I use the Virtual hosts of Apache2 on SLES installed
> on Raspbery PI?
> Thank you in advance for the help.

The a2ensite and a2dissite commands are not applicable to SUSE
Linux Enterprise Server (or Desktop or openSUSE).

Instead you can enable virtual hosts by putting a suitable
configuration file into /etc/apache2/vhosts.d/ - please
see
https://bit.ly/2vkDxqs for SUSE's documentation on this.

HTH.
--
Simon Flood
SUSE Knowledge Partner


----Android NewsGroup Reader----
http://usenet.sinaapp.com/

Occhioverde
19-Apr-2018, 21:57
Thank you so much for your help.
I'll try it as soon as possible.