linux开机启动smb服务
2024-08-23 01:46:51
修改/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
最新文章
- pt-heartbeat
- Oracle数据库学习笔记
- IE6 7下常见CSS兼容性处理
- jQuery EasyUI Combobox无法检索中文输入的问题
- cadence原理图绘制方法
- .NET 并行(多核)编程系列之七 共享数据问题和解决概述
- js分页功能实现
- jquery 中dataTable显示加载中,图片或文字
- ELK日志系统使用说明
- netty源码解解析(4.0)-3 Channel的抽象实现
- Educational Codeforces Round 42 (Rated for Div. 2) D. Merge Equals
- python的常用模块之collections模块
- 黄聪: bootstrap 多模态框实现
- 【PMP】财务测量指标ROI、PBP、NPV、IRR、BCR
- [svc]ext4文件删除&;访问原理
- 固定UIScrollView滑动的方向
- spring配置文件头部配置解析(applicationContext.xml)
- lr参数化取值与连接数据库
- Python开发【Django】:Model操作(一)
- Oracle 11g简体中文版的安装过程及图解
热门文章
- [笔记]我的Linux入门之路 - 01.Ubuntu安装
- Html标签,file方式,上传文件
- bzoj 4765 普通计算姬(树状数组 + 分块)
- 基于java:读写一个英文的txt文件,记录单词个数,并输出十个出现最多的单词及出现的个数;
- javaWeb学习总结(8)- jsp指令(3)
- 开涛spring3(5.1&;5.2) - Spring表达式语言 之 5.1 概述 5.2 SpEL基础
- slideToggle+slideup实现手机端折叠菜单效果
- CCS Debug Assertion Failed
- [原创]使用logcat快速抓取android崩溃日志
- 官方 React 快速上手脚手架 create-react-app