-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
31 additions
and
3,841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ pip --version | |
pip install xxxxxxxx | ||
``` | ||
|
||
|
||
## 列表项目中的依赖项目 | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// 创建用户 | ||
CREATE USER 'dvs'@'localhost' IDENTIFIED BY 'M9y2512!!!'; | ||
|
||
// 给用户授权某个数据库 | ||
grant all privileges on dvsv4.* to 'dvs'@'localhost'; | ||
|
||
// 刷新权限 | ||
flush privileges; | ||
|
||
|
||
## docker日志 | ||
``` | ||
// 查看容器的日志 | ||
docker logs xxx | ||
// 查看容器的最新100条日志 | ||
docker logs --tail 100 xxx | ||
// 实时查看最新的日志 | ||
docker logs -f --tail 100 xxx | ||
``` | ||
|
||
## 确保服务器正常访问外网 | ||
``` | ||
//公共的dns | ||
ping 8.8.8.8 | ||
``` |
Oops, something went wrong.