1月 2008 - 工作雜記

工作雜記

My working blogger,In my daily work log, I meticulously record all the matters and processes I encounter during the day. From the task planning that begins in the morning and the discussions and collaborations with colleagues, to the tools, methods, and processes used in the actual execution of the work, I organize and write them down one by one. Problems encountered during the process, the directions of thought, and the solutions finally found are also clearly recorded in writing

工作雜記

搜尋此網誌

標籤

2008年1月27日 星期日

雙備援之Mail server 實作

雙備援 mail server 主要是使用 DNS 的 mx 記錄來達成此目地 例如下面這個dns的設定: www IN A 111.112.113.114 mail IN A 111.112.113.115 mail IN...
Read More

2008年1月25日 星期五

主從式 Master/Slave DNS 設定

兩臺dns server跑主從式架構的好處就是 永續無間斷的能提供ip查詢的功能 Master 這臺的設定: vi /etc/named.conf options { directory "/var/named"; dump-f...
Read More

2008年1月24日 星期四

rkhunter 木馬&後門偵測

RootKit Hunter 安裝: 官網下載: http://www.rootkit.nl/projects/rootkit_hunter.html 如果是舊版 rkhunter-1.2.9 只需要下載後解壓縮 安裝指令:    ./installer.sh 便可 如果是新版 ...
Read More

2008年1月23日 星期三

Fc5 yum 更新遇到新版python衝突問題

  最近 yum update 時會產生下面的訊息 Error: python-devel conflicts with python < 2.4.4-1.fc5 然後 update 就停止不再更新 原因是更新時舊版的 python 產生衝突 先用 rpm -qa pyth...
Read More

2008年1月18日 星期五

程序控制

1.列出執行中程序 ps aux 2.以程序樹顯示 ps -axjf 3. 找出目前執行中程序 ps aux | grep 程序名 4. 刪除該程序 kill -9 PID號碼
Read More

ssh 加密連線

sshd fc系列直接內建,不需再安裝 這邊寫安全上的設定問題 一、 /etc/hosts.allow 及 /etc/hosts.deny vi /etc/hosts.allow sshd : 192.168.0.0/24 : allow   vi /etc/hosts.deny...
Read More

掛載USB隨身碟

1.先查USB隨身碟是被系統辨識成那個裝置 fdisk -l sda 很可能是硬碟,往下查容量可以找到隨身碟的編號 我們假設為sdb 2.建立USB隨身碟的掛載點: mkdir /mnt/usb 3.掛載USB隨身碟 mount -v -t auto /dev/sdb /m...
Read More

2008年1月17日 星期四

新版 samba server 設定

新版 samba 更改比較重要的地方有兩項 1. nmb 啟動方式: 架設 Samba Server 需要用到兩項服務,一是「smb」,另一是「nmb」。其中「smb」是啟用 Samba Server 的服務,而「nmb」就是在 Linux 系統上啟用 NetBIOS 協定。 在...
Read More

2008年1月9日 星期三

iptables 語法

查詢: iptables -L -n iptables 程式的功能屬於封包處理的工作 係利用不同的原則表 (rule tables)來定義 在iptables內含內建的原則表: Filter Table 、NAT Table 、Mangle Table 而每個原則表又由數個鏈(C...
Read More

martian source 火星連線

martian source 未知的連線 大量的洗螢幕和log檔 讓人煩不勝煩 log檔 /var/log/messages Mar 19 16:36:43 ADSLserver kernel: ll header: ff:ff:ff:ff:ff:ff:00:48:54:5b:0...
Read More

2008年1月4日 星期五

MTU 的最佳化

MTU :最大傳輸單位(Maximum Transmission Unit ) 如果 MTU 超過媒體所負荷的,封包在傳送時會一再的重組 這會使網路傳輸效能低落,因此我們最好將網路介面作最佳化 下表是一些媒體使用的MTU : 網路介面 MTU ...
Read More

Linux 常用網路指令

一、網路參數設定指令 1.ifconfig 查詢/修改 網路介面 ifconfig interface 例: ifconfig eth0 會把第一張網卡的參數秀出來 ifconfig eth0 192.168.x.x netmask 255.255.x.x broadcast 1...
Read More

Linux 網路參數設定

這裡假設網卡都被抓到 如果沒有支援,會非常麻煩 需要手動編譯載入 這裡只專注網路設定 1. 網卡參數: 所有的參數修改都在 /etc/sysconfig/network-scripts/ 裡面 第一張網卡預設名為 ifcfg-eth0 第二張 ifcfg-eth1 修改其參數: ...
Read More

2008年1月3日 星期四

有關 WGA

  WGA1.7.59.0(2007.10.08) INSTALL NOTES: 1. Extract into a new empty folder 2. Run installer.bat 100% working on Windows Update and Microsof...
Read More

Post Top Ad

Your Ad Spot