



修改make.conf 讓pors 安裝來源指定到tw.freebsd.org
## Cvsup flasg
SUP_UPDATE= yes
#
SUP= /usr/local/bin/cvsup
SUPFLAGS= -g -L 2
SUPHOST= cvsup3.tw.FreeBSD.org
SUPFILE= /usr/share/examples/cvsup/standard-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
## Without GUI
WITHOUT_X11= yes
## Master Site
MASTER_SITE_BACKUP?=
http://ftp.isu.edu.tw/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
ftp://ftp2.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
ftp://ftp3.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
# The CPUTYPE variable controls which processor should be targeted for
# generated code. This controls processor-specific optimizations in
# certain code (currently only OpenSSL) as well as modifying the value
# of CFLAGS to contain the appropriate optimization directive to gcc.
# The automatic setting of CFLAGS may be overridden using the
# NO_CPU_CFLAGS variable below.
# Currently the following CPU types are recognized:
# Intel x86 architecture:
# (AMD CPUs) athlon-mp athlon-xp athlon-4 athlon-tbird athlon k6-3
# k6-2 k6 k5
# (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386
# Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4
# Intel ia64 architecture: itanium
#
# (?= allows to buildworld for a different CPUTYPE.)
#
CPUTYPE?=p3
#NO_CPU_CFLAGS= true # Don’t add -march= to CFLAGS automatically
#NO_CPU_COPTFLAGS=true # Don’t add -march= to COPTFLAGS automatically
#
# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings other than -O and -O2 are not recommended
# or supported for compiling the world or the kernel – please revert any
# nonstandard optimization settings to “-O” before submitting bug reports
# without patches to the developers.
# Note also that at this time the -O2 setting is known to expose bugs in
# libalias(3), and possibly other parts of the system.
#
# for ports
#CFLAGS= -O3 -pipe -fomit-frame-pointer
# for build world and kernel module
COPTFLAGS= -O2 -pipe -fomit-frame-pointer
CFLAGS+= -mfpmath=sse -mmmx -msse -m3dnow -maccumulate-outgoing-args
-minline-all-stringops
## -mfpmath=sse:
PentiumIII相容的CPU可以打開-mfpmath=sse代替傳統i386的浮點運算,加快速度。
## -mfpmath=pni: Pentium4
Prescott相容的CPU可以打開-mfpmath=pni代替傳統i38i的符點運算,加快速度。
## -mmmx:
打開mmx指令來增加code性能。適用于PentiumMMX相容CPU。
## -msse:
打開sse指令來增加code性能。適用于PentiumIII相容CPU。
## -msse2:
打開sse2指令來增加code性能。適用于Pentium4相容CPU。
## -m3dnow:
打開3DNow!指令來增加code性能。適用于K6、Athlon相容CPU。
## -maccumulate-outgoing-args -minline-all-stringops
通過减少某些動作來實現加速,比較穩定。
2007/11/01 補充
MASTER_SITE_BACKUP?= \
ftp://freebsd.csie.nctu.edu.tw/pub/ports/distfiles/${DIST_SUBDIR}/ \
ftp://freebsd.csie.ncu.edu.tw/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ \
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
把這段加到你的/etc/make.conf裡………
建議更新 port tree 的話可以用 C 改寫的 csup (若使用是 FreeBSD 6.2-RELEASE 則已經進入 base system),然後在 make.conf 內貼上
SUP_UPDATE=yes
SUP=/usr/bin/csup
SUPFLAGS=-L 2
SUPHOST=cvsup.tw.FreeBSD.org
PORTSSUPFILE=/usr/share/examples/cvsup/ports-supfile
然後 cd /usr/ports;make update 就可開始 update port tree 了~~




原文刊載於 http://phorum.study-area.org/viewtopic.php?t=42272
公司的垃圾信件常叫人頭痛,雖然已安裝MailScanner和SpamAssassin但還是常常會有 幾百封垃圾信,原因出在MailScanner只能處理進來主機以後的信件,沒辦法做到”境外決戰”,所以找了一套不錯的小軟體來安裝,看看是否真的如我 所要求的可以達到境外決戰的目的,如此一來可以降低網路流量, 也可以做到針對廣告信件來源持續長期封鎖的目的….
要安裝之前請先檢查環境是否有以下套件:
perl module Number::Format.
perl module HTTP::Date.
Perl module Net::DNS
Perl module Net::CIDR (should already be there – used by MailScanner)
Perl module GD::Graph (this requires the GD library)
Mailscanner.
Spamassassin.
GEOIP Database and perl module (optional).
perl module Mail::Sendmail
然後再到官方網站http://www.while.org.uk/mailstats/下載最新版本的Vispan(目前最新版本為2.1.0)。
整個安裝過程非常簡單,只要下兩行指令就搞定:
perl Makefile.PL
make install
接著編輯/etc/Vispan.conf,修改以下主要設定:
UseIPTables = 0
如果mail server沒有啟用iptables這段就設”0″,若有就選”1″,啟用iptables有個好處他會自動設定rule擋掉廣告信件主機IP,不過問 題來了,萬一有個數千筆垃圾信件IP,那iptables的rule就變數千條,會累死人的,所以建議不要啟用。
BlockTime = 7200 # 5 day
一開始因為廣告信件很多,如果將IP Block太久怕會影響Server效能,所以先用預設值觀察幾天看看,過幾個星期後再慢慢將Block時間調久一點。
HTMLDir = /var/www/html/www/vispan
設定報表頁面路徑。
Scanner = sophos
設定你的防毒軟體名稱,Vispan會統計病毒數量。
SMTPServer = mail.myhost.com
設定你的SMTP。
其他的就依個人需求逐一調整設定,小弟不在這裡贅述了。接下來看看Maillog的結果,如果出現以下訊息即代表已經在跑囉!
arg1=[125.243.83.26], arg2=125.243.83.26, relay=[125.243.83.26], reject=550 5.0.0 We do not accept junk mail
注意喔,他是reject不是discard….
報表頁面Demo
http://www.while.org.uk/vispan
萬一遇到不小心被Block的IP怎麼辦?
先到/etc/mail/access刪除被擋的IP,然後將IP加到/etc/MailScanner/rules/spam.whitelist.rules裡就可以了。




原本採用舊的 Vmware player (1.x),在同樣一台電腦上(P4 2.4G , 768M RAM, 18G SCSI H.D),跑同樣的appliance ,速度很不錯,至少指令都可以即時回應。在 program files 底下可以發現安裝後的player 程式大約是5x MB。
昨天就偏偏手癢,去抓了新的player (2.0 beta),安裝之後,哇塞,馬上”驚為天人”,這是哪門子的程式啊!同樣的virtual Machine ,開機不但變慢,而且光在login 畫面,就讓我連續發生兩次login timed out!
輸入指令起碼等上30秒才會看到有回應!!
所以乾脆放棄了,去找了workstation版本來安裝看看,希望會有好結果!




|
|
EasyVMX! creates virtual machines to run in VMware Player.
All you need to do is fill in the four green fields in the form below, and click “Create Virtual Machine”.
The other fields are for customization of your config file. See the tutorial for more info.
It is perfectly safe to go with the defaults.
| Note! The green fields are required! Fill in the name for your virtual machine, select OS, memory and CPUs. If you select a 64-bit operating system as GuestOS, the virtual machine will not run on 32-bit computers! If you choose 2 CPUs, the virtual machine will not run on single-CPU computers! (VMware Player only supports 1 CPU.) content:encoded, Long Name and URL are free text fields. Use them as you want… |
|
|
|
| |
|
| |
|
| |
| |
|
| |
|
| |
| “NAT” shares your computers address. “Bridged” gives your virtual machine a separate address. “Host Only” only gives network access to your computer. VirtualDevice: Intel® PRO/1000 and vlance is supported on most operating systems, vmxnet is VMware’s network card. You need VMware Tools to get the driver for vmxnet. Use Intel® PRO/1000 for Windows Vista. |
| Device | Enabled | Connection Type | VirtualDevice |
| |
|
|
|
| Ethernet1: | |
|
|
| Note! The required green field decides your disk size! “Floppy Disk Drive” Enable this if you want access to your floppy drive. Use Auto Detect, or select device/drive letter. “CDROM #1 (Master)” This is your physical CDROM. Use Auto Detect, or select device/drive letter. “CDROM #2 (Slave)” The second CDROM is for ISO-images. “Disk #1” Select the size of your virtual disk. “Disk #2” If you want a second disk, activate it and select disk size. “SCSI?“. Check this for SCSI disk, uncheck for IDE. Use SCSI for performance or IDE for backwards compatibility. You will need VMware Tools to support the LsiLogic SCSI controller in Windows! |
| Device | Enabled | Floppy Device |
| Floppy Disk Drive: | |
| Device | Enabled | File Name | Device Type |
| CDROM #1 (Master): | |
|
|
| CDROM #2 (Slave): | |
|
|
| Device | Enabled | Disk Size | SCSI? | Device Type | Disk Mode |
| Disk #1: | |
|
|
|
|
| Disk #2: | |
|
|
|
|
| These are the settings for sound, USB, serial and parallel ports (Input/Output ports). USB Autoconnect is disabled, to prevent your virtual machine from taking over essential USB devices. You may want to disable USB, Serial and Parallel ports when installing Vista. Changing any of these options will otherwise limit the functionality of your virtual machine. |
| |
|
|
| Soundcard: | |
|
| USB: | |
|
| Serial Port 1: | |
|
| Serial Port 2: | |
|
| Parallel Port: | |




原文刊載於 http://www.leehare.cn/read.php/4904.htm
Instantbird, the powerful instant messenger based on Mozilla technologies and Pidgin!
AIM
Gadu-Gadu
Google Talk
ICQ
MSN
QQ
XMPP
Yahoo!
What is Instantbird?
Instantbird is a multi-protocol Instant Messaging client. Using it, you can connect to all your different IM accounts.
It uses the Mozilla rendering engine to display IMs, and the Pidgin libpurple to connect to the different networks.
Instantbird is a free and open source software. So you are free to use, distribute and modify it.
The project is just on its first release, many features are not implemented yet. We hope you will like it and look forward to get your feedback!
官網:http://www.instantbird.com/
官方下載:
Windows:
下載文件 Mac OS X:
下載文件 Linux:
下載文件 



原文刊載於 http://www.leehare.cn/read.php/4376.htm
為了連接到另一台計算機,只需要在兩台計算機上同時運行TeamViewer即可而不需要進行一個安裝的過程。該軟件第一次啟動在兩台計算機上自動生成夥伴ID。只需要輸入你的夥伴的ID到TeamViewer,然後就會立即建立起連接。
這款軟件是至今唯一的一款能穿透內網的遠程控制軟件,可以穿透各種防火牆,要求雙方都安裝這個軟件,使用時要求雙開打開軟件並且接受連接即可,最大優勢在於此軟件任何一方都不需要擁有固定IP地址,雙方都可以相互控制,只要連入Internet即可,不受防火牆影響!
Remote Control of PCs over the Internet
Instantly take control over a computer anywhere on the Internet, even through firewalls.
No installation required, just use it fast and secure.
Screen Sharing
TeamViewer can also be used to present your desktop to a partner on the Internet. Show and share your software, PowerPoint presentations etc.
File Transfer, Chat and more
Share your files, switch the direction during a teamwork session, and a lot more is included in TeamViewer
Simple to use, fast and secure
TeamViewer is one of the best known solutions on the market – and at the same time offers best value for your money. Non-commercial use is even completely free
官網:http://www.teamviewer.com/index.aspx
Free Register:www.dyngate.com/licensing/register.aspx




LogMeIn Hamachi 的優點
• 通過互聯網建立 LAN 將多台計算機組成單獨的安全網絡,就如同用電纜進行物理連接一樣。
• 遠程訪問 使用遠程桌面對網絡中的任何計算機進行遠程控制。
• 文件和網絡驅動器 訪問重要的文件和網絡驅動器。
• 零配置 無需調整防火牆或路由器即可工作。
• 安全性 業內領先的加密和身份驗證功能。
• 節省成本 Basic 版可免費使用。
LogMeIn Hamachi is a VPN service that easily sets up in 10 minutes, and enables secure remote access to your business network, anywhere there’s an Internet connection. It works with your existing firewall, and requires no additional configuration. Hamachi is the first networking application to deliver an unprecedented level of direct peer-to-peer connectivity. It is simple, secure, and cost-effective. Hamachi is currently available for Windows 2000, XP, 2003, and Vista. Console versions of Hamachi are also available for Linux and OS X.
Features:
LAN over the Internet Arrange multiple computers into their own secure network, just as if they were connected by a physical cable.
Remote Access Remote control any machine on your network with Remote Desktop.
Files and Network Drives Access critical files and network drives.
Zero-configuration Works without having to adjust a firewall or router.
Security Industry leading encryption and authentication.
官網:https://secure.logmein.com/products/hamachi/vpn.asp
~Support Windows 2000、XP、Server 2003 ,Vista~
官方下載:
簡體:
下載文件 英文:
下載文件 More Download – https://secure.logmein.com/products/hamachi/list.asp




在嘸蝦米輸入法模式下輸入以下指令:
,,x => 嘸蝦米解碼翻譯
,,j => 切換成日文輸入模式 (前提是要會日文五十音)
,,t => 切換成繁體中文模式輸式
,,c => 切換成簡體中文輸入模式
,,ct => 切換成台式簡體輸入模式 (以【繁體中文模式輸式】解碼,即可得到【簡體中文】)
備註:
,,x 的使用方式,先輸入一串嘸蝦米解碼字,如:ix qm e neq yb jn bn ,
然後選起來,按右鍵選複製,在輸入 ,,x,就會變成 【我們一家都是人】,試試吧。


More Options ...
Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 