当前位置: 首页 > 工具软件 > Yaws > 使用案例 >

How to install YAWS on Mac OSX

赖渊
2023-12-01

Here are the steps for properly installing and testing a YAWS (Yet Another Web Server) on your Mac OSX machine:

Installation:

  1. Go to http://yaws.hyber.org/download/
  2. Get Latest source - e.g. 'yaws-X.XX.tar.gz'.
  3. Unpack it (for this tutorial let's say /Users/Name/Desktop/yaws/ ).
  4. Open Terminal (it can be found in Applications/Utilities).
  5. Type: 'cd /Users/Name/Desktop/yaws/yaws-X.XX/' (without quotes).
  6. Type: './configure' (without quotes) and wait.
  7. Type: 'make' (without quotes) and wait.
  8. Type: 'sudo make install' (without quotes).
  9. Now you need to type your administrator password, the terminal will not display anything you are typing, so don't worry if it seems it is not working properly, and press Enter.
  10. Now YAWS is installing, after it has finish type 'sudo yaws' (without quotes) to run the webserver (it might ask again for the password).

Testing:

  1. Open your browser.
  2. Go to 0.0.0.0.
  3. You should see the yaws homepage: Congratulations! You have installed YAWS.

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

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

 类似资料:

相关阅读

相关文章

相关问答