參考文獻:
[教學] FreeBSD 上安裝 Avira Antivir (做為 amavisd-new 的掃毒元件):(2002 資策會 MC104 網工班)
http://www.backup.idv.tw/phpBB2/viewtopic.php?p=2572&sid=7a7e0c80b997dd9bee5babaa4ca215b3
antivir安裝於linux上:(SUSE 10.0)
http://blog.yam.com/gentoolin/article/1067404
Dazuko官網:
http://www.dazuko.org

ca95 發表在 痞客邦 留言(0) 人氣()

what Dazuko?? 被搞瘋了,不玩了-.-
是在考英文........
Avira AntiVir for Linux 上會出現的怪東西><
早知道不研究了,浪費我時間=.=
真難用。

[root@localhost antivir-workstation-pers-2.1.10-15]# ln -s /usr/lib/libc.so /usr/lib/libc.so.5
[root@localhost antivir-workstation-pers-2.1.10-15]# cd contrib/dazuko/
[root@localhost dazuko]# tar -zxvf dazuko-2.3.2.tar.gz
[root@localhost dazuko]# cd dazuko-2.3.2
[root@localhost dazuko-2.3.2]# ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... none found
error: no C compiler found on this system


[root@localhost dazuko-2.3.2]# yum install gcc-c++
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc-c++ to pack into transaction set.
gcc-c++-4.1.2-13.fc6.i386 100% |=========================|  56 kB    00:00    
---> Package gcc-c++.i386 0:4.1.2-13.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: gcc = 4.1.2-13.fc6 for package: gcc-c++
--> Processing Dependency: libstdc++-devel = 4.1.2-13.fc6 for package: gcc-c++
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc to pack into transaction set.
gcc-4.1.2-13.fc6.i386.rpm 100% |=========================|  64 kB    00:00    
---> Package gcc.i386 0:4.1.2-13.fc6 set to be updated
---> Downloading header for libstdc++-devel to pack into transaction set.
libstdc++-devel-4.1.2-13. 100% |=========================| 135 kB    00:00    
---> Package libstdc++-devel.i386 0:4.1.2-13.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: libgomp.so.1 for package: gcc
--> Processing Dependency: libgomp = 4.1.2-13.fc6 for package: gcc
--> Processing Dependency: cpp = 4.1.2-13.fc6 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cpp to pack into transaction set.
cpp-4.1.2-13.fc6.i386.rpm 100% |=========================|  57 kB    00:00    
---> Package cpp.i386 0:4.1.2-13.fc6 set to be updated
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.5-18.fc6.i3 100% |=========================| 108 kB    00:00    
---> Package glibc-devel.i386 0:2.5-18.fc6 set to be updated
---> Downloading header for libgomp to pack into transaction set.
libgomp-4.1.2-13.fc6.i386 100% |=========================|  54 kB    00:00    
---> Package libgomp.i386 0:4.1.2-13.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-18.fc6 for package: glibc-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.5-18.fc6. 100% |=========================| 142 kB    00:00    
---> Package glibc-headers.i386 0:2.5-18.fc6 set to be updated
--> Running transaction check

ca95 發表在 痞客邦 留言(2) 人氣()

參考: 
Wiki-Microsoft Excel
http://zh.wikipedia.org/w/index.php?title=Microsoft_Excel&variant=zh-tw
Wiki-Microsoft Office:
http://zh.wikipedia.org/w/index.php?title=Microsoft_Office&variant=zh-tw
Wiki-復活節彩蛋:
http://zh.wikipedia.org/w/index.php?title=%E5%BD%A9%E8%9B%8B&variant=zh-tw

ca95 發表在 痞客邦 留言(0) 人氣()

[轉] 誰正在連自己的電腦 netstat -n
不知有沒有人想過~在有的時候明明就沒有在上網,為什麼數據機的燈號會亮個不停呢?
原來是因為有人在經過你的電腦,偷用你的帳號連線啊~"~!
那麼怎麼樣抓出來呢?= =a
==============================PcHome雜誌有教過方法:

ca95 發表在 痞客邦 留言(2) 人氣()


[轉] Linux 與Tux(一隻企鵝) 的故事
Wiki-Linux:
http://zh.wikipedia.org/w/index.php?title=Linux&variant=zh-tw
Wiki-Tux:
http://zh.wikipedia.org/w/index.php?title=Tux&variant=zh-tw

ca95 發表在 痞客邦 留言(0) 人氣()

之前修好又壞掉了,
沒閒時間去研究,以為它過幾天就好了,
沒想到到現在一直呈現慘死的狀態,以為官網倒了,剛過去看了下,
網站是還活著啦!不過路徑又錯了,首頁就寫到:
July 8, 2007

ca95 發表在 痞客邦 留言(0) 人氣()

參考:
Miranda IM-官網:http://www.miranda-im.org
Miranda IM-官網-Addons插件:http://addons.miranda-im.org
Miranda IM使用簡介:http://blog.wdicc.com/mim/Miranda%20IM.htm

ca95 發表在 痞客邦 留言(0) 人氣()

[轉] 即時通訊軟體比較
參考Wiki:http://zh.wikipedia.org/w/index.php?title=%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF%E8%BD%AF%E4%BB%B6%E6%AF%94%E8%BE%83&variant=zh-tw
續......

協議支援各軟體對協議的支援。

 AIMICQMSN
MessengerYahoo!IRCJabberBonjourNovell
GroupWise
MessengerLotus
SametimeGadu-GaduSkypeQQ其他Adium是是是是否是是是是是否 ? ?AIM是是否否否否否否否否否否(不適用)aMSN否否是否否否否否否否否 ? ?BitlBee是是是是否是否否否否否 ? ?Centericq是是是是是是否 ? ?否否 ? ?Fire是是是是是是是否否否否 ? ?Pidgin是是是是是是是是是 1是否是SILC, ZephyriChat是是否否否是是 ? ?否否 ? ?ICQ是是否否否否否否否否否否(不適用)IM2是是是是是否否否否否否 ? ?JAJC33333是否否否否 3否 ? ?Kopete是是是是是是否是是是是 7 ? ?mICQ否是否否否否否否否否否 ? ?Miranda IM是是是是是是是 2否否是部分 42Tlen, LAN 5, Chat 5MSN否否是否否否否否否否否否(不適用)Psi33333是否否否否 3否 ? ?Proteus是是是是是是是 ? ?是否 ? ?QQ否否否否否否否否否否否是(不適用)Skype否否否否否否否否否否是否 ?SIM是是是否否是否否否否否否LiveJournalTkabber33333是否否否否 3否否 ?Trillian是是是是是否否否否否否 ? ?Trillian Pro是是是是是是是是是否否 ? ?YM!否否否是否否否否否否否否(不適用)YSM否是否否否否否否否否否 ? ?Google Talk否否否否否是 6否否否否否否 ?LumaQQ否否否否否否否否否否否是 ? AIMICQMSN
MessengerYahoo!IRCJabberBonjourNovell
GroupWise
MessengerLotus
SametimeGadu-GaduSkypeQQ其他

ca95 發表在 痞客邦 留言(0) 人氣()

[轉] 即時通訊軟體比較
參考Wiki:http://zh.wikipedia.org/w/index.php?title=%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF%E8%BD%AF%E4%BB%B6%E6%AF%94%E8%BE%83&variant=zh-tw
pixnet好像有字數限制,每次貼表格都會有問題...
要一篇分三篇,浪費很多時間在貼文上orz...

即時通訊軟體比較
維基百科,自由的百科全書

以下是列出一些流行的即時通訊軟體的功能比較,如要取得更多個別軟體資料可參見有關條目。


目錄

1 一般資料
2 支援
3 協議支援
4 功能
5 參考文獻
6 參見

 
一般資料

有關即時通訊軟體的基本資料,如:創作者/公司、軟體執照/價格等等。

 創作者首次公開發表日期類型最新的穩定版本價格 (USD)軟體授權
AdiumAdam Iser, Evan Schoenberg2001年9月多協定1.0.3  (2007年5月9日)免費GPL v2
AOL即時通訊 (AIM)AOL1997年5月單一協定6.0.28.1  (2006年11月15日)免費
廣告軟體
私有
aMSNAlvaro J. Iradier Muro2002年5月單一協定0.96免費GPL
BitlBeeWilmer van der Gaast2002年8月9日IRC Gateway, 多協定1.0.3免費GPL
CentericqKonstantin Klyagin ?多協定4.21.0免費GPL
EVA QQyunfan2004年單一協定0.4.1免費GPL
FireEric Peyton1999年4月1日多協定1.5.6免費GPL
PidginMark Spencer1998年11月多協定2.0.2  (2007年6月15日)免費GPL
Google TalkGoogle2005年8月24日單一協定1.0.0.104  (2007年1月1日)免費私有
iChat蘋果電腦2002年8月多協定3.1.6 (441)免費私有
ICQMirabilis1996年11月單一協定5.1免費
廣告軟體
私有
IM2IM2 Limited2003年4月多協定1.5免費私有
JAJCMikel Ivanov2002年單一協定0.0.8.113免費私有
KopeteKopete Team2002年3月3日多協定0.10.3免費GPL
LumaQQluma2003年單協定2004T免費GPL
mICQMattew D. Smith (up to ICQv5); Rüdiger Kuhlmann1997年(?); 2001年單一協定0.5.0.4免費GPL v2
Miranda IMMiranda IM project2000年2月6日多協定0.6免費GPL
ProteusJustin Wood ?多協定4.0915 USD私有
PsiJustin Karneges2001年單一協定0.9.3免費GPL
QQ騰訊1999年2月單一協定2006 正式版免費
廣告軟體
私有
SkypeNiklas ZennströmJanus Friis2003年單一協定

3.2.0.175 (Windows),
1.4.0.74 (Linux),
2.6.0.151 (Mac OS X),
2.2.0.36 (Pocket PC)
 (2007年7月2日)

免費私有
SIMShutoff Co.2002年多協定0.9.3免費GPL
TapiocaTapioca Project2006年12月26日單一協定0.3.9免費GPL
TeltelTeltel2006年3月單一協定0.9.4.19免費私有
TkabberAlexey Shchepin2003年單一協定0.9.8免費GPL
TrillianCerulean Studios2000年7月1日多協定3.1免費私有
Trillian ProCerulean Studios2002年9月10日多協定3.125 USD私有
Windows Live Messenger(MSN Messenger)Microsoft1999年7月雙協定8.0.812 (Windows XP/Vista)免費
廣告軟體
私有
Windows MessengerMicrosoft ? ?5.1.0701 (Windows XP SP2)免費私有
XfireXfire.inc2004年單一協定1.38免費私有
Yahoo! MessengerYahoo!1999年6月21日雙協定8.1.0.239 (Windows)
3.0b1 (Mac)
1.0.4 (Unix)
 (2007年1月19日 (Windows)
免費
廣告軟體
私有
YSMrad2k2001年單協定2.9.6免費GPL
 創作者首次公開發表日期類型最新的穩定版本價格 (USD)軟體授權

支援

即時通訊軟體在無需模擬底下所支援的作業系統。

 WindowsMac OS XLinuxBSDUnix
Adium
AIM
aMSN
BitlBee
Centericq
EVA是(需要KDE是(需要KDE是(需要KDE
Fire
Pidgin1
Google Talk3
iChat
ICQ
IM2
JAJC
Kopete
LumaQQ
mICQ2
Miranda IM
Windows Live Messenger(MSN Messenger)
Proteus
Psi
QQ
Skype ? ?
SIM ?
Tapioca
Teltel
Tkabber
Trillian
Trillian Pro
Yahoo! Messenger
YSM
 WindowsMac OS XLinuxBSDUnix

註 1: Mac OS X版本只能獨立安裝在 X server和GTK+。

註 2: 需要ANSI終端。

註 3: Mac和 Linux用戶可以使用其他類似軟體連結到Google Talk服務。
續......

 

ca95 發表在 痞客邦 留言(0) 人氣()

[轉] 即時通訊
參考Wiki:http://zh.wikipedia.org/w/index.php?title=%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF%E8%BD%AF%E4%BB%B6&variant=zh-tw
即時通訊(Instant messaging,簡稱IM)是一個終端服務,允許兩人或多人使用網路即時的傳遞文字訊息、檔案、語音與視訊交流。
在早期的即時通訊程式中,使用者輸入的每一個字元都會即時顯示在雙方的螢幕,且每一個字元的刪除與修改都會即時的反應在螢幕上。這種模式比起使用e-mail更像是電話交談。在現在的即時通訊程式中,交談中的另一方通常只會在本地端按下送出鍵(Enter或是Ctrl+Enter)後才會看到訊息。

ca95 發表在 痞客邦 留言(0) 人氣()

[轉] 鳥哥:認識系統服務 daemons - 各個服務的簡單說明
http://linux.vbird.org/linux_basic/0560daemons.php#illustrations
各個服務的簡單說明
隨著 Linux 上面軟體支援性越來越多,加上自由軟體蓬勃的發展, 我們可以在 Linux 上面用的 daemons 真的越來越多了。所以,想要寫完所有的 daemons 幾乎是不可能的,因此,鳥哥這裡僅介紹幾個很常見的 daemons 而已, 更多的資訊呢,就得要麻煩您自己使用 ntsysv 或者是 vi /etc/init.d/* 裡面的檔案去瞧一瞧囉~ ^_^
Stand Alone Daemons服務名稱
  • 參數檔
  • 預設啟動的 port number
  • 鳥哥的建議:是否需要啟動?
  • 基本說明anacron
  • /etc/anacrontab
  • 不需要使用 port
  • 全天候啟用的主機,不需要開啟這個服務
  • 當你的 Linux 主機並不是全天候開機的時候,這個 anacron 就可以幫你執行在『 crontab 』既定的時間內沒有執行的工作!舉個例子來說,當你的主機在晚上 12:00 會自動關閉,但是偏偏 crontab 這個例行性工作是在 4:00 工作, 這個時候例行性工作不是都沒有做到嗎?嗯! anacron 就可以使用啦!apmd
  • /etc/sysconfig/apmd
  • 不需要使用 port
  • 一般主機不太需要這個 daemon
  • apmd 是 Adventage Power Management daemon 的縮寫,顧名思義,可以用來瞭解系統的『電池電量』, 如果對於手提式電腦才有需要吧我想!atd
  • /etc/at.allow, /etc/at.deny
  • 不需要使用 port
  • 若有啟動 cron ,或許可以忽略
  • 這個總該不陌生了吧!就是 僅進行一次的工作排程囉! 如果忘記了!趕緊去查看一下!autofs
  • /etc/sysconfig/autofs
  • 不需要使用 port
  • 如果是伺服器,不需要啟動,如果是 Desktop,建議使用
  • 如果你的 Linux 是用來做為伺服器的,那麼這個服務就不需要啟動了。 因為這個服務可以自動掛載很多的檔案系統與裝置,舉例來說,自動掛載光碟啊、USB硬碟啊等等的。 如果是主機,我們可以自己好好的控制,不需要系統自動掛載。如果是個人桌上型電腦, 那麼啟動這個 daemon 也不錯!crond
  • /etc/crontab
  • 不需要使用 port
  • 務必啟動啊!
  • 用來執行例行性命令的 daemon ,請務必要啟動他!cups
  • /etc/printcap, /etc/cups/*
  • 預設使用 port 631
  • 沒有印表機的話,就不要啟動
  • 這個服務在管理 Linux 主機上面的印表機的! 他可以用來作為本機印表機的管理,也可以用來管理網路印表機, 全名為 Common UNIX Printing System (CUPS)。如果您的網路環境當中有印表機, 而且想要透過 Linux 來提供給所有用戶使用,那麼就可以管理一下 cups 囉~gpm
  • /etc/sysconfig/mouse
  • 不需要使用 port
  • 不需要啟動的
  • 在文字模式裡面可以使用 mouse 來從事『複製、貼上、移動游標』等等的功能! 如果你是個教師,需要使用滑鼠在純文字介面底下秀出結果的話, 再使用這玩意就好了。基本上,不需要啟動他!httpd
  • /etc/httpd/conf/httpd.conf, /etc/sysconfig/httpd
  • 使用 port 80 (and/or) 443
  • 除非需要設定 WWW 伺服器,否則不要啟動
  • 這個玩意兒可有趣的很哩~一般來說,新手最喜歡架設 Web 網站囉, 而 WWW 伺服器,就是這個玩意兒啊~更詳細的資訊請參考伺服器篇的內容iptables
  • /etc/sysconfig/iptables
  • 不需要使用 port
  • 連上 Internet 的主機務必啟動
  • 這個傢伙就是 Linux 上面有名的『防火牆』啦~如果你的 Linux 是在區網內, 而且沒有連上 Internet 的話,那麼這個防火牆機制可以暫時不要啟動, 因為可能會抵擋掉你主機所提供的服務。如果連上了 Internet ,不開這個, 會死的很慘~kudzu
  • /etc/sysconfig/kudzu
  • 不需要使用 port
  • 如果系統已經穩定,不需要啟動
  • 這個 daemon 預設是啟動的,他會在開機的時候去偵測你的硬體, 如果發現硬體有異動,或者是有新增其他的硬體, 那麼 kudzu 服務會主動的以 Fedora 相關的設定軟體來設定你的新硬體。 不過,對於穩定的系統來說,實在沒有必要在開機的時候偵測一次硬體,因為....很慢~named
  • /etc/named.conf
  • 使用 port 53
  • 不需要啟動,除非是 DNS Server
  • 這是個很複雜的玩意兒,那就是 DNS (Domain Name System)。除非你真的很瞭解 DNS, 否則這個服務不需要啟動的!netfs
  • /etc/fstab
  • 不需要使用 port
  • 如果你的主機有預設掛載網路上的磁碟檔案系統時,才開啟。
  • 這個服務在自動的掛載 /etc/fstab 裡頭記錄的關於網路檔案系統,如 NFS, SMB (網芳) 等等,如果你的主機本身並沒有掛載來自網路上的 filesystem,不需要啟動。network
  • /etc/sysconfig/network, /etc/sysconfig/network-scripts/*
  • 不需要使用 port
  • 務必啟動
  • 看檔名就知道啦!是用來管理網路的,所以,當然要啟動了。 不論你有沒有網路卡,這個服務都要啟動,因為至少 network 會驅動 lo 這個網路介面。 更多的網路相關資訊,參考伺服器篇的內容。nfs
    nfslock
  • /etc/sysconfig/nfs
  • 隨機使用 port,與 portmap 服務有關
  • 不需要啟動
  • NFS 為 Network File System 的縮寫,我們會在伺服器篇談這個服務, 一般來說,不需要啟動這個玩意兒~ntpd
  • /etc/ntp.conf, /etc/sysconfig/ntpd
  • 使用 port 123
  • 不需要啟動
  • 這個服務的全名是:Network Time Protocol,意思就是在進行網路校時的一個服務。 一般來說,不需要啟動他。portmap
  • /sbin/portmap 直接啟動
  • 使用 port 111
  • 除非你有啟用類似 NFS 的服務,否則不需要啟動
  • 這個咚咚與很多 RPC 的服務有關,例如 NFS 等等。一般來說,如果你的 Linux 尚未連上 internet, 這個服務不需要啟動。不過,為了方便起見,各主要 linux distributions 都預設啟動這個服務的。 鳥哥通常是關掉他!哈哈!postfix
    sendmail
  • /etc/postfix/* 或 /etc/mail/*
  • 使用 port 25
  • 預設要啟動
  • 這個就是郵件伺服器啦!由於近來網路垃圾大增,所以,目前所有的 Linux distributions 預設都要啟動 postfix 之類的郵件伺服器後,我們發出的信件才會接收或者是傳送。 預設的情況下,一定會有一個郵件伺服器啟動的,不要關閉他~ 否則我們主機上面的帳號彼此之間無法以 email 傳送資料喔!smb
  • /etc/samba/*
  • 使用 port 137~139, 445 等
  • 不需要啟動
  • 這個服務其實就是模擬 Linux 成為 Windows 的網路上的芳鄰上頭的主機啦~ 由於我們還沒有連上 Internet 啊,所以自然不需要啟動他啦~sshd
  • /etc/ssh/*
  • 使用 port 22
  • 務必啟動
  • 這個是取代 telnet 的遠端連線伺服器 daemon ,幾乎所有的 Linux distributions 預設都會啟動他~ 我們也可以透過這個玩意兒讓遠端主機連線進來啊!所以當然是啟動的啊!syslog
  • /etc/syslog.conf
  • 不需要使用 port
  • 務必啟動
  • 這個是登錄檔記錄的一個重要的 daemon ,沒有他,你的主機幾乎沒有事後監控的功能~ 所以請務必啟動。我們會在 認識登錄檔 當中來談這個咚咚~xfs
  • 使用 /usr/sbin/chkfontpath 直接啟動與偵測
  • 使用 socket 7100
  • 如果是純文字介面,則不需要啟動
  • X Font Server, xfs,顧名思義,他是用來管理 X Window 的字形的一個服務, 如果你是 run level 5 ,或者是想要啟動 X Window 的話,那麼這個玩意兒就不能不啟動。 不過,如果你跟鳥哥一樣都是使用純文字介面的話,這個玩意兒不用啟動啦!xinetd
  • /etc/xinetd.d/*, /etc/xinetd.conf
  • 不一定,要看設定值
  • 務必啟動
  • 剛剛上頭才講過這個玩意兒,不會就忘了吧?務必啟動喔!Super Daemonschargen
    chargen-udp
  • 預設使用 port 19
  • 不需要啟動
  • 主要的功能在於提供類似遠端打字的咚咚吧!daytime
    daytime-udp
  • 預設使用 port 13
  • 不需要啟動
  • 用來作為 daytime 的服務,這是 NTP (Network Time Protocol) 的上一代, 目的在進行時間的校正工作。不過,因為他不會計算網路連線過程當中的遲滯時間, 並且是以明碼傳送,因此除了特殊目的外,目前已經很少使用這玩意兒了krb5-telnet
  • 預設使用 port 23
  • 不需要啟動
  • 用來取代傳統的 telnet 服務!可提供 krb 5 的驗證機制。gssftp
  • 預設使用 port 21
  • 不必啟動
  • 用來取代傳統的 ftp server,可提供 krb 5 的驗證機制

    ca95 發表在 痞客邦 留言(0) 人氣()

    p7zip_4.49_x86_linux_bin.tar.bz2\p7zip_4.49\DOCS\MANUAL\switches\method.htm

    -m (Set compression Method) switch

    Specifies the compression method.

    Syntax

    -m<method_parameters>

    The format for this switch depends on the archive type.

    Zip

    ParameterDefaultDescription
    x=[0 | 1 | 3 | 5 | 7 | 9 ]5Sets level of compression.
    m={MethodID}DeflateSets a method: Copy, Deflate, Deflate64, BZip2.
    fb={NumFastBytes}32Sets number of Fast Bytes for Deflate encoder.
    pass={NumPasses}1Sets number of Passes for Deflate encoder.
    d={Size}[b|k|m]900000Sets Dictionary size for BZip2
    mt=[off | on | {N}]onSets multithreading mode.
    em={EncryptionMethodID}ZipCryptoSets a encryption method: ZipCrypto, AES128, AES192, AES256
    x=[0 | 1 | 3 | 5 | 7 | 9 ]

    Sets level of compression. x=0 means Copy mode (no compression).

    Deflate / Deflate64 settings:

    LevelNumFastBytesNumPassesDescription
    1321Fastest
    3Fast
    5Normal
    7643Maximum
    912810Ultra

    x=1 and x=3 with Deflate method set fast mode for compression.

    BZip2 settings:

    LevelDictionaryNumPassesDescription
    11000001Fastest
    3500000Fast
    5900000Normal
    72Maximum
    97Ultra
    fb={NumFastBytes}

    Sets the number of fast bytes for the Deflate/Deflate64 encoder. It can be in the range from 3 to 258 (257 for Deflate64). Usually, a big number gives a little bit better compression ratio and a slower compression process. A large fast bytes parameter can significantly increase the compression ratio for files which contain long identical sequences of bytes.

    pass={NumPasses}

    Sets number of passes for Deflate encoder. It can be in the range from 1 to 15 for Deflate and from 1 to 10 for BZip2. Usually, a big number gives a little bit better compression ratio and a slower compression process.

    d={Size}[b|k|m]

    Sets the Dictionary size for BZip2. You must specify the size in bytes, kilobytes, or megabytes. The maximum value for the Dictionary size is 900000b. If you do not specify any symbol from set [b|k|m], dictionary size will be calculated as DictionarySize = 2^Size bytes.

    mt=[off | on | {N}]

    Sets multithread mode. If you have a multiprocessor or multicore system, you can get a speed increase with this switch. This option affects only compression with BZip2, Deflate and Deflate64 methods and decompression of BZip2 streams. Each thread in the multithread mode uses 32 MB of RAM for buffering. If you specify {N}, 7-Zip tries to use N threads.

    GZip

    GZip uses the same parameters as Zip, but GZip compresses only with Deflate method.

    BZip2

    ParameterDefaultDescription
    x=[1 | 3 | 5 | 7 | 9 ]5Sets level of compression.
    pass={NumPasses}1Sets number of Passes for Bzip2 encoder.
    mt=[off | on | {N}]onSets multithreading mode.
    x=[1 | 3 | 5 | 7 | 9 ]

    Sets level of compression

    LevelNumPassesDescription
    51Default compression method.
    72Maximum compression method.
    97Ultra compression method.
    pass={NumPasses}

    Sets the number of passes. It can be in the range from 1 to 10. The default value is 1 for normal mode, 2 for maximum mode and 7 for ultra mode. A bigger number can give a little bit better compression ratio and a slower compression process.

    mt=[off | on | {N}]

    Sets multithread mode. If you have a multiprocessor or multicore system, you can get a speed increase with this switch. If you specify {N}, for example mt=4, 7-Zip tries to use 4 threads.

    7z

    ParameterDefaultDescription
    x=[0 | 1 | 3 | 5 | 7 | 9 ]5Sets level of compression.
    s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g]onSets solid mode.
    f=[off | on]onEnables or disables compression filters for executable files.
    hc=[off | on]onEnables or disables archive header compressing.
    he=[off | on]offEnables or disables archive header encryption.
    b{C1}[s{S1}]:{C2}[s{S2}] Sets binding beetwen coders.
    {N}={MethodID}[:param1][:param2][..]LZMASets a method: LZMA, PPMd, BZip2, Deflate, BCJ, BCJ2, Copy.
    mt=[off | on | {N}]onSets multithreading mode.
    x=[0 | 1 | 5 | 7 | 9 ]

    Sets level of compression

    LevelMethodDictionaryFastBytesMatchFinderFilterDescription
    0Copy    No compression.
    1LZMA64 KB32HC4BCJFastest compressing
    3LZMA1 MB32HC4BCJFast compressing
    5LZMA16 MB32BT4BCJNormal compressing
    7LZMA32 MB64BT4BCJMaximum compressing
    9LZMA64 MB64BT4BCJ2Ultra compressing
    s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g)]

    Enables or disables solid mode. The default mode is s=on. In solid mode, files are grouped together. Usually, compressing in solid mode improves the compression ratio.

    eUse a separate solid block for each new file extension
    {N}fSet the limit for number of files in one solid block
    {N}b | {N}k | {N}m | {N}gSet a limit for the total size of a solid block in bytes

    These are the default limits for the solid block size:

    Compression LevelSolid block size
    Store0 B
    Fastest16 MB
    Fast128 MB
    Normal2 GB
    Maximum4 GB
    Ultra4 GB

    Limitation of the solid block size usually decreases compression ratio but gives the following advantages:

    • Decreases losses in case of future archive damage.
    • Decreases extraction time of a group of files (or just one file), so long as the group doesn't contain the entire archive.

    The current version of 7-Zip doesn't support updating of solid archives, if it requires repacking solid blocks.

    Example:

     s=100f10m

    set solid mode with 100 files & 10 MB limits per one solid block.

    f=[off | on]

    Enables or disables compression filters for executable files: dll, exe, ocx, sfx, sys. It uses BCJ2 filter in Ultra mode and BCJ filter in other modes. The default mode is f=on.

    hc=[off | on]

    Enables or disables archive header compressing. The default mode is hc=on. If archive header compressing is enabled, some parts of archive header will be compressed with LZMA method.

    he=[off | on]

    Enables or disables archive header encryption. The default mode is he=off.

    {N}

    Sets order of methods. It is used also to associate parameters with methods. Numbers must begin from 0. Methods that have smaller numbers will be used before others.

    b{C1}[s{S1}]:{C2}[s{S2}]

    Binds output stream S1 in coder C1 with input stream S2 in coder C2. If stream number is not specified, stream with number 0 will be used.

    Usally coder has one input stream and one output stream. In 7z some coders can have multiple input and output streams.

    For example, BCJ2 encoder has one input stream and four output streams.

    mt=[off | on | {N}]

    Sets multithread mode. If you have a multiprocessor or multicore system, you can get a increase with this switch. 7-Zip supports multithread mode only for LZMA compression and BZip2 compression / decompression. If you specify {N}, for example mt=4, 7-Zip tries to use 4 threads. LZMA compression uses only 2 threads.

    {N}={MethodID}[:param1][:param2] ... [:paramN]

    Sets compression method. You can use any number of methods. The default method is LZMA.

    Parameters must be in one of the following forms:

    • {ParamName}={ParamValue}.
    • {ParamName}{ParamValue}, if {ParamValue} is number and {ParamName} doesn't contain numbers.

    Supported methods:

    MethodIDDescription
    LZMAAlgorithm based on LZ algorithm
    PPMdDmitry Shkarin's PPMdH with small changes
    BZip2BWT algorithm
    DeflateLZ+Huffman
    CopyNo compression

    Supported filters:

    MethodIDDescription
    BCJconverter for x86 executables
    BCJ2converter for x86 executables (version 2)
    BC_ARMconverter for ARM (little endian) executables
    BC_ARMThumbconverter for ARM Thumb (little endian) executables
    BC_IA64converter for IA-64 executables
    BC_PPC_Bconverter for PowerPC (big endian) executables
    BC_SPARCconverter for SPARC executables

    Filters increase the compression ratio for some types of files. Filters must be used with one of the compression method (for example, BCJ + LZMA).

    LZMA

    LZMA is an algorithm based on Lempel-Ziv algorithm. It provides very fast decompression (about 10-20 times faster than compression). Memory requirements for compression and decompression also are different (see d={Size}[b|k|m] switch for details).

    ParameterDefaultDescription
    a=[0|1]1Sets compressing mode
    d={Size}[b|k|m]24Sets Dictionary size
    mf={MF_ID}bt4Sets Match Finder
    fb={N}32Sets number of Fast Bytes
    mc={N}32Sets Number of Cycles for Match Finder
    lc={N}3Sets number of Literal Context bits - [0, 8]
    lp={N}0Sets number of Literal Pos bits - [0, 4]
    pb={N}2Set number of Pos Bits - [0, 4]
    a=[0|1]

    Sets compression mode: 0 = fast, 1 = normal. Default value is 1.

    d={Size}[b|k|m]

    Sets Dictionary size for LZMA. You must specify the size in bytes, kilobytes, or megabytes. The maximum value for dictionary size is 1 GB = 2^30 bytes. Default values for LZMA are 24 (16 MB) in normal mode, 25 (32 MB) in maximum mode (-mx=7) and 26 (64 MB) in ultra mode (-mx=9). If you do not specify any symbol from the set [b|k|m], the dictionary size will be calculated as DictionarySize = 2^Size bytes. For decompressing a file compressed by LZMA method with dictionary size N, you need about N bytes of memory (RAM) available.

    mf={MF_ID}

    Sets Match Finder for LZMA. Default method is bt4. Algorithms from hc* group don't provide a good compression ratio, but they often work pretty fast in combination with fast mode (a=0). Memory requirements depend on dictionary size (parameter "d" in table below).

    MF_IDMemoryDescription
    bt2d*9.5 + 4 MBBinary Tree with 2 bytes hashing.
    bt3d*11.5 + 4 MBBinary Tree with 3 bytes hashing.
    bt4d*11.5 + 4 MBBinary Tree with 4 bytes hashing.
    hc4d*7.5 + 4 MBHash Chain with 4 bytes hashing.

    Note: Your operation system also needs some amount of physical memory for internal purposes. So keep at least 32MB of physical memory unused.

    fb={N}

    Sets number of fast bytes for LZMA. It can be in the range from 5 to 273. The default value is 32 for normal mode and 64 for maximum and ultra modes. Usually, a big number gives a little bit better compression ratio and slower compression process.

    mc={N}

    Sets number of cycles (passes) for match finder. It can be in range from 0 to 1000000000. Default value is (16 + number_of_fast_bytes / 2) for BT* match finders and (8 + number_of_fast_bytes / 4) for HC4 match finder. If you specify mc=0, LZMA will use default value. Usually, a big number gives a little bit better compression ratio and slower compression process. For example, mf=HC4 and mc=10000 can provide almost the same compression ratio as mf=BT4.

    lc={N}

    Sets the number of literal context bits (high bits of previous literal). It can be in range from 0 to 8. Default value is 3. Sometimes lc=4 gives gain for big files.

    lp={N}

    Sets the number of literal pos bits (low bits of current position for literals). It can be in the range from 0 to 4. The default value is 0. The lp switch is intended for periodical data when the period is equal to 2^value (where lp=value). For example, for 32-bit (4 bytes) periodical data you can use lp=2. Often it's better to set lc=0, if you change lp switch.

    pb={N}

    Sets the number of pos bits (low bits of current position). It can be in the range from 0 to 4. The default value is 2. The pb switch is intended for periodical data when the period is equal 2^value (where lp=value).

    PPMd

    PPMd is a PPM-based algorithm. This algorithm is mostly based on Dmitry Shkarin's PPMdH source code. PPMd provides very good compression ratio for plain text files. There is no difference between compression speed and decompression speed. Memory requirements for compression and decompression also are the same.

    ParameterDefaultDescription
    mem={Size}[b|k|m]24Sets size of used memory for PPMd.
    o={Size}6Sets model order for PPMd.
    mem={Size}[b|k|m]

    Sets the size of memory used for PPMd. You must specify the size in bytes, kilobytes, or megabytes. The maximum value is 2GB = 2^31 bytes. The default value is 24 (16MB). If you do not specify any symbol from the set [b|k|m], the memory size will be calculated as (2^Size) bytes. PPMd uses the same amount of memory for compression and decompression.

    o={Size}

    Sets the model order for PPMd. The size must be in the range [2,32]. The default value is 6.

    BCJ2

    BCJ2 is a Branch converter for 32-bit x86 executables (version 2). It converts some branch instructions for increasing further compression.

    A BCJ2 encoder has one input stream and four output streams:

    • s0: main stream. It requires further compression.
    • s1: stream for converted CALL values. It requires further compression.
    • s2: stream for converted JUMP values. It requires further compression.
    • s3: service stream. It is already compressed.

    If LZMA is used, the size of the dictionary for streams s1 and s2 can be much smaller (512 KB is enough for most cases) than the dictionary size for stream s0.

    Examples

    7z a -tzip archive.zip *.jpg -mx0

    adds *.jpg files to archive.zip archive without compression.

    7z a -t7z archive.7z *.exe *.dll -m0=BCJ -m1=LZMA:d=21 -ms -mmt

    adds *.exe and *.dll files to solid archive archive.7z using LZMA method with 2 MB dictionary and BCJ converter. Compression will use multithreading optimization.

    7z a -t7z archive.7z *.exe *.dll -m0=BCJ2 -m1=LZMA:d23 -m2=LZMA:d19 
    -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3

    adds *.exe and *.dll files to archive archive.7z using BCJ2 converter, LZMA with 8 MB dictionary for main output stream (s0), and LZMA with 512 KB dictionary for s1 and s2 output streams of BCJ2.

    7z a -t7z archive.7z *.txt -m0=PPMd

    adds *.txt files to archive archive.7z using PPMd method.

    Commands that can be used with this switch

    a (Add), d (Delete), u (Update),

    See also

    Switches: -t (set Type of archive)

    ca95 發表在 痞客邦 留言(0) 人氣()

    Blog Stats
    ⚠️

    成人內容提醒

    本部落格內容僅限年滿十八歲者瀏覽。
    若您未滿十八歲,請立即離開。

    已滿十八歲者,亦請勿將內容提供給未成年人士。