linux开机启动smb服务.docVIP

  • 6
  • 0
  • 约3.7千字
  • 约 4页
  • 2017-06-08 发布于重庆
  • 举报
linux开机启动smb服务

linux开机启动smb服务 修改/etc/rc.loacl文件 增加红色部分 [root@localhost ~]# cat /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you dont # want to do the full Sys V style init stuff. touch /var/lock/subsys/local service smb restart [root@localhost ~]# 补充:以下为转帖 在linux下如何把smb等服务加入开机启动: 方法一: vi /etc/rc.d/rc.local 加入/usr/local/samba/sbin/smbd -D /usr/local/samba/sbin/nmbd -D 就可以了。 方法二: chkconfig smb on 方法三: ntsysv打开图形界面,找到samba选行确认即可 三种方法实现SAMBA服务随机启动 /server/782125.html 通过SAMBA服务器软件可以让Windows等非Linux客户端顺畅的访问Lin

文档评论(0)

1亿VIP精品文档

相关文档