ITPub博客

首页 > Linux操作系统 > Linux操作系统 > samba安裝

samba安裝

原创 Linux操作系统 作者:aishu521 时间:2012-10-13 13:53:33 0 删除 编辑
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博客 ” ,链接:https://blog.itpub.net/15187685/viewspace-746343/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Oracle中EM的配置
下一篇: oracle常用命令
请登录后发表评论 登录
全部评论

注册时间:2012-05-26

  • 博文量
    139
  • 访问量
    721092