fedora 6 i686 升級 fedora 7 x86_64 的慘痛經過
這次因為電腦教室的電腦更新,所以也想順便更新 Linux 主機,剛好 fedora 7 出來,所以就想嘗鮮,又因為cpu可以,所以就選用 fedora 7 x86_64 的版本,就過三天慘痛才勉強符合使用要求,電腦教室的主機必須有網頁(http),檔案伺服(ftp),郵件(mail),網路芳鄰(samba),nat,firewall,nfs,rsync
- httpd,proftp,rsync 設定跟Fedora 6 設定差不多,沒有問題
- mail 用的是 postfix + MailScanner + SpamAssassin + Clamav 其中在 SpamAssassin3.2 踏到鐵板,在與 MailScanner 配合使用時,mailscanner 會生出錯誤,在 /var/log/message 中會顯示 MailScanner: Process did not exit cleanly, returned 2 with signal 0 .知道是 SpamAssassin3.2 的設定問題,但是試不出來,google 也找不到資料,只好裝spamassassin3.1.9 就ok了,不知 spamassassin3.2做了什麼改變,只好等有高手解決再來升級3.2
- 在 samba 部分的密碼認証用的是 tdbsam 而給學生更改密碼(changepassword.cgi)的網頁程式用的是 smbpassword 所以只好將其改回 smbpassword 的檔案認証,而在 changepassword.cgi 的 make 中一直產生 /usr/bin/ld: cannot find -ldes 的錯誤,也找不到解決的方法,後來想 fedora6 與 fedora7 的 gcc 及 kernel 版本差異不大,將 fedora6 的 changepassword.cgi 拿來用,竟然可以,而且這版的 samba 內定沒有啟動 nmbd ,所以在 pc 的網芳看不到 samba 分享,要自己啟動,我的方法是將 fedora6 的 /etc/rc.d/init.d/smb 拷貝過來
- 因為 Nat 用 iptables ,又想用 l7filter 的功能,所以必須 patch kernel 及 iptables 及重新編繹,在編繹中,發現 kernel 2.6.22 的版本一直編繹不起來,只有 kernel 2.6.21.6 可以成功,所以只好先用這個版本
- 在使用 nfs 時,必須啟用 portmap 而卻找不到 portmap ,原來已經改名 rpcbind
迴響
samba 用 smbpasswd 認証
今天在測試 fedora8時發現只要將 smb.conf 的 passdb backend = smbpasswd
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
只要設此三行就可以用 smbpasswd 檔認証,至於 nmb 只要在 setup=>system services 下設定 nmb 啟動就好了
changepassword編譯成功
在做fedora11的編譯時發現在 smbencrypt的目錄下有一個 libdes-4.04b.tar.gz的檔案,解開後產生 des的目錄,到des目錄,執行 make 後產生一個 libdes.a的新檔,將它拷到 smbencrypt的目錄,將舊的 libdes.a蓋掉,重新編譯就可以了
fedora 6 i686 升級 fedora 7 x86_64 的慘痛經過 | 豬窩
An intriguing discussion is worth comment. I believe
that you should publish more about this subject, it might not be a taboo subject but typically folks don't speak
about such topics. To the next! Best wishes!!
fedora 6 i686 升級 fedora 7 x86_64 的慘痛經過 | 豬窩
Cbd oil that works 2020
I'm really enjoying the design and layout of your site. It's a very easy
on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a developer
to create your theme? Superb work! best cbd oil for pain http://bit.ly/3drY6lE cbd oil that works 2020 http://bit.ly/3drY6lE
fedora 6 i686 升級 fedora 7 x86_64 的慘痛經過 | 豬窩
Greetings! I know this is kind of off topic but
I was wondering which blog platform are you using for this website?
I'm getting tired of Wordpress because I've had issues with hackers and I'm looking at options for another platform.
I would be great if you could point me in the direction of a good platform.