samba server的架設,小弟是參考鳥哥網站裡面的設定(http://linux.vbird.org/linux_server/0370samba.php)
前言:
這一篇主要主要就是讓 Linux 與 Windows 主機之間能彼此透過『網路上的芳鄰』這個方式來分享檔案。
為何叫samba(森巴)呢?! (節自鳥哥內的samba server的段落)
既然寫成了軟體,想一想,總是需要註冊一下商標吧!因此 Tridgwell 就去申請了 SMBServer (Server Message Block 的簡寫) 這個名字來做為他撰寫的這個軟體的商標,可惜的是,因為 SMB 是沒有意義的文字,因此沒有辦法達成註冊。既然如此的話,那麼能不能在字典裡面找到相關的字詞可以做為商標來註冊呢? 翻了老半天,呵呵!這個 SAMBA 剛好含有 SMB , 又是熱情有勁的拉丁舞蹈的名稱,不然就用這個名字來做為商標好了! 這成為我們今天所使用的 SAMBA 的名稱由來啦! ^_^
我只有架起來,測試幾個功能而已,沒有像鳥哥的網站裡面,那麼的詳細.(也一併附上smb.conf檔給各位參考)
(1) yum install smb
(2) 套件裝好之後,接著就要去config這個檔smb.conf
   gedit /etc/samba/smb.conf
在這裡,我是參考鳥哥網站裡面的設定,只是修改一下小地方
(3)用 testparm 查閱 smb.conf 的語法設定正確性
直接在終端機下 # testparm
(4)沒問題之後,將samba啟動
   /etc/init.d/smb start

(5)記得要將防火牆裡面的samba打勾勾喲,不然的話,你從client端再怎麼弄,都看不到samba server哦
---------------------------------------------------------附上smb.conf----------------------------------------------------------------------
[global]
        workgroup     = workgroup
        netbios name  = FC5-Samba
        server string = This is shlin's samba server!
        unix charset    = utf8
        display charset = utf8
        dos charset     = cp950
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = no
        template shell = /bin/false
        winbind use default domain = no
 
        #與安全性有關
         hosts allow = 140.96.36.27
         smb ports = 139
        # 與密碼有關的設定項目,包括密碼檔案所在與加密與否喔!
        security = user
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        # 與 NetBIOS name 名稱解析有關的設定
        name resolve order = lmhosts bcast host
#[printers]
#     comment = This is printer
#     printable = yes
#        browsable = yes
#         public = yes
#         valid users = @users administrator
#         path = /var/spool/samba
#         printer admin = administrator
# 新增的每個使用者家目錄及群組用戶哩!
[homes]
        comment = Home directories
        browseable = no
        writable = yes
        valid users = %S
        create mode = 0664
        directory mode = 0775
[public]
        comment = the user groups work directory
        path = /home/public
        public = yes
        writable = yes
        read only = no      
[temp]
        comment   = Temporary file space
        path      = /tmp
        read only = yes
        public    = yes

shlin 發表在 痞客邦 留言(0) 人氣()


在FC5,灌好之後的預設輸入法是SCIM...
但是,在我的小黑裡面的openoffice.org中文加強版,要叫輸入法都叫不出來...
所以..就想說把輸入法改為gcin
(1)首先,先安裝gcin套件
yum install gcin
(2)再來,安裝切換輸入法的引擎
yum install system-switch-im
(3)再來,切換
im-switch -s gcin
(4)登出
(5)再重新登入之後,就變成gcin了~~
(6)在openoffice.org裡面測試,可以叫出輸入法了 ^^
(7)若要改為SCIM ,也是可以,只要在第(3)步驟將gcin改為scim就可以(im-switch -s scim)
有需要的,請參考!!
後記:
在gcin下的行列輸入法 比 在scim下的行列輸入法 .....好用 ^_^

shlin 發表在 痞客邦 留言(0) 人氣()


 
不要在亂搞之後...再叫我去擦屁股...
遊戲規則不遵守...出問題了就跳腳...
 
系統何時會好也不是我能回答的...不要跟我說  在中午12點前  叫資訊中心的工程師把系統修好...
遊戲規則不遵守...我已經快沒立場叫人家協助了.......還要跟人家說中午前修好...
 
你們誰要先發  誰要後送  你們自已去橋...
 
 

shlin 發表在 痞客邦 留言(0) 人氣()

 
86
 
            05  17
 
   四技二專
 
                                                                                      努力,努力,再努力
                                                                                                                                   加油,加油,再加油
 
                              中廣
 
                                                                                          圓圓
 
 
                                                                                                                                                                                                                    錄音帶
 
                                                                  除了愛妳還能愛誰
 
          告知
 
                                 驚喜
                                                                                                                                                                                        反覆
                                                                                                                   10年
 
想起

shlin 發表在 痞客邦 留言(0) 人氣()

 
再次享受到流汗的快感...
 
在羽球場上流汗的感覺是爽的...
 
累歸累...還是很爽... ^_^ ...

shlin 發表在 痞客邦 留言(0) 人氣()

 
也許...
還沒調適過來...
 
也許...
那份疙瘩還存在...
 
也許...
那就是註定也許...
 
也許...
哪天真想通了...
 
也許...
鬱悶的心也開朗了...
 
也許...

shlin 發表在 痞客邦 留言(0) 人氣()

  • Jan 07 Sun 2007 23:59
  • 草莓

 
草莓..
草莓醋..
草莓酒..
草莓香腸..
草莓貢丸..
草莓冰淇淋..
草莓爆米花..
 
.....草莓能做的東西.....還真不少.....
 
新鮮空氣..
淡淡莓香..
 
午後陽光..
綻放花香..
 
草莓會館..
流連忘返..
 
收穫豐富..
快樂返鄉..

shlin 發表在 痞客邦 留言(0) 人氣()

 
幾年前...
應該是在ICRT...有個主持人 lily. C
那時候..她常常都會哼著..唱著..她在節目中放的歌...
她那口流利的英文..好聽又帶著些許的性感...
到現在還會想起當時候她放的這首kissme時的歌聲...
------------------------------------------------------------------------------

Kiss me, out of the bearded barley
Nightly, beside the green, green grass
Swing, swing, swing the spinning step
You wear those shoes and I will wear that dress
Oh, kiss me beneath the milky twilight
Lead me out on the moonlit floor
Lift your open hand
Strike up the band and make the fireflies dance
Silver moon sparkling, so kiss me
Kiss me down by the broken tree house
Swing me upon its hanging tire
Bring, bring, bring your flowered hat
We take the trail marked on your father map
Oh, kiss me beneath the milky twilight
Lead me out on the moonlit floor
Lift your open hand
Strike up the band and make the fireflies dance
Silver moon sparkling, so kiss me
Kiss me beneath the milky twilight
Lead me out on the moonlit floor
Lift your open hand
Strike up the band and make the fireflies dance
Silver moon sparkling, so kiss me
So kiss me
So kiss me

shlin 發表在 痞客邦 留言(0) 人氣()

 
我應該沒講錯啊......
 
我是要養樂多綠茶.......半糖..
 
怎麼現在喝到的是..百香綠....
 
> <
 

shlin 發表在 痞客邦 留言(2) 人氣()

 
半年來...好不容易...傷口似乎漸漸的平息...
 
如今..
檯面上風平浪靜...
檯面下的較勁..已經開始展開了...
 
只願..不要再走回頭路...
 
那只會讓傷口愈來愈難撫平...
 
三思啊...
 

shlin 發表在 痞客邦 留言(0) 人氣()

 
揮別2006~~
邁向2007~~
 
新的一年~~
新年快樂~~
 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
今晚看到的有..瑪莉多樂團、邱芸子、MR.M樂團、鼓屋爵士鼓樂團
 
還有
大、小朋友都喜歡的張善為、
穿著公主裝,好溫柔的張玉華、
歌聲高如101的楊培安、
動感美麗的璽恩
的倒數計時...
 
以及..將近5分鐘的煙火...
 
很棒 ^_^
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
另外...在"福隆"服役的信爺...祝福你軍旅一切順心哦...^^
 

shlin 發表在 痞客邦 留言(0) 人氣()

 
房東美眉說
 
房間擺玫瑰花..
可以招來桃花..
 
真的嗎?!
 
 

shlin 發表在 痞客邦 留言(14) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。