Here are the steps for properly installing and testing a YAWS (Yet Another Web Server) on your Mac OSX machine:
Installation:
- Go to http://yaws.hyber.org/download/
- Get Latest source - e.g. 'yaws-X.XX.tar.gz'.
- Unpack it (for this tutorial let's say /Users/Name/Desktop/yaws/ ).
- Open 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 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.
- 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:
- Open your 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 the just type in your browser 'localhost/pagename.yaws'.
Check this for more information and tutorials: http://yaws.hyber.org/
本文提供了一步一步的指导,教你如何在MacOSX上安装YAWS(Yet Another Web Server),并验证其是否正常运行。包括从下载源代码到通过浏览器测试网页的全过程。
522

被折叠的 条评论
为什么被折叠?



