因為沒有閒置機器可供玩轉,所以先安裝虛擬機器
(以下說明網頁來自重灌狂人)
一、在主電腦安裝VirtualBox軟體
二、在VirtualBox建立新的虛擬電腦
三、建立新的虛擬硬碟機
四、選定開機光碟機
五、啟動虛擬電腦、安裝作業系統
六、安裝好系統,更新VirtualBox專屬驅動程式
當然5.6那兩點跟作業需求的Unix-like不一樣。
應用OS fedora,google後就有關網可供下載iso。
虛擬光碟軟體:http://www.daemon-tools.cc/eng/home 我只裝了lite,其他功能用不到。
接下來作業要求
homework01 作業題目
In this homework, you will write a simple Web server with C/C++ in the UNIX environment. The specification of this Web server is as follows:
1. The Web server can be accessed from one of the GUI-based Web browsers, such as IE, Firefox, etc. (40%)
(還好是一個就OK....)
2. The user can access an HTML file on the server on the Web browser. (20%)
3. The user can access a picture (in the format of JPEG or GIF, etc.) from the Web browser. (15%)
4. The Web server can handle zombie processes well.(10%)
5. Add 5 points for each new function (access control, support more data types, ...)
Your Web server will listen on port 80 if possible (but not required). Please upload your report (in one or two pages) in PDF format to e-course by 4/6, and demonstrate your program to the TAs in that week.
同學提供參考網址: http://www.jbox.dk/sanos/webserver.htm
fedora沒有內建vim,這怎麼可以呢!!
如何在Fedora中安裝vim → http://hi.baidu.com/xuehuo_0411/blog/item/f34197968c49287d54fb9652.html
yum install vim
也不要忘記安裝gcc....
[完成]
以下是用office2010 power point快取圖樣做的流程圖
(以下說明網頁來自重灌狂人)
當然5.6那兩點跟作業需求的Unix-like不一樣。
應用OS fedora,google後就有關網可供下載iso。
虛擬光碟軟體:http://www.daemon-tools.cc/eng/home 我只裝了lite,其他功能用不到。
接下來作業要求
homework01 作業題目
In this homework, you will write a simple Web server with C/C++ in the UNIX environment. The specification of this Web server is as follows:
1. The Web server can be accessed from one of the GUI-based Web browsers, such as IE, Firefox, etc. (40%)
(還好是一個就OK....)
2. The user can access an HTML file on the server on the Web browser. (20%)
3. The user can access a picture (in the format of JPEG or GIF, etc.) from the Web browser. (15%)
4. The Web server can handle zombie processes well.(10%)
5. Add 5 points for each new function (access control, support more data types, ...)
Your Web server will listen on port 80 if possible (but not required). Please upload your report (in one or two pages) in PDF format to e-course by 4/6, and demonstrate your program to the TAs in that week.
同學提供參考網址: http://www.jbox.dk/sanos/webserver.htm
fedora沒有內建vim,這怎麼可以呢!!
要先切到admin account才可以安裝。
Fedora 14 root登入方法→http://mypaper.pchome.com.tw/kisgccc/post/1321808888
要改兩個檔案不要忘記了~
如何在Fedora中安裝vim → http://hi.baidu.com/xuehuo_0411/blog/item/f34197968c49287d54fb9652.html
yum install vim
也不要忘記安裝gcc....
[完成]
以下是用office2010 power point快取圖樣做的流程圖

沒有留言:
張貼留言
Check for typo before sending