How to install YAWS on Mac OSX

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值