Reply to post: Re: Webservers?

Want to spin up Ubuntu VMs from Windows 10's command line, eh? We'll need to see a Multipass

naive

Re: Webservers?

With the default WSL it is simple:

apt-get update

apt-get install apache2

Add website in the apache configuration.

service apache2 start

Before using apt-get, it maybe necessary to set the proxy

export http_proxy=http://<addres>:port

export https_proxy=http://<addres>:port

Maybe Windows firewall may have to be setup to allowing incoming port 80/443 traffic.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon