File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 directory mask = 0747
7676 force directory mode = 0747
7777 ```
78- - 启动服务(CentOS 6、Ubuntu ):
78+ - 启动服务(CentOS 6):
7979 - `sudo service samba restart`
8080 - `service smb restart` # 启动 samba
8181- 启动服务(CentOS 7):
8282 - `systemctl start smb.service` # 启动 samba
8383 - `systemctl enable smb.service` # 激活
8484 - `systemctl status smb.service` # 查询 samba 状态(启动 samba 前后可以用查询验证)
85+ - 启动服务(Ubuntu 16.04.3 -- ljoaquin提供):
86+ - `sudo service smbd restart`
8587
8688
8789## Samba 登录及验证
Original file line number Diff line number Diff line change 257257
258258```
259259
260- ## 静止外网通过 8080 端口访问 Tomcat
260+ ## 禁止外网通过 8080 端口访问 Tomcat
261261
262262- 添加 iptables 规则:
263263 - `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 11# Ubuntu 安装和分区
22
3- - 先下载该系列教程: < http ://pan.baidu.com/s/1gdw7CuJ >
3+ - 先下载该系列教程(提取码:8qfg): < https ://pan.baidu.com/s/1EHsgLsUZGOBzwNcEuDUKWA >
44
55![ Ubuntu 安装和分区视频] ( ../images/Ubuntu-a-1.jpg )
66
You can’t perform that action at this time.
0 commit comments