Skip to content

Commit

Permalink
2018-03-08 完善 issue 里面的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Mar 8, 2018
1 parent 1562472 commit f13b2c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion markdown-file/Samba.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@
directory mask = 0747
force directory mode = 0747
```
- 启动服务(CentOS 6、Ubuntu):
- 启动服务(CentOS 6):
- `sudo service samba restart`
- `service smb restart` # 启动 samba
- 启动服务(CentOS 7):
- `systemctl start smb.service` # 启动 samba
- `systemctl enable smb.service` # 激活
- `systemctl status smb.service` # 查询 samba 状态(启动 samba 前后可以用查询验证)
- 启动服务(Ubuntu 16.04.3 -- ljoaquin提供):
- `sudo service smbd restart`


## Samba 登录及验证
Expand Down
2 changes: 1 addition & 1 deletion markdown-file/Tomcat-Install-And-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ fi

```

## 静止外网通过 8080 端口访问 Tomcat
## 禁止外网通过 8080 端口访问 Tomcat

- 添加 iptables 规则:
- `iptables -t filter -A INPUT -p tcp -m tcp --dport 8080 -s localhost -j ACCEPT`
Expand Down
2 changes: 1 addition & 1 deletion markdown-file/Ubuntu-Install.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ubuntu 安装和分区

- 先下载该系列教程<http://pan.baidu.com/s/1gdw7CuJ>
- 先下载该系列教程(提取码:8qfg):<https://pan.baidu.com/s/1EHsgLsUZGOBzwNcEuDUKWA>

![Ubuntu 安装和分区视频](../images/Ubuntu-a-1.jpg)

Expand Down

0 comments on commit f13b2c7

Please sign in to comment.