在MS-DOS視窗中輸入
netsh advfirewall firewall add rule name="BLOCKSLOWYOUTUBE" dir=in action=block remoteip=203.66.48.0/24 enable=yes
要關閉的話,只要在MS-DOS視窗中輸入「netsh advfirewall firewall del rule name="BlockSlowYouTube"」指令後Enter即可
2014年9月25日 星期四
開啟32位元windows系統的PAE功能
Windows 7 開啟PAE
使用管理者權限執行命令提示字元
開始→所有程式→附屬應用程式→命令提示字元(右鍵選擇"以系統管理者身分執行")
輸入 bcdedit /set pae forceenable
Windows XP 開啟PAE
使用管理者權限執行命令提示字元
開始→所有程式→附屬應用程式→命令提示字元(右鍵選擇"以系統管理者身分執行")
輸入 bcdedit /set pae forceenable
Windows XP 開啟PAE
進入【我的電腦】→【內容】→【進階】→【啟動及修復】→【設定】→
在您要支援4G的作業系統選項狀態下,點選【編輯】。
在文件中的最後一行後面加上
在您要支援4G的作業系統選項狀態下,點選【編輯】。
在文件中的最後一行後面加上
/PAE
重新啟動電腦,即大功告成囉!
注意:
Windows 98/Me與Windows XP-SP1、2003-SP1的版本與32位元的VISTA是不支援的。
---------------------------------------------------------------
成功開啟PAE模式後,在【我的電腦】→【內容】下面會多一行「物理地址擴展」,
雖然顯示容量還是2.75G,但實際上已經可以用全4G了。
Windows 98/Me與Windows XP-SP1、2003-SP1的版本與32位元的VISTA是不支援的。
---------------------------------------------------------------
成功開啟PAE模式後,在【我的電腦】→【內容】下面會多一行「物理地址擴展」,
雖然顯示容量還是2.75G,但實際上已經可以用全4G了。
利用everest查看
2014年9月24日 星期三
各廠牌筆記型電腦還原鍵
隨機型不同,或新舊會略有不同,若依本表格內按鍵仍無法還原,請上原廠官網查詢。
廠牌
|
BIOS
|
開機選單
|
還原鍵
|
華碩ASUS
|
F2
|
ESC
|
F9
|
宏碁ACER
|
F2
|
F12
|
ALT+F10 (還原光碟)
|
BENQ
|
F10
| ||
聯想IBM
|
F1
|
F6
|
F11
|
SONY
|
F2
|
F10
| |
TOSHIBA
|
冷開機時按ESC後按F1
|
進入BIOS選項時,按 0 開始硬碟還原
| |
HP
|
F2
|
F9
|
F3或F11
|
HP/COMPAQ
|
F10 或 F2
| ||
聯強
|
F10
| ||
技嘉
|
F9
| ||
建達
|
ALT+F12
| ||
倫飛
|
F4
| ||
DELL
|
F2
|
Ctrl + F11
| |
FUJITSU
|
F2
|
還原光碟
|
2014年9月4日 星期四
2014年6月17日 星期二
2014年5月8日 星期四
Installing RHEL EPEL Repo on Centos 5.x or 6.x
How to install RHEL EPEL repository on Centos 5.x or 6.x
The following article will describe how to configure a CentOS 5.x-based or Centos 6.x-based system to use Fedora Epel repos and third party remi package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL.
Install the extra repositories
The first step requires downloading some RPM files that contain the additional YUM repository definitions. The instructions below point to the 64-bit versions that work with our Cloud Server instances.
The following article will describe how to configure a CentOS 5.x-based or Centos 6.x-based system to use Fedora Epel repos and third party remi package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL.
Install the extra repositories
The first step requires downloading some RPM files that contain the additional YUM repository definitions. The instructions below point to the 64-bit versions that work with our Cloud Server instances.
2014年4月7日 星期一
CentOS 的第三方套件庫
要使用 DAG 庫非常容易,只要安裝 rpmforge-release 這個套件就可以了。以 64 位元的 CentOS 6.4 為例,執行以下幾個指令即可完成:
$ wget -c http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
$ sudo rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
$ sudo rpm -K rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
$ sudo rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
$ wget -c http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
$ sudo rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
$ sudo rpm -K rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
$ sudo rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
CentOS安裝 EPEL 套件庫
安裝 EPEL (Extra Packages for Enterprise Linux) 套件庫
先到 http://download.fedoraproject.org/pub/epel/6/x86_64/
尋找新的 epel-release-x-x.noarch.rpm
複製下載連結
# rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
更新套件庫
# yum update
先到 http://download.fedoraproject.org/pub/epel/6/x86_64/
尋找新的 epel-release-x-x.noarch.rpm
複製下載連結
# rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
更新套件庫
# yum update
centos6安裝chkrootkit木馬檢測程式
安裝
yum -y install chkrootkit
或
yum --enablerepo=epel -y install chkrootkit
yum -y install chkrootkit
或
yum --enablerepo=epel -y install chkrootkit
執行
chkrootkit
顯示感染檔案
chkrootkit | grep INFECTED
2014年3月31日 星期一
在 CentOS 6.x 上安裝 Rootkit Hunter
Rootkit Hunter 是一套能偵測 Linux /BSD 作業系統是不是有中木馬、惡意程式、或是病毒的程式,也可以偵測系統是不是有一些不安全的設定,系統管理者可以安裝,用來檢測系統是否有問題,做為防護上的參考。
由於 Rootkit Hunter 不是官方套件庫中的套件,所以要利用 epel 套件庫來安裝
1. 安裝 Rootkit Hunter
# yum install rkhunter --enablerepo=epel
由於 Rootkit Hunter 不是官方套件庫中的套件,所以要利用 epel 套件庫來安裝
1. 安裝 Rootkit Hunter
# yum install rkhunter --enablerepo=epel
centos6 安裝ClamAv
步驟一
新增 EPEL 套件來源
rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
步驟二
安裝 ClamAV 套件
yum install clamav clamd clamav-devel -y
步驟三
更新 ClamAV 病毒定義檔
freshclam
步驟四
開機時啟用 ClamAV Daemon
service clamd start
步驟五
測試掃瞄檔案
clamscan -r /
步驟六
清除病毒
clamscan remove
新增 EPEL 套件來源
rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
步驟二
安裝 ClamAV 套件
yum install clamav clamd clamav-devel -y
步驟三
更新 ClamAV 病毒定義檔
freshclam
步驟四
開機時啟用 ClamAV Daemon
service clamd start
步驟五
測試掃瞄檔案
clamscan -r /
步驟六
清除病毒
clamscan remove
訂閱:
文章 (Atom)