File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 75
75
directory mask = 0747
76
76
force directory mode = 0747
77
77
```
78
- - 启动服务(CentOS 6、Ubuntu ):
78
+ - 启动服务(CentOS 6):
79
79
- `sudo service samba restart`
80
80
- `service smb restart` # 启动 samba
81
81
- 启动服务(CentOS 7):
82
82
- `systemctl start smb.service` # 启动 samba
83
83
- `systemctl enable smb.service` # 激活
84
84
- `systemctl status smb.service` # 查询 samba 状态(启动 samba 前后可以用查询验证)
85
+ - 启动服务(Ubuntu 16.04.3 -- ljoaquin提供):
86
+ - `sudo service smbd restart`
85
87
86
88
87
89
## Samba 登录及验证
Original file line number Diff line number Diff line change 257
257
258
258
```
259
259
260
- ## 静止外网通过 8080 端口访问 Tomcat
260
+ ## 禁止外网通过 8080 端口访问 Tomcat
261
261
262
262
- 添加 iptables 规则:
263
263
- `iptables -t filter -A INPUT -p tcp -m tcp --dport 8080 -s localhost -j ACCEPT`
Original file line number Diff line number Diff line change 1
1
# Ubuntu 安装和分区
2
2
3
- - 先下载该系列教程: < http ://pan.baidu.com/s/1gdw7CuJ >
3
+ - 先下载该系列教程(提取码:8qfg): < https ://pan.baidu.com/s/1EHsgLsUZGOBzwNcEuDUKWA >
4
4
5
5
![ Ubuntu 安装和分区视频] ( ../images/Ubuntu-a-1.jpg )
6
6
You can’t perform that action at this time.
0 commit comments