Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Commit

Permalink
Merge branch 'feature-mkdocs'
Browse files Browse the repository at this point in the history
  • Loading branch information
zjZSTU committed Dec 19, 2019
2 parents 2882402 + 396df7e commit 4df2188
Show file tree
Hide file tree
Showing 76 changed files with 814 additions and 214 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.vscode

node_modules/

docs/build/*
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

参考:[交换机](https://baike.baidu.com/item/%E4%BA%A4%E6%8D%A2%E6%9C%BA)

交换机(`Switch`)作用于数据链路层,通过MAC地址为接入交换机的任意两个节点提供独享的电信号通路,通常分为广域网交换机和局域网交换机
交换机(`Switch`)作用于数据链路层,通过`MAC`地址为接入交换机的任意两个节点提供独享的电信号通路,通常分为广域网交换机和局域网交换机

## 集线器

Expand Down
10 changes: 10 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

# 引言

学习计算机网络基础知识以及相关工具使用

* [基础知识](./basic/ip地址.md)
* [内网穿透](./net-traversal/前言.md)
* [Nginx使用](./nginx/安装.md)
* [Tomcat使用](./tomcat/关于Tomcat.md)
* [SSH使用](./ssh/[SSH]远程连接.md)
35 changes: 0 additions & 35 deletions docs/make.bat

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]docker安装nginx
# docker安装nginx

主要参考[Docker 安装 Nginx](https://www.runoob.com/docker/docker-install-nginx.html)完成`nginx`的安装和配置

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added docs/nginx/imgs/reverse_proxy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]nginx中文乱码
# 中文乱码

参考:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

# [Ubuntu 16.04]nginx反向代理
# 反向代理

## 反向代理简介

参考:[Nginx Reverse Proxy](https://www.jianshu.com/p/b1debd31149b)

反向代理(`reverse proxy`)用于代理服务器,用户输入代理服务器地址,通过`nginx`请求正确的服务器地址,并将资源返回给用户

![](https://upload-images.jianshu.io/upload_images/5107794-9c9764e76dfa7b2d.png?imageMogr2/auto-orient/strip|imageView2/2/w/1030/format/webp)
![](./imgs/reverse_proxy.png)

## 配置

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]nginx安装
# 安装

参考:[Installing nginx](http://nginx.org/en/docs/install.html)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]nginx托管静态网站
# 托管网站

参考:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]nginx测试
# 测试

参考:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]nginx配置
# 配置

## nginx相关

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# [Ubuntu 16.04]nginx配置HTTPS
# 配置Https

参考:

Expand Down
15 changes: 0 additions & 15 deletions docs/source/basic.rst

This file was deleted.

71 changes: 0 additions & 71 deletions docs/source/conf.py

This file was deleted.

18 changes: 0 additions & 18 deletions docs/source/index.rst

This file was deleted.

16 changes: 0 additions & 16 deletions docs/source/net-traversal.rst

This file was deleted.

16 changes: 0 additions & 16 deletions docs/source/nginx.rst

This file was deleted.

13 changes: 0 additions & 13 deletions docs/source/tomcat.rst

This file was deleted.

23 changes: 23 additions & 0 deletions docs/ssh/Bad owner or permissions on .ssh config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Bad owner or permissions on .ssh config

## 问题复现

```
$ git push origin dev
Bad owner or permissions on /home/zj/.ssh/config
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```

## 问题解决

参考:[Bad owner or permissions on .ssh/config的解决](https://blog.csdn.net/zcc_heu/article/details/79017606)

设置`config`文件权限为`600`即可

```
$ chmod 600 config
```
Loading

0 comments on commit 4df2188

Please sign in to comment.