Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

fedora 6 i686 升級 fedora 7 x86_64 的慘痛經過

2007-07-11 @ 19:35 in Linux

這次因為電腦教室的電腦更新,所以也想順便更新 Linux 主機,剛好 fedora 7 出來,所以就想嘗鮮,又因為cpu可以,所以就選用 fedora 7 x86_64 的版本,就過三天慘痛才勉強符合使用要求,電腦教室的主機必須有網頁(http),檔案伺服(ftp),郵件(mail),網路芳鄰(samba),nat,firewall,nfs,rsync

  1. httpd,proftp,rsync  設定跟Fedora 6  設定差不多,沒有問題
  2. 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
  3. 在 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 拷貝過來
  4. 因為 Nat 用 iptables ,又想用 l7filter 的功能,所以必須 patch kernel 及 iptables 及重新編繹,在編繹中,發現 kernel 2.6.22 的版本一直編繹不起來,只有 kernel 2.6.21.6 可以成功,所以只好先用這個版本
  5. 在使用 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 啟動就好了

作者 shyong @ 21:58, 2008-01-01

changepassword編譯成功

在做fedora11的編譯時發現在 smbencrypt的目錄下有一個 libdes-4.04b.tar.gz的檔案,解開後產生 des的目錄,到des目錄,執行 make 後產生一個 libdes.a的新檔,將它拷到 smbencrypt的目錄,將舊的 libdes.a蓋掉,重新編譯就可以了

作者 piggy @ 23:20, 2009-06-20

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!!

作者 g rsacwgxy @ 14:19, 2020-06-22

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

作者 http://bit.ly/3drY6lE @ 06:46, 2020-06-25

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.

作者 http://www.gsjh.tyc.edu.tw/ @ 21:18, 2020-06-26
發表迴響
 authimage