修改/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

最新文章

  1. pt-heartbeat
  2. Oracle数据库学习笔记
  3. IE6 7下常见CSS兼容性处理
  4. jQuery EasyUI Combobox无法检索中文输入的问题
  5. cadence原理图绘制方法
  6. .NET 并行(多核)编程系列之七 共享数据问题和解决概述
  7. js分页功能实现
  8. jquery 中dataTable显示加载中,图片或文字
  9. ELK日志系统使用说明
  10. netty源码解解析(4.0)-3 Channel的抽象实现
  11. Educational Codeforces Round 42 (Rated for Div. 2) D. Merge Equals
  12. python的常用模块之collections模块
  13. 黄聪: bootstrap 多模态框实现
  14. 【PMP】财务测量指标ROI、PBP、NPV、IRR、BCR
  15. [svc]ext4文件删除&访问原理
  16. 固定UIScrollView滑动的方向
  17. spring配置文件头部配置解析(applicationContext.xml)
  18. lr参数化取值与连接数据库
  19. Python开发【Django】:Model操作(一)
  20. Oracle 11g简体中文版的安装过程及图解

热门文章

  1. [笔记]我的Linux入门之路 - 01.Ubuntu安装
  2. Html标签,file方式,上传文件
  3. bzoj 4765 普通计算姬(树状数组 + 分块)
  4. 基于java:读写一个英文的txt文件,记录单词个数,并输出十个出现最多的单词及出现的个数;
  5. javaWeb学习总结(8)- jsp指令(3)
  6. 开涛spring3(5.1&5.2) - Spring表达式语言 之 5.1 概述 5.2 SpEL基础
  7. slideToggle+slideup实现手机端折叠菜单效果
  8. CCS Debug Assertion Failed
  9. [原创]使用logcat快速抓取android崩溃日志
  10. 官方 React 快速上手脚手架 create-react-app