Archive

2009年1月 的Archive

Apache頻寬限制 by mod_bw

2009年1月21日 Austin 尚無評論

官方網站:Ivn Systems/Software

[/bash]
# 要先安裝apache-devel or httpd-devel
wget http://www.ivn.cl/apache/files/source/mod_bw-0.8.tgz
tar -zxvf mod_bw-0.8.tgz
cd mod_bw
/usr/sbin/apxs -i -a -c mod_bw.c
[bash]

下面是頻寬設定
vi /etc/httpd/conf.d/bw.conf

# 啟動頻寬限制
BandWidthModule On
ForceBandWidthModule On

# BandWidth [From] [bytes/s]
Bandwidth all 409600

# MinBandWidth [From] [bytes/s]
MinBandwidth all 102400

連線數*MinBandWidth < BandWidth時,每個連線的速度會均分BandWidth
連線數*MinBandWidth < BandWidth時,每個連線的速度會等於MinBandWidth
一次載1個檔400kb、一次載2個檔200kb、一次載5個檔100kb

快速建置Ubuntu Desktop(with Lazybuntu)

2009年1月9日 Austin 尚無評論

Lazybuntu 懶人包
先去下載最新版本,抓回來解開執行就對了
我只多勾了 網路應用=>IE4Linux
其他的視情況而定,不過預設選項就差不多ok了
選完之後按下套用就會自動開始安裝了
過程會有跳出幾個視窗會問是否套用到全部使用者等等…
還有java的license要按個OK
其他的就是等他跑囉!

上面跑完會出現 Lazybuntu 安裝完畢的藍色字樣
接著執行我自己的Ubuntu Installation

wget http://blog.gclin.org/wp-content/uploads/2008/11/ubuntu_installation_v02.tgz
tar -zxf ubuntu_installation_v02.tgz
sudo ./ubuntu_installation_v0.2/install.sh
# 等跑完記得看一下setting.txt檢查是否有要改的設定