linux开机启动smb服务

修改/etc/rc.local文件(增加红色部分)

[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 don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
service smb restart

上一篇:Hibernate 中Hql 查询中间表的用法


下一篇:Oracle数据库字符集修改