How to install YAWS on Mac OSX

The following is a step-by-step guide to installing YAWS (another web server) on a Mac OSX computer. It was tested on 10.6.8 SL and worked flawlessly, although the server needs to be restarted if you start spamming F5.

+4
source share
2 answers

The following are steps to properly install and test YAWS (another web server) on a Mac OSX computer:

Installation:

  • Go to http://yaws.hyber.org/download/
  • Get the last source - for example. 'Frambesia-X.XX.tar.gz'.
  • Unzip it (for this lesson, say / Users / Name / Desktop / yaws /).
  • Open a terminal (it can be found in Applications / Utilities).
  • Type: 'cd / Users / Name / Desktop / yaws / yaws-X.XX /' (without quotes).
  • Type: ./ configure (without quotes) and wait.
  • Type: 'make' (without quotes) and wait.
  • Type: 'sudo make install' (without quotes).
  • Now you need to enter the administrator password, the terminal will not display anything that you are typing, so do not worry if it seems that it is not working properly and press Enter.
  • Now YAWS sets, after it has finished type "sudo yaws" (without quotes) to start the web server (it may again ask for the password).

Testing:

  • Open a browser.
  • Go to 0.0.0.0.
  • You should see the yaws homepage: Congratulations! You have installed YAWS.

To start testing your pages, just put them in '/ tmp' and just type 'localhost / pagename.yaws' in your browser.

Check this out for more information and tutorials: http://yaws.hyber.org/

+10
source

You can use brew: http://brew.sh/

brew install yaws 
+4
source

Source: https://habr.com/ru/post/1434472/


All Articles