原创 DNS

DNS主服務器配置: yum install bind-*    安裝DNS服務 vim /var/named/chroot/etc/named.conf    編輯DNS主配置文件,內容如下:        options{ dire

原创 mysql的簡單查詢

1. 按名字查找 Select * from list where name=’’; 2. 按薪水大於5000查找 Select * from list where salary>5000; 3. 部門人數 Select  dept

原创 postfix郵件服務器的搭建與測試

查看DNS,APACH服務是否安裝: Rpm –qa | grep bind Rpm –qa | grep httpd 停用sendmail服務,並關閉開機啓動 Service sendmail stop Chkconfig sendm

原创 DHCP服務器和DHCP中繼

 dhcp中繼代理server1:    編輯中繼配置文件:vim /etc/sysconfig/dhcrelay      INTERFACES="eth0 eth1 eth2"  DHCPSERVERS="172.17.17.2" 

原创 兩臺不同網段的postfix郵件服務器互發郵件

準備工作:昨天的郵件服務器爲server1,IP:172.16.1.1,網卡模式爲僅主機,網關爲:172.16.1.2           克隆一臺郵件服務器爲server2 IP:192.168.18.105 網卡模式爲橋接,網關爲;1

原创 我的友情鏈接

51CTO博客開發