mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-10-29 01:15:04 +08:00
初始化仓库
This commit is contained in:
47
docs/_example_/intro.md
Normal file
47
docs/_example_/intro.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Tutorial Intro
|
||||
|
||||
Let's discover **Docusaurus in less than 5 minutes**.
|
||||
|
||||
## Getting Started
|
||||
|
||||
Get started by **creating a new site**.
|
||||
|
||||
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
|
||||
|
||||
### What you'll need
|
||||
|
||||
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
|
||||
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
|
||||
|
||||
## Generate a new site
|
||||
|
||||
Generate a new Docusaurus site using the **classic template**.
|
||||
|
||||
The classic template will automatically be added to your project after you run the command:
|
||||
|
||||
```bash
|
||||
npm init docusaurus@latest my-website classic
|
||||
```
|
||||
|
||||
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
|
||||
|
||||
The command also installs all necessary dependencies you need to run Docusaurus.
|
||||
|
||||
## Start your site
|
||||
|
||||
Run the development server:
|
||||
|
||||
```bash
|
||||
cd my-website
|
||||
npm run start
|
||||
```
|
||||
|
||||
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
|
||||
|
||||
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
|
||||
|
||||
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
|
||||
8
docs/_example_/tutorial-basics/_category_.json
Normal file
8
docs/_example_/tutorial-basics/_category_.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Tutorial - Basics",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "5 minutes to learn the most important Docusaurus concepts."
|
||||
}
|
||||
}
|
||||
23
docs/_example_/tutorial-basics/congratulations.md
Normal file
23
docs/_example_/tutorial-basics/congratulations.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
sidebar_position: 6
|
||||
---
|
||||
|
||||
# Congratulations!
|
||||
|
||||
You have just learned the **basics of Docusaurus** and made some changes to the **initial template**.
|
||||
|
||||
Docusaurus has **much more to offer**!
|
||||
|
||||
Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.md)** and **[i18n](../tutorial-extras/translate-your-site.md)**.
|
||||
|
||||
Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610)
|
||||
|
||||
## What's next?
|
||||
|
||||
- Read the [official documentation](https://docusaurus.io/)
|
||||
- Modify your site configuration with [`docusaurus.config.js`](https://docusaurus.io/docs/api/docusaurus-config)
|
||||
- Add navbar and footer items with [`themeConfig`](https://docusaurus.io/docs/api/themes/configuration)
|
||||
- Add a custom [Design and Layout](https://docusaurus.io/docs/styling-layout)
|
||||
- Add a [search bar](https://docusaurus.io/docs/search)
|
||||
- Find inspirations in the [Docusaurus showcase](https://docusaurus.io/showcase)
|
||||
- Get involved in the [Docusaurus Community](https://docusaurus.io/community/support)
|
||||
34
docs/_example_/tutorial-basics/create-a-blog-post.md
Normal file
34
docs/_example_/tutorial-basics/create-a-blog-post.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Create a Blog Post
|
||||
|
||||
Docusaurus creates a **page for each blog post**, but also a **blog index page**, a **tag system**, an **RSS** feed...
|
||||
|
||||
## Create your first Post
|
||||
|
||||
Create a file at `blog/2021-02-28-greetings.md`:
|
||||
|
||||
```md title="blog/2021-02-28-greetings.md"
|
||||
---
|
||||
slug: greetings
|
||||
title: Greetings!
|
||||
authors:
|
||||
- name: Joel Marcey
|
||||
title: Co-creator of Docusaurus 1
|
||||
url: https://github.com/JoelMarcey
|
||||
image_url: https://github.com/JoelMarcey.png
|
||||
- name: Sébastien Lorber
|
||||
title: Docusaurus maintainer
|
||||
url: https://sebastienlorber.com
|
||||
image_url: https://github.com/slorber.png
|
||||
tags: [greetings]
|
||||
---
|
||||
|
||||
Congratulations, you have made your first post!
|
||||
|
||||
Feel free to play around and edit this post as much as you like.
|
||||
```
|
||||
|
||||
A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings).
|
||||
57
docs/_example_/tutorial-basics/create-a-document.md
Normal file
57
docs/_example_/tutorial-basics/create-a-document.md
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Create a Document
|
||||
|
||||
Documents are **groups of pages** connected through:
|
||||
|
||||
- a **sidebar**
|
||||
- **previous/next navigation**
|
||||
- **versioning**
|
||||
|
||||
## Create your first Doc
|
||||
|
||||
Create a Markdown file at `docs/hello.md`:
|
||||
|
||||
```md title="docs/hello.md"
|
||||
# Hello
|
||||
|
||||
This is my **first Docusaurus document**!
|
||||
```
|
||||
|
||||
A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello).
|
||||
|
||||
## Configure the Sidebar
|
||||
|
||||
Docusaurus automatically **creates a sidebar** from the `docs` folder.
|
||||
|
||||
Add metadata to customize the sidebar label and position:
|
||||
|
||||
```md title="docs/hello.md" {1-4}
|
||||
---
|
||||
sidebar_label: 'Hi!'
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Hello
|
||||
|
||||
This is my **first Docusaurus document**!
|
||||
```
|
||||
|
||||
It is also possible to create your sidebar explicitly in `sidebars.js`:
|
||||
|
||||
```js title="sidebars.js"
|
||||
export default {
|
||||
tutorialSidebar: [
|
||||
'intro',
|
||||
// highlight-next-line
|
||||
'hello',
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['tutorial-basics/create-a-document'],
|
||||
},
|
||||
],
|
||||
};
|
||||
```
|
||||
43
docs/_example_/tutorial-basics/create-a-page.md
Normal file
43
docs/_example_/tutorial-basics/create-a-page.md
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Create a Page
|
||||
|
||||
Add **Markdown or React** files to `src/pages` to create a **standalone page**:
|
||||
|
||||
- `src/pages/index.js` → `localhost:3000/`
|
||||
- `src/pages/foo.md` → `localhost:3000/foo`
|
||||
- `src/pages/foo/bar.js` → `localhost:3000/foo/bar`
|
||||
|
||||
## Create your first React Page
|
||||
|
||||
Create a file at `src/pages/my-react-page.js`:
|
||||
|
||||
```jsx title="src/pages/my-react-page.js"
|
||||
import React from 'react';
|
||||
import Layout from '@theme/Layout';
|
||||
|
||||
export default function MyReactPage() {
|
||||
return (
|
||||
<Layout>
|
||||
<h1>My React page</h1>
|
||||
<p>This is a React page</p>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page).
|
||||
|
||||
## Create your first Markdown Page
|
||||
|
||||
Create a file at `src/pages/my-markdown-page.md`:
|
||||
|
||||
```mdx title="src/pages/my-markdown-page.md"
|
||||
# My Markdown page
|
||||
|
||||
This is a Markdown page
|
||||
```
|
||||
|
||||
A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page).
|
||||
31
docs/_example_/tutorial-basics/deploy-your-site.md
Normal file
31
docs/_example_/tutorial-basics/deploy-your-site.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Deploy your site
|
||||
|
||||
Docusaurus is a **static-site-generator** (also called **[Jamstack](https://jamstack.org/)**).
|
||||
|
||||
It builds your site as simple **static HTML, JavaScript and CSS files**.
|
||||
|
||||
## Build your site
|
||||
|
||||
Build your site **for production**:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
The static files are generated in the `build` folder.
|
||||
|
||||
## Deploy your site
|
||||
|
||||
Test your production build locally:
|
||||
|
||||
```bash
|
||||
npm run serve
|
||||
```
|
||||
|
||||
The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/).
|
||||
|
||||
You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**).
|
||||
152
docs/_example_/tutorial-basics/markdown-features.mdx
Normal file
152
docs/_example_/tutorial-basics/markdown-features.mdx
Normal file
@@ -0,0 +1,152 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
---
|
||||
|
||||
# Markdown Features
|
||||
|
||||
Docusaurus supports **[Markdown](https://daringfireball.net/projects/markdown/syntax)** and a few **additional features**.
|
||||
|
||||
## Front Matter
|
||||
|
||||
Markdown documents have metadata at the top called [Front Matter](https://jekyllrb.com/docs/front-matter/):
|
||||
|
||||
```text title="my-doc.md"
|
||||
// highlight-start
|
||||
---
|
||||
id: my-doc-id
|
||||
title: My document title
|
||||
description: My document description
|
||||
slug: /my-custom-url
|
||||
---
|
||||
// highlight-end
|
||||
|
||||
## Markdown heading
|
||||
|
||||
Markdown text with [links](./hello.md)
|
||||
```
|
||||
|
||||
## Links
|
||||
|
||||
Regular Markdown links are supported, using url paths or relative file paths.
|
||||
|
||||
```md
|
||||
Let's see how to [Create a page](/create-a-page).
|
||||
```
|
||||
|
||||
```md
|
||||
Let's see how to [Create a page](./create-a-page.md).
|
||||
```
|
||||
|
||||
**Result:** Let's see how to [Create a page](./create-a-page.md).
|
||||
|
||||
## Images
|
||||
|
||||
Regular Markdown images are supported.
|
||||
|
||||
You can use absolute paths to reference images in the static directory (`static/img/docusaurus.png`):
|
||||
|
||||
```md
|
||||

|
||||
```
|
||||
|
||||

|
||||
|
||||
You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them:
|
||||
|
||||
```md
|
||||

|
||||
```
|
||||
|
||||
## Code Blocks
|
||||
|
||||
Markdown code blocks are supported with Syntax highlighting.
|
||||
|
||||
````md
|
||||
```jsx title="src/components/HelloDocusaurus.js"
|
||||
function HelloDocusaurus() {
|
||||
return <h1>Hello, Docusaurus!</h1>;
|
||||
}
|
||||
```
|
||||
````
|
||||
|
||||
```jsx title="src/components/HelloDocusaurus.js"
|
||||
function HelloDocusaurus() {
|
||||
return <h1>Hello, Docusaurus!</h1>;
|
||||
}
|
||||
```
|
||||
|
||||
## Admonitions
|
||||
|
||||
Docusaurus has a special syntax to create admonitions and callouts:
|
||||
|
||||
```md
|
||||
:::tip My tip
|
||||
|
||||
Use this awesome feature option
|
||||
|
||||
:::
|
||||
|
||||
:::danger Take care
|
||||
|
||||
This action is dangerous
|
||||
|
||||
:::
|
||||
```
|
||||
|
||||
:::tip My tip
|
||||
|
||||
Use this awesome feature option
|
||||
|
||||
:::
|
||||
|
||||
:::danger Take care
|
||||
|
||||
This action is dangerous
|
||||
|
||||
:::
|
||||
|
||||
## MDX and React Components
|
||||
|
||||
[MDX](https://mdxjs.com/) can make your documentation more **interactive** and allows using any **React components inside Markdown**:
|
||||
|
||||
```jsx
|
||||
export const Highlight = ({children, color}) => (
|
||||
<span
|
||||
style={{
|
||||
backgroundColor: color,
|
||||
borderRadius: '20px',
|
||||
color: '#fff',
|
||||
padding: '10px',
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
onClick={() => {
|
||||
alert(`You clicked the color ${color} with label ${children}`)
|
||||
}}>
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
|
||||
This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !
|
||||
|
||||
This is <Highlight color="#1877F2">Facebook blue</Highlight> !
|
||||
```
|
||||
|
||||
export const Highlight = ({children, color}) => (
|
||||
<span
|
||||
style={{
|
||||
backgroundColor: color,
|
||||
borderRadius: '20px',
|
||||
color: '#fff',
|
||||
padding: '10px',
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
onClick={() => {
|
||||
alert(`You clicked the color ${color} with label ${children}`);
|
||||
}}>
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
|
||||
This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !
|
||||
|
||||
This is <Highlight color="#1877F2">Facebook blue</Highlight> !
|
||||
7
docs/_example_/tutorial-extras/_category_.json
Normal file
7
docs/_example_/tutorial-extras/_category_.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"label": "Tutorial - Extras",
|
||||
"position": 3,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
}
|
||||
}
|
||||
BIN
docs/_example_/tutorial-extras/img/docsVersionDropdown.png
Normal file
BIN
docs/_example_/tutorial-extras/img/docsVersionDropdown.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
docs/_example_/tutorial-extras/img/localeDropdown.png
Normal file
BIN
docs/_example_/tutorial-extras/img/localeDropdown.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
55
docs/_example_/tutorial-extras/manage-docs-versions.md
Normal file
55
docs/_example_/tutorial-extras/manage-docs-versions.md
Normal file
@@ -0,0 +1,55 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Manage Docs Versions
|
||||
|
||||
Docusaurus can manage multiple versions of your docs.
|
||||
|
||||
## Create a docs version
|
||||
|
||||
Release a version 1.0 of your project:
|
||||
|
||||
```bash
|
||||
npm run docusaurus docs:version 1.0
|
||||
```
|
||||
|
||||
The `docs` folder is copied into `versioned_docs/version-1.0` and `versions.json` is created.
|
||||
|
||||
Your docs now have 2 versions:
|
||||
|
||||
- `1.0` at `http://localhost:3000/docs/` for the version 1.0 docs
|
||||
- `current` at `http://localhost:3000/docs/next/` for the **upcoming, unreleased docs**
|
||||
|
||||
## Add a Version Dropdown
|
||||
|
||||
To navigate seamlessly across versions, add a version dropdown.
|
||||
|
||||
Modify the `docusaurus.config.js` file:
|
||||
|
||||
```js title="docusaurus.config.js"
|
||||
export default {
|
||||
themeConfig: {
|
||||
navbar: {
|
||||
items: [
|
||||
// highlight-start
|
||||
{
|
||||
type: 'docsVersionDropdown',
|
||||
},
|
||||
// highlight-end
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
The docs version dropdown appears in your navbar:
|
||||
|
||||

|
||||
|
||||
## Update an existing version
|
||||
|
||||
It is possible to edit versioned docs in their respective folder:
|
||||
|
||||
- `versioned_docs/version-1.0/hello.md` updates `http://localhost:3000/docs/hello`
|
||||
- `docs/hello.md` updates `http://localhost:3000/docs/next/hello`
|
||||
88
docs/_example_/tutorial-extras/translate-your-site.md
Normal file
88
docs/_example_/tutorial-extras/translate-your-site.md
Normal file
@@ -0,0 +1,88 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Translate your site
|
||||
|
||||
Let's translate `docs/intro.md` to French.
|
||||
|
||||
## Configure i18n
|
||||
|
||||
Modify `docusaurus.config.js` to add support for the `fr` locale:
|
||||
|
||||
```js title="docusaurus.config.js"
|
||||
export default {
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en', 'fr'],
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
## Translate a doc
|
||||
|
||||
Copy the `docs/intro.md` file to the `i18n/fr` folder:
|
||||
|
||||
```bash
|
||||
mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/
|
||||
|
||||
cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
|
||||
```
|
||||
|
||||
Translate `i18n/fr/docusaurus-plugin-content-docs/current/intro.md` in French.
|
||||
|
||||
## Start your localized site
|
||||
|
||||
Start your site on the French locale:
|
||||
|
||||
```bash
|
||||
npm run start -- --locale fr
|
||||
```
|
||||
|
||||
Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated.
|
||||
|
||||
:::caution
|
||||
|
||||
In development, you can only use one locale at a time.
|
||||
|
||||
:::
|
||||
|
||||
## Add a Locale Dropdown
|
||||
|
||||
To navigate seamlessly across languages, add a locale dropdown.
|
||||
|
||||
Modify the `docusaurus.config.js` file:
|
||||
|
||||
```js title="docusaurus.config.js"
|
||||
export default {
|
||||
themeConfig: {
|
||||
navbar: {
|
||||
items: [
|
||||
// highlight-start
|
||||
{
|
||||
type: 'localeDropdown',
|
||||
},
|
||||
// highlight-end
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
The locale dropdown now appears in your navbar:
|
||||
|
||||

|
||||
|
||||
## Build your localized site
|
||||
|
||||
Build your site for a specific locale:
|
||||
|
||||
```bash
|
||||
npm run build -- --locale fr
|
||||
```
|
||||
|
||||
Or build your site to include all the locales at once:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
22
docs/devdocs/01-首页.md
Normal file
22
docs/devdocs/01-首页.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 开发组首页
|
||||
**欢迎来到中山学院网络维护科开发组!**\
|
||||
**开发组是一个相对独立的小组,负责维护网维日常所用的系统,**\
|
||||
**这里是开发组所维护系统的文档**
|
||||
## 项目清单
|
||||
我们手头上的项目
|
||||
### 网站
|
||||
zsxyww.com,网维的官网
|
||||
### 网维报修系统
|
||||
负责受理用户的故障保修,允许网维成员跟踪问题的解决情况,并管理工单\
|
||||
目前所使用的是上一届开发组成员所开发的系统,目前我们不熟悉其架构和细节,计划开发新的报修系统
|
||||
### 招新系统
|
||||
招新的系统
|
||||
### 基础设施
|
||||
开发组所持有的基础设施,包括云服务器,域名等
|
||||
## 你应该知道......
|
||||
### 项目托管
|
||||
我们的项目托管在github上,私聊组长来获得进入organization的权限
|
||||
### 文档编写
|
||||
为了项目的持续维护,对于我们的每一个项目都应该留有详尽的文档,文档以markdown格式编写,可以自动构建成静态网页,详见**网站/如何修改开发组网站内容**
|
||||
|
||||
|
||||
7
docs/devdocs/02-网站/01-子站点.md
Normal file
7
docs/devdocs/02-网站/01-子站点.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# 子站点
|
||||
## www.zsxyww.com
|
||||
www.zsxyww.com是网维的官网
|
||||
## wiki.zsxyww.com
|
||||
wiki.zsxyww.com是网维的旧版wiki
|
||||
## developer.zsxyww.com
|
||||
developer.zsxyww.com是网维开发组的站点,托管了新版wiki和网维各种系统的文档
|
||||
17
docs/devdocs/02-网站/02-开发组网站概览.md
Normal file
17
docs/devdocs/02-网站/02-开发组网站概览.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 开发组网站概览
|
||||
## 技术
|
||||
网站基于Docusaurus开发,一个静态网页生成的框架,尤其对于生成技术文档来说,它提供了一个美观,现代的前端界面,这个项目本身是一个react.js应用,生成网页时只要输入:`npm run build`便可以在build目录里构建网站的所有资源,以进一步部署,关于详细的配置,可以去看官方的文档:[文档连接](https://www.docusaurus.cn/docs/category/guides)
|
||||
## 工作流程
|
||||
基本上,我们需要把markdown文件放在目录里面,系统就会根据目录的结构自动生成网页,但是我们必须写好配置文件,如果我们想自定义网站的外观的话,也需要好好研究一下配置文件,有关文档还在编写中
|
||||
## 目录
|
||||
所有的文档文件都储存在docs文件夹下\
|
||||
所有的公告文件都储存在blog文件夹下\
|
||||
所有的静态页面都储存在src/pages文件夹下\
|
||||
所有的媒体文件都储存在static文件夹下\
|
||||
系统会根据这些文件,在build里生成网站的所有页面文件,以供我们部署
|
||||
|
||||
docusaurus.config.js是项目的配置文件,配置格式请参照官方文档
|
||||
## 部署
|
||||
目前不确定
|
||||
## 注意事项
|
||||
最好还是看官方文档
|
||||
22
docs/devdocs/02-网站/03-如何修改开发组网站内容.md
Normal file
22
docs/devdocs/02-网站/03-如何修改开发组网站内容.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 开发组网站-内容发布
|
||||
**本篇文章将教你如何为开发组网站贡献内容,修改内容,以及内容的维护**
|
||||
## Edit This Page
|
||||
页面最下面有一个Edit This Page的超链接,点击就可以进入github里这个页面的源代码,可以提交PR,有权限的也可以直接修改
|
||||
## 增加内容
|
||||
docusaurus按照一定的文件层次将markdown文档转换成静态页面,在仓库里,docs文件夹下的是网站的文档,blog文件夹下的为公告,src/pages下的为独立页面(如首页),如果要增添新的内容,记得把内容放在正确的地方里
|
||||
### 前缀
|
||||
所有文件都要加入一个数字前缀,用来指示构建系统按照序号生成文章在sidebar中的顺序,按照`order-filename.md`的格式命名
|
||||
|
||||
btw,docusaurus不会将以"_"开头的文件加入完成的网页中,所以可以在暂时不想要展现在最终网站的里的的文章前面加上一个下划线
|
||||
### Markdown 文档
|
||||
Markdown 是一个标记文本格式的语言,轻便简单快捷,markdown最基本的语法如下:[markdown语法](https://commonmark.org/) ,我们用Markdown来编写文档,需要注意的是,文档只能有一个h1,系统用它来产生sidebar条目
|
||||
|
||||
另外docusaurus好像支持mdx格式的文档,可以把一些动态元素插入到文本中,
|
||||
### 媒体资源引用
|
||||
将所有媒体资源放在static目录内,然后在文档中调用
|
||||
|
||||
## 公告
|
||||
docusaurus自带一个blog插件,需要按照`yyyy-mm-dd-filename.md`的格式发布
|
||||
|
||||
## 文档的维护
|
||||
如果发现了文档有错误的地方,请提交PR修改,或者告知开发组成员,
|
||||
2
docs/devdocs/02-网站/04-网站外观修改.md
Normal file
2
docs/devdocs/02-网站/04-网站外观修改.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# 网站外观修改
|
||||
**本篇指南将教你如何修改开发组网站的外观**
|
||||
1
docs/devdocs/02-网站/05-旧版wiki.md
Normal file
1
docs/devdocs/02-网站/05-旧版wiki.md
Normal file
@@ -0,0 +1 @@
|
||||
# 旧版wiki
|
||||
11
docs/devdocs/02-网站/index.md
Normal file
11
docs/devdocs/02-网站/index.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 网站
|
||||
## 概述
|
||||
目前,网站有www.zsxyww.com(主站点),wiki.zsxyww.com(旧wiki),和developer.zsxyww.com(开发组网站),这些子域
|
||||
### www.zsxyww.com
|
||||
好像是前辈们留下来的项目,暂时不清楚情况
|
||||
### wiki.zsxyww.com
|
||||
旧版的wiki,使用wiki.js构建,上面存放了累积下来的许多文章,目前准备迁移
|
||||
### developer.zsxyww.com
|
||||
目前集中开发的新站点,把计划发布的新版wiki和开发组的文档都放在上面了,使用docusaurus构建
|
||||
## 部署
|
||||
网站部署在腾讯云的服务器上,dnspod进行解析,nginx反向代理,官网和旧wiki是封装在docker容器里的,监听8090端口和3000端口,
|
||||
1
docs/devdocs/03-网维报修系统/index.md
Normal file
1
docs/devdocs/03-网维报修系统/index.md
Normal file
@@ -0,0 +1 @@
|
||||
# 网维报修系统
|
||||
2
docs/devdocs/03-网维报修系统/概览.md
Normal file
2
docs/devdocs/03-网维报修系统/概览.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# 网维报修系统
|
||||
目前所使用的系统在这里:[系统](https://github.com/ZSCNetSupportDept/WechatTicketSystem) 暂时不了解,难以维护,准备开发新的报修系统
|
||||
1
docs/devdocs/04-招新系统/README.md
Normal file
1
docs/devdocs/04-招新系统/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# 招新系统
|
||||
2
docs/devdocs/04-招新系统/概览.md
Normal file
2
docs/devdocs/04-招新系统/概览.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# 招新系统
|
||||
不了解
|
||||
5
docs/devdocs/05-基础设施/README.md
Normal file
5
docs/devdocs/05-基础设施/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# 基础设施
|
||||
## 服务器
|
||||
我们目前拥有负责报修系统和网站的两台服务器,位于tx云上,联系组长以获得访问权限
|
||||
## 域名
|
||||
我们拥有一个域名zsxyww.com
|
||||
2
docs/devdocs/05-基础设施/zsxyww.com域名.md
Normal file
2
docs/devdocs/05-基础设施/zsxyww.com域名.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# zsxyww.com
|
||||
这个域名目前托管在west.cn上,腾讯云dns,关于域名的交接事项,请联系组长
|
||||
2
docs/devdocs/05-基础设施/报修服务器.md
Normal file
2
docs/devdocs/05-基础设施/报修服务器.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# 报修服务器
|
||||
|
||||
13
docs/devdocs/05-基础设施/网站服务器.md
Normal file
13
docs/devdocs/05-基础设施/网站服务器.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 网站服务器
|
||||
## 概况
|
||||
ip:**43.129.159.235**
|
||||
|
||||
OS:**Debian 10.2 64bit**
|
||||
|
||||
配置:CPU - 1核 内存 - 1GB\
|
||||
系统盘 - SSD云硬盘 25GB\
|
||||
流量包 - 1024GB/月(峰值带宽:30Mbps)
|
||||
|
||||
服务:官网(通过docker部署,8090端口,nginx反代)\
|
||||
旧版wiki(docker,3000端口,nginx反代)\
|
||||
新网站(TODO:补充部署方式)
|
||||
6
docs/devdocs/06-联系开发组.md
Normal file
6
docs/devdocs/06-联系开发组.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# 加入开发组
|
||||
可以参照下面的联系方式和开发组进行联系
|
||||
## 联系方式
|
||||
QQ群:961797864
|
||||
QQ:2597760847(组长)
|
||||
|
||||
18
docs/wiki/01-首页.md
Normal file
18
docs/wiki/01-首页.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 网络维护科wiki首页
|
||||
## 介绍
|
||||
这里是中山学院网络维护科wiki,记录了网络维护工作的相关知识,wik的内容都是历代网维的成员整理总结的,你也可以贡献自己的内容
|
||||
## wiki的内容
|
||||
**wiki基本由以下部分组成:**
|
||||
### 技能
|
||||
修网所要掌握的各种技能
|
||||
### 基础知识
|
||||
修网的基础知识
|
||||
### 片区介绍
|
||||
我们需要维护的片区,以及在这些片区值班的注意事项
|
||||
### 故障介绍
|
||||
当网络发生故障时,客户端通常会返回一个错误码,来提示可能发生的错误,这里,按照运营商分类,介绍常见的故障错误码,**如果你遇到的故障在这里没有收录,请转到旧版wiki**\
|
||||
提示:对于电信客户端,可以用客户端自带的修复软件来修复
|
||||
### MacOS修理指南
|
||||
MacOS的修理事项
|
||||
## 旧wiki
|
||||
这里是新版wiki,但是旧版wiki依然可用,你可以通过[wiki.zsxyww.com](https://wiki.zsxyww.com) 来访问,上面还有没有迁移的许多旧文章,我们目前在逐步转移这些文章
|
||||
11
docs/wiki/03-技能/01-查看ip.md
Normal file
11
docs/wiki/03-技能/01-查看ip.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 查看ip
|
||||
许多情况下,检查故障的第一步就是查看用户在局域网中的ip,以进行进一步判断,本文将教会你如何查看ip,以及不同的ip地址意味着什么
|
||||
## 操作
|
||||
1. 打开cmd界面,你可以按win+r弹出运行框,输入cmd,然后回车
|
||||
2. 在cmd提示符后输入`ipconfig`命令,此时应该会输出结果
|
||||
3. 根据结果进行下一步操作
|
||||
## 结果
|
||||
### 无地址
|
||||
### 172.xx.xx.xx地址
|
||||
### 169.254.xx.xx地址
|
||||
### 192.168.xx.xx地址
|
||||
14
docs/wiki/03-技能/对线.md
Normal file
14
docs/wiki/03-技能/对线.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# 对线
|
||||
宿舍以太网的连接由网线负责传输,如果网线,或者配线架,交换机这些物理设备本身的端口出现了问题,那么网络就当然无法连接,对线的过程便是测试物理连接是否能工作的流程
|
||||
## 操作流程
|
||||
### 准备
|
||||
打开寻线器,将寻线器的模式调到“对线”档位,将网线的一端插入到接口内,将另一端插入到要测试的端口
|
||||
### 检查
|
||||
如果寻线器上的1-8灯全部亮的话,那么说明物理层连接没有问题,如果有哪个灯不亮,那么说明对应的电线不通,一般只要1,2,3,6灯亮起,那么网络才能保证最基本工作,但是网速会比较慢
|
||||
## 排查
|
||||
对线只能指示寻线器到信号发射设备(楼层交换机,宿舍路由器等)的整体线路是否完好,如果这中间有问题,他是无法测出是哪一个部分的问题的,这个时候,就需要我们进行测试排查
|
||||
### 流程
|
||||
假如我们有如下的连接:\
|
||||
**电脑-转接口-用户网线-用户端口-宿舍线路-路由器-楼层线路-配线架-交换机**\
|
||||
对线结果显示有问题的话,我们可以更换已知的正常设备来排查错误的地方,例如,如果使用用户的转接口,用户的网线对线失败的话,那么就先更换成一个正常的转接口,如果还是失败,那么就把网线换成好的网线,如果这个时候对线成功了,那么我们就可以判断是用户网线的问题,就可以让用户更换网线了,如果还是失败的话,那么试一试将电脑直连路由器,如果成功了,那么就可以排查出,是宿舍墙线或者端口的问题,重做端口后用端口连接路由器,如果失败的话就可以发现是线路的故障,这个时候就可以尝试飞线或直接上报组长,如果直连主线没问题而经过路由器有问题的话,那么就是路由器的问题,如果直连交换机端口没问题,而在宿舍里有问题的话,那么就是楼层线路的问题,如果直连交换机有问题的话,那么就是交换机端口的问题,可以给用户换一个没问题的端口
|
||||
|
||||
8
docs/wiki/03-技能/寻线.md
Normal file
8
docs/wiki/03-技能/寻线.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# 寻线
|
||||
寻线就是寻找网线的两端,一个楼层的所有用户的网线,都要连接在交换机上,才能进一步连接到运营商网络,在弱电井里汇聚了一个楼层几百根线,如果有线路表的话还好,没有线路表的话,就需要通过寻线的方法,确定用户的端口,对应着交换机处的哪一根线
|
||||
## 操作流程
|
||||
打开寻线器,将寻线器的发射端接到需要寻线的一端,调到寻线挡,将接收端带去弱电井,如果接收端靠近对应的线的话,就会发出响声,将灵敏度调到最高,确定大致范围,再逐渐调低,同时缩小范围,最后找到对应的线\
|
||||
接收端也有一个端口,如果你觉得可能是哪一个线,就把那个线拔下来插到端口里面,来确定你的猜想是否正确
|
||||
## 工作原理
|
||||
发射端向网线发射特殊的电磁信号,接收端可以通过电磁感应探测到这个信号并且发出声音
|
||||
|
||||
1
docs/wiki/03-技能/打水晶头.md
Normal file
1
docs/wiki/03-技能/打水晶头.md
Normal file
@@ -0,0 +1 @@
|
||||
# 打水晶头
|
||||
1
docs/wiki/03-技能/解绑端口,刷新数据.md
Normal file
1
docs/wiki/03-技能/解绑端口,刷新数据.md
Normal file
@@ -0,0 +1 @@
|
||||
# 解绑端口,刷新数据
|
||||
1
docs/wiki/03-技能/设置路由器.md
Normal file
1
docs/wiki/03-技能/设置路由器.md
Normal file
@@ -0,0 +1 @@
|
||||
# 设置路由器
|
||||
1
docs/wiki/03-技能/辨别床位.md
Normal file
1
docs/wiki/03-技能/辨别床位.md
Normal file
@@ -0,0 +1 @@
|
||||
# 辨别床位
|
||||
1
docs/wiki/03-技能/重做端口.md
Normal file
1
docs/wiki/03-技能/重做端口.md
Normal file
@@ -0,0 +1 @@
|
||||
# 重做端口
|
||||
1
docs/wiki/03-技能/飞线.md
Normal file
1
docs/wiki/03-技能/飞线.md
Normal file
@@ -0,0 +1 @@
|
||||
# 飞线
|
||||
1
docs/wiki/04-片区介绍/index.md
Normal file
1
docs/wiki/04-片区介绍/index.md
Normal file
@@ -0,0 +1 @@
|
||||
# 片区介绍
|
||||
12
docs/wiki/04-片区介绍/东门.md
Normal file
12
docs/wiki/04-片区介绍/东门.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 东门片区信息
|
||||
## 集合点
|
||||
**12栋楼下**
|
||||
## 网络结构
|
||||
### 线路
|
||||
用户端口连接到宿舍的路由器,路由器主线连接到楼层机房(机房好像进不去)
|
||||
### 运营商
|
||||
电信
|
||||
### 其它
|
||||
暂无
|
||||
## 注意事项
|
||||
暂无
|
||||
22
docs/wiki/04-片区介绍/凤翔.md
Normal file
22
docs/wiki/04-片区介绍/凤翔.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 凤翔片区信息
|
||||
## 集合点
|
||||
**值班室门口**
|
||||
## 网络结构
|
||||
凤翔的网络设备比较古老
|
||||
### 线路
|
||||
用户的端口连接到楼层的交换机,位于天花板上,要爬梯子
|
||||
### 运营商
|
||||
电信,移动
|
||||
### 其它
|
||||
暂无
|
||||
## 注意事项
|
||||
进门可以看见一个梯子,
|
||||
记得带梯子去值班,不管有没有单,每天下班时都要拍一张梯子的照片给值班组长
|
||||
**记得拍梯子!!**
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
10
docs/wiki/04-片区介绍/北门.md
Normal file
10
docs/wiki/04-片区介绍/北门.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 北门片区信息
|
||||
## 集合点
|
||||
**10栋门口**(?)
|
||||
## 网络结构
|
||||
### 线路
|
||||
### 运营商
|
||||
### 其它
|
||||
## 注意事项
|
||||
|
||||
(我还没怎么去过北门,这篇你们来补充)
|
||||
12
docs/wiki/04-片区介绍/朝晖.md
Normal file
12
docs/wiki/04-片区介绍/朝晖.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 朝晖片区信息
|
||||
## 集合点
|
||||
**朝晖楼门口**
|
||||
## 网络结构
|
||||
### 线路
|
||||
用户端口直连配线架,配线架连接到交换机,没有床位表格,需要手动寻线
|
||||
### 运营商
|
||||
电信,移动
|
||||
### 其它
|
||||
暂无
|
||||
## 注意事项
|
||||
记得在宿管阿姨处借钥匙
|
||||
12
docs/wiki/04-片区介绍/歧头.md
Normal file
12
docs/wiki/04-片区介绍/歧头.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 歧头片区信息
|
||||
## 集合点
|
||||
**19栋门口**
|
||||
## 网络结构
|
||||
### 线路
|
||||
用户端口连接到宿舍的路由器,路由器主线连接到楼层机房(机房好像进不去)
|
||||
### 运营商
|
||||
电信
|
||||
### 其它
|
||||
暂无
|
||||
## 注意事项
|
||||
暂无
|
||||
12
docs/wiki/04-片区介绍/香晖.md
Normal file
12
docs/wiki/04-片区介绍/香晖.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 香晖片区信息
|
||||
## 集合点
|
||||
**香晖片区范围比较大,分为两个小组值班,AB组在AB栋闸机处集合,CD栋同理。**
|
||||
## 网络结构
|
||||
### 线路
|
||||
用户的端口直接连接到弱电室的配线架,再经配线架连接到交换机,交换机处有床位对应表格,
|
||||
### 运营商
|
||||
三大运营商都有服务,在维修时注意交换机不要接错
|
||||
### 其它
|
||||
暂无
|
||||
## 注意事项
|
||||
记得在宿管阿姨处借钥匙
|
||||
26
docs/wiki/05-基础知识/01-学校的网络结构.md
Normal file
26
docs/wiki/05-基础知识/01-学校的网络结构.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 学校的网络结构
|
||||
## 概况
|
||||
电子科技大学中山学院校园网络分为教学网络和学生宿舍网络,教学网络主要用于学校各教学楼、实验楼、图书馆等供老师、教职工和学生上课上机使用,是属于教育科研网络。学生宿舍网络主要由中国电信、中国联通、中国移动直接提供服务,是属于运营商提供服务的网络。
|
||||
|
||||
无论是教学网络还是学生宿舍网络,都属于校园网,可访问学校图书馆、知网资源。但是,学生宿舍网络无法访问教学网络的部分资源(如实验楼FTP服务器、经管学院的实践教学中心模拟系统等),如有需要,可到图书馆访问。
|
||||
|
||||
**本维修手册,主要针对的是学生宿舍网络。**
|
||||
|
||||
目前(2017年12月),我校全部的学生宿舍,包括朝晖苑、香晖苑(ABCD栋)、凤翔宿舍区(1-6栋)、北门宿舍区(7-11栋)、东门宿舍区(12-15、20-22栋)、歧头山宿舍区(16-19栋)都可接入中国电信的上网服务。
|
||||
|
||||
其中,朝晖苑、香晖苑(ABCD栋)和凤翔宿舍区(1-6栋)还可选择中国移动网络。
|
||||
只有香晖苑(ABCD栋)可选择中国联通的网络。
|
||||
|
||||
## 连接方式
|
||||
**对于学生宿舍网络:**\
|
||||
电信需要使用专门的客户端来连接,而联通和移动是直接进行拨号连接\
|
||||
**对于教学区公共Wi-Fi:**\
|
||||
使用“掌上连峰”APP连接
|
||||
## 拓扑
|
||||
校园网的拓扑结构
|
||||
## ip与运营商
|
||||
学校宿舍网络为每一个床位提供一个内网ip,其中:\
|
||||
172.17.x.x为移动\
|
||||
172.18.x.x为联通\
|
||||
172.19.x.x为电信
|
||||
|
||||
1
docs/wiki/05-基础知识/DNS.md
Normal file
1
docs/wiki/05-基础知识/DNS.md
Normal file
@@ -0,0 +1 @@
|
||||
# DNS是什么和它的原理
|
||||
1
docs/wiki/05-基础知识/index.md
Normal file
1
docs/wiki/05-基础知识/index.md
Normal file
@@ -0,0 +1 @@
|
||||
# 基础知识
|
||||
43
docs/wiki/06-故障-电信/101.md
Normal file
43
docs/wiki/06-故障-电信/101.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# 电信101
|
||||
## 原因
|
||||
|
||||
1. 可能是电脑没有按照正确的方式接入校园专网环境导致
|
||||
2. 使用了奇游加速器
|
||||
|
||||
## 客户端处理(适用于原因1)
|
||||
|
||||
1. 使用客户端自带的“检测工具”进行修复(点击客户端右上角下拉菜单,选择“检测工具”)
|
||||
|
||||
|
||||
## 手动处理(适用于原因1)
|
||||
|
||||
1. 检查电脑是否连接电信专网(接入电信端口或 http://zsteduapp.10000.gd.cn/ )
|
||||
2. 检查网卡驱动是否正确安装、网卡是否被禁用
|
||||
3. 检查网口(包括电脑端口)是否正常(可用系统宽带连接测试是否返回651,651表示网口不通)
|
||||
4. 检查网卡是否设置了“自动获取IP”及“自动获取DNS”
|
||||
5. 检查电脑是否获取到了IP地址
|
||||
6. 禁用再启用网卡再观察
|
||||
7. 重启客户端或电脑再观察
|
||||
|
||||
## 判断是否奇游加速器引起以及解决方案
|
||||
### 判断
|
||||
|
||||
1. 同时按下<kbd>Win</kbd> + <kbd>R</kbd>键,输入 `ncpa.cpl` 进入网络适配器页面,查看是否有描述为`qeeyou`的适配器,有的话就是使用了奇游加速器
|
||||
2. 电脑症状表现为,获取到正确的 172.xxx.xxx.xxx 段 IP,同时按下<kbd>Win</kbd> + <kbd>R</kbd>键,输入`cmd`,打开命令提示符窗口,输入`ping 189.cn` 后回车,如果提示 `ping 请求找不到主机 189.cn` ,则继续输入 `nslookup 189.cn` 后回车,如果返回结果当中**没有** `Non-existent domain` 字样,或者你知道它已经解析成功,那就是奇游加速器导致的101错误
|
||||
|
||||
### 解决方法
|
||||
|
||||
同时按下<kbd>Win</kbd> + <kbd>R</kbd>键。输入 `regedit` 进入注册表编辑器,依次展开
|
||||
|
||||
```
|
||||
\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Dnscache\Parameters\DnsPolicyConfig
|
||||
```
|
||||
,对着openvpn字样的注册表项(文件夹)右键删除,然后重新插拔网线即可
|
||||
|
||||
## 注意
|
||||
|
||||
1. 如果为大面积问题,可能为网络障碍,需要上报
|
||||
2. 如按照方法一、二步骤处理无效且非大面积问题,可能是用户电脑中木马导致LSP协议被劫持,需使用第三方修复工具修复(以360安全卫士为例)
|
||||
1. 打开360安全卫士,点击右下角的“断网急救箱”
|
||||
2. 选择“全面诊断”
|
||||
3. 在诊断结束后选择“强力修复”
|
||||
10
docs/wiki/06-故障-电信/107.md
Normal file
10
docs/wiki/06-故障-电信/107.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 电信107
|
||||
## 原因
|
||||
|
||||
- 设备没连通校园网络
|
||||
- 软件冲突
|
||||
|
||||
## 解决方法
|
||||
|
||||
1. 确认网线是否被拔、无线网卡是否被禁用
|
||||
2. 把天翼客户端和杀毒软件等关闭,打开任务管理器把天翼客户端的进程强制关闭,也就是以`Esufin`(差不多这样)开头的进程,然后重开客户端
|
||||
38
docs/wiki/06-故障-电信/109.md
Normal file
38
docs/wiki/06-故障-电信/109.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# 电信109
|
||||
## 原因
|
||||
|
||||
- 此错误为设备网络不通,导致设备与客户端服务连接失败。
|
||||
## 解决方法
|
||||
|
||||
### 方法一:请先关闭 Windows 自带防火墙
|
||||
方法如下:
|
||||
在控制面板的系统和安全里面,找到 Windows defender,然后选择关闭,重启系统再打开客户端。(使用360等安全软件即可起到防火墙的作用,关闭 Windows 防火墙不会影响系统安全)
|
||||
|
||||
### 方法二:检查电脑有没有安全软件,如电脑管家等
|
||||
- 有,请先退出安全软件后重新启动客户端。
|
||||
- 没有,请重新启动客户端。
|
||||
|
||||
### 方法三:请查看电脑IP是否为正常校园环境 IP
|
||||
- 是,请排查 IP 到网关是否正常,
|
||||
排查方法:打开命令提示符(在开始菜单 ->所有程序->附件里面找到命令提示符)然后输入以下命令可查看 IP 地址和网关地址
|
||||
`ipconfig /all`
|
||||
然后输入`ping` 你的网关地址,查看是否有不通现象
|
||||
|
||||
- 不是,请断开当前网络重新连接。
|
||||
|
||||
### 方法四:手动检查以下配置是否正常:
|
||||
检查网卡是否已设置为“自动获取 IP ”及“自动获取 DNS ”,若没有,请修改设置为自动获取;
|
||||
检查电脑是否获取到了正确的校园 IP 地址,若没有,请通过禁用再启用网卡重新获取;
|
||||
如果接入的是自备路由器无线,需确认路由器是否设置了桥接模式。
|
||||
|
||||
### 方法五:手动检查客户端日志查看超时地址。
|
||||
方法如下:
|
||||
以windows客户端为例:客户端日志文件路径:客户端安装目录下,log文件夹,【客户端出现问题日期_svrinfo.log】这一份。;
|
||||
查看日志内容有requestConfig http err is :12002相关的错误信息,复制出现这行错误信息上一行的网址/地址到浏览器(如下面日志的 http://www.qq.com ) ,打开,看是否能正常访问。
|
||||
如果对于日志内容无法分析,请联系值班组长协助排查。
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4
docs/wiki/06-故障-电信/114.md
Normal file
4
docs/wiki/06-故障-电信/114.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# 电信114
|
||||
## 原因
|
||||
|
||||
- 由于本机时间不正确导致天翼校园客户端报错
|
||||
3
docs/wiki/06-故障-电信/README.md
Normal file
3
docs/wiki/06-故障-电信/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# 故障-电信
|
||||
这里是电信的故障代码收录\
|
||||
当前还有很多的条目没有搬过来,可以看旧版wiki
|
||||
26
docs/wiki/08-故障-联通⁄移动/651.md
Normal file
26
docs/wiki/08-故障-联通⁄移动/651.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 联通651,移动651
|
||||
## 原因
|
||||
|
||||
- 配置错误
|
||||
- 物理连接错误
|
||||
- 联通多次宽带691/629认证失败导致短时间被拉黑
|
||||
- 其他原因
|
||||
|
||||
## 配置错误类解决方法
|
||||
|
||||
1. 确认网卡已启动,网卡驱动程序已安装正确
|
||||
2. 确认与网络相关的服务全部已启动
|
||||
3. 确认本地连接/以太网已启动
|
||||
4. 确认本地连接/以太网-属性-Internet协议版本4(TCP/IPv4)-属性,选中自动获取IP地址,自动获得DNS服务器地址
|
||||
|
||||
## 物理连接错误类解决方法
|
||||
|
||||
1. 用力插拔各个端口接口,以排除接触不良引发的物理连接错误
|
||||
2. 使用测线器测试墙上端口的信号状态,判断物理连接错误区域
|
||||
3. 使用测线器测试用户使用的网线的连通性
|
||||
4. 使用测线器测试小交换机/机房线架的信号输入的主线,确认主线信号源正常
|
||||
|
||||
## 联通多次691/629认证失败导致短时间拉黑
|
||||
联通运营商的宽带,如果在多次认证失败以后,使用该mac地址拨号会变成651错误,静候3-5分钟解除,也可以直接更改适配器的mac地址快速解决
|
||||
|
||||
## 其他原因类解决方法
|
||||
33
docs/wiki/08-故障-联通⁄移动/691.md
Normal file
33
docs/wiki/08-故障-联通⁄移动/691.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# 联通691,移动691
|
||||
## 现象
|
||||
PPPoE宽带拨号提示 `已拒绝远程连接,因为未识别出你提供的用户名和密码组合,或在远程访问服务器上禁止使用选定的身份验证协议` ,甚至提示错误代码`691`
|
||||
|
||||
## 原因
|
||||
|
||||
- 归根到底原因: 运营商拒绝此账号的本次登陆请求
|
||||
- 账号欠费或者停机
|
||||
- 插错运营商交换机:如插到了联通交换机上使用移动账号登陆,那肯定拒绝登陆啊
|
||||
- 账号异常断开:用户在拨号成功后网线突然断开,或在关机/重启/断开网络之前不断开当前宽带连接有可能导致账号"挂死"(解决方法:打电话给运维或者等5分钟)
|
||||
- 2021.09 以后为移动的蜜汁问题
|
||||
|
||||
|
||||
## 解决方法
|
||||
|
||||
1. 确认账号,密码没有输入错误
|
||||
- 移动后缀:139.gd,初始密码:手机号前三位 + 后三位 / 手机号后六位 / 身份证后六位数字
|
||||
- 联通后缀:16900.gd,初始密码:123456,21 级新生的默认密码:900.gd
|
||||
2. 确认账号内网费余额大于等于 10 元
|
||||
3. 联系运营商处理
|
||||
- 移动用户拨打运维电话(18807601086),转 1,咨询最后一次登陆失败原因以及登陆失败时间,根据客服提示操作:客服说是绑定的话就让客服帮忙解绑,账号已在线的话就让客服帮忙踢下线,账号最近 5 分钟内没有登陆记录的话检查账号有没有输错,没输错的话再去机房换一条线
|
||||
- 联通用户拨打联通运维(0760-23771601),咨询账号状态,说明需要解绑账号
|
||||
4. 实在不行也可以尝试机房重新跳线,有时可以解决。注意:机房跳线更换端口后,会表现为 691(连接被远程计算机中止)
|
||||
5. 在确认移动用户的账号和密码无误且余额大于 10 元的情况下,按照以下流程解决:
|
||||
- 用宽带绑定的手机号码拨打 10086,转人工;
|
||||
- 告诉客服,说:清除本机号码绑定的宽带的端口数据;
|
||||
- 等待客服回复“已清除”;
|
||||
- 告诉客服,说:解绑;
|
||||
- 如果用户记得服务密码可以使用服务密码,否则交给用户报一下身份证号码;
|
||||
- 等待客服回复“已解绑”
|
||||
- 拔下网线,等待 20 ~ 30 秒后插上;
|
||||
- 拨号,一般可以完美解决;
|
||||
- 如果不行,可以重新拨打电话操作。
|
||||
35
docs/wiki/08-故障-联通⁄移动/711.md
Normal file
35
docs/wiki/08-故障-联通⁄移动/711.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# 移动,联通711
|
||||
|
||||
## 原因
|
||||
|
||||
- 系统服务问题
|
||||
|
||||
## 解决方法
|
||||
|
||||
1. 开始-运行-`regedit`,删除`HKEY_LOCAL_MACHINE\System\CurrentControlSet\services\eventlog\Parameters`项
|
||||
2. 打开计算机-右键管理-服务和应用程序-服务,*请按顺序尝试启动(如果存在),并设置启动类型为`自动`*
|
||||
1. Windows Event Log
|
||||
2. Secure Socket Tunneling Protocol Service
|
||||
3. Remote Access Auto Connection Manager
|
||||
4. Telephony
|
||||
3. 尝试启动其他与网络相关的服务。
|
||||
与网络相关的服务如下,检查各项服务是否开启,不要求按顺序:
|
||||
(加粗的是解决1062错误的关键)
|
||||
- **Device Install Sevise**
|
||||
- DHCP Client
|
||||
- DNS Client
|
||||
- **Device Setup Manager**
|
||||
- DCOM Server Process Launcher
|
||||
- Windows Event Log
|
||||
- Secure Socket Tunneling Protocol Service
|
||||
- Remote Access Auto Connection Manager
|
||||
- **Remote Access Connection Manager**
|
||||
- Remote Procedure Call (RPC)
|
||||
- **Telephony**
|
||||
- Network Setup Service
|
||||
- Network List Service
|
||||
- **Network Connections**
|
||||
- Network Store Interface Service
|
||||
- System Events Broker
|
||||
4. 取得『%SystemRoot%\LogFiles』文件夹和『%SystemRoot%\ System32\wbem』文件夹的权限(包括这两个文件夹的所有子文件夹的权限),简单点说,就是使你当前的帐户拥有这两个文件夹以及它们的子文件夹的绝对控制权限。在 C:\windows\system32\ 这个路径下找到:logfile 和 wbem 这两个文件夹 这个文件添加管理员使用权限(在文件夹右键-属性-安全-高级里设置),重启应该就OK了。
|
||||
5. win+R,运行`regedt32`,打开注册表定位到`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\DependOnService`。然后 选中"DependOnService" ,在右边窗口里显示的项目中找到 "DependOnService" ,双击会弹出一个 “编辑多字符串” 窗口,删除此窗口里数值数据中的" SstpSvc" ,再点击"确定"。关闭注册表后重启电脑。
|
||||
51
docs/wiki/08-故障-联通⁄移动/720.md
Normal file
51
docs/wiki/08-故障-联通⁄移动/720.md
Normal file
@@ -0,0 +1,51 @@
|
||||
# 联通,移动720
|
||||
## 原因
|
||||
|
||||
- 网络协议崩溃
|
||||
|
||||
## 简单粗暴的解决方法
|
||||
|
||||
1. 计算机-管理-设备管理器-网络适配器-查看-右键带有“IPV6”的适配器-卸载
|
||||
2. 重新拨号
|
||||
3. 解决
|
||||
|
||||
## 常规解决方法
|
||||
|
||||
1. 使用通用拨号错误解决方案尝试解决(见页末)
|
||||
2. 网络和共享中心-更改适配器设置,将拨号配置全部删除,将本地连接/以太网全部禁用
|
||||
3. 计算机-管理-设备管理器-网络适配器-查看-显示隐藏的设备,将网络适配器/网卡驱动全部卸载
|
||||
4. 重启计算机,使用U盘重装网卡驱动
|
||||
5. 使用通用拨号错误解决方案尝试解决
|
||||
6. 如果用户电脑装有McAfee安全软件,卸载McAfee
|
||||
7. 建议用户早日放弃治疗重装吧
|
||||
|
||||
## 720错误转为813错误解决方法
|
||||
|
||||
1. 计算机-属性-设备管理器-网络适配器,将所有WAN开头的设备卸载
|
||||
2. 重新连接,如果错误代码变为813,则可以开始使用813错误的解决方法(如果使用此方法一次仍然失败,请多尝试几次)
|
||||
- 附上813的解决方法
|
||||
1. 删掉没用的宽带连接,重建宽带连接
|
||||
2. 跑神器,重启
|
||||
3. 打开命令行,输入`rasdial /DISCONNECT`,重启(必须重启)
|
||||
4. 重建连接
|
||||
|
||||
## 由卸载旧版本猎豹WIFI导致解决方法
|
||||
|
||||
1. 计算机-属性-设备管理器-查看-显示隐藏的设备
|
||||
2. 点开网络适配器,查看里面有叹号的设备(WAN微型端口)
|
||||
3. 选择有叹号的设备-右键-更新驱动程序软件
|
||||
4. 更新驱动程序软件-你希望如何搜索驱动程序软件-浏览计算机以查找驱动程序软件-从计算机的设备驱动管理程序列表中选取-选择网络适配器-去掉显示兼容硬件的勾-厂商:Microsoft--网络适配器:Microsoft KM-TEST 环回适配器-下一步
|
||||
5. 返回网络适配器,看到有个叹号名为“Microsoft KM-TEST 环回适配器”,然后右键卸载
|
||||
6. 对所有有感叹号的设备重复以上操作,重启电脑
|
||||
|
||||
## 通用拨号错误解决方案
|
||||
|
||||
1. 计算机-管理-设备管理器-网络适配器,依次禁用再启用各个网络适配器
|
||||
2. 网络和共享中心-更改适配器设置,依次禁用再启用各个本地连接/以太网,删除所有宽带连接并尝试重建
|
||||
3. 确认本地连接/以太网-属性-Internet协议版本4(TCP/IPv4)-属性,选中自动获取IP地址,自动获得获得DNS服务器地址
|
||||
4. 右键管理员运行命令提示符(cmd.exe),执行
|
||||
1. `netsh winsock reset`
|
||||
2. `ipconfig /release`
|
||||
3. `ipconfig /renew`
|
||||
5. 运行U盘携带的神器(winsockfix.exe)
|
||||
6. 重启计算机
|
||||
25
docs/wiki/08-故障-联通⁄移动/734.md
Normal file
25
docs/wiki/08-故障-联通⁄移动/734.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 联通,移动734
|
||||
## 原因
|
||||
|
||||
- 网络协议崩溃
|
||||
|
||||
## 常规解决方法
|
||||
|
||||
1. 使用通用拨号错误解决方案尝试解决(见页末)
|
||||
2. 网络和共享中心-更改适配器设置,将拨号配置全部删除,将本地连接/以太网全部禁用
|
||||
3. 计算机-管理-设备管理器-网络适配器-查看-显示隐藏的设备,将网络适配器/网卡驱动全部卸载
|
||||
4. 重启计算机,使用U盘重装网卡驱动
|
||||
5. 使用通用拨号错误解决方案尝试解决
|
||||
6. 建议用户早日放弃治疗重装吧
|
||||
|
||||
## 通用拨号错误解决方案
|
||||
|
||||
1. 计算机-管理-设备管理器-网络适配器,依次禁用再启用各个网络适配器
|
||||
2. 网络和共享中心-更改适配器设置,依次禁用再启用各个本地连接/以太网,删除所有宽带连接并尝试重建
|
||||
3. 确认本地连接/以太网-属性-Internet协议版本4(TCP/IPv4)-属性,选中自动获取IP地址,自动获得获得DNS服务器地址
|
||||
4. 右键管理员运行命令提示符(cmd.exe),执行
|
||||
1. `netsh winsock reset`
|
||||
2. `ipconfig /release`
|
||||
3. `ipconfig /renew`
|
||||
5. 运行U盘携带的神器(winsockfix.exe)
|
||||
6. 重启计算机
|
||||
3
docs/wiki/08-故障-联通⁄移动/README.md
Normal file
3
docs/wiki/08-故障-联通⁄移动/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# 故障-联通/移动
|
||||
这里是联通/移动的故障代码收录\
|
||||
通常联通,移动的故障代码是通用的
|
||||
1
docs/wiki/08-故障-联通⁄移动/_711.md
Normal file
1
docs/wiki/08-故障-联通⁄移动/_711.md
Normal file
@@ -0,0 +1 @@
|
||||
#联通,移动711
|
||||
1
docs/wiki/09-MacOS修理指南.md
Normal file
1
docs/wiki/09-MacOS修理指南.md
Normal file
@@ -0,0 +1 @@
|
||||
# MacOS修理指南
|
||||
Reference in New Issue
Block a user