samba安裝

aishu521發表於2012-10-13
1,啟動smba服務
[root@sg11sfcdb01 ~]# service smb start
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]
2,建立oracle 使用者密碼要一樣
[root@sg11sfcdb01 ~]# smbpasswd -a oracle
New SMB password:
Retype new SMB password:
Mismatch - password unchanged.
Unable to get new password.
3,新增共享檔案路徑
/u10/orabackup/fksfcdb1/full
[oracle@sgerpdb ~]$ cd /etc/samba/
[oracle@sgerpdb samba]$ ls
lmhosts  secrets.tdb  smb.conf  smb.confbak  smbpasswd  smbusers
[root@sg11sfcdb01 samba]# vi   smb.conf
[rman]
 path=/u10/orabackup/fksfcdb1
 writable = no
 public = yes
[dump]
 path=/u10/orabackup/dump
 writable = no
 public = yes
"smb.conf" 297L, 9862C written
4,重新啟動samba
[root@sg11sfcdb01 samba]# service smb restart
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15187685/viewspace-746343/,如需轉載,請註明出處,否則將追究法律責任。

相關文章