原文链接:408-theory-Computer Network
ComputerNetwork计算机网络
计算机网络体系结构
概述
概念
计算机网络是一个将分散的、具有独立功能的计算机系统,通过通信设备与线路
连接起来,由功能完善的软件实现资源共享和信息传递的系统
- 广义观点:能够远程信息处理或资源共享的系统
- 资源共享观点:要求资源共享,分布不同地域,遵循统一规则
- 用户透明性观点:为用户自动管理资源的网络操作系统
原文链接:408-theory-Computer Network
计算机网络是一个将分散的、具有独立功能的计算机系统,通过通信设备与线路
连接起来,由功能完善的软件实现资源共享和信息传递的系统
原文链接:hexo+next主题博客-hexo部署
原文链接:hexo+next主题博客-next主题配置
在nginx配置中我们会增加blog域名的监听,我们将hexo部署在监听端口即可访问
服务器使用nginx新增代理可以参考:
1 | location / { |
具体的nginx配置方法可以参考:
使用Nginx实现多个网站代理
hexo需要使用nodejs环境
1 | npm: |
1 | rdir=/www/wwwroot/blog.aidroid.top |
修改hexo config 下theme为next
1 | next doc: https://theme-next.js.org/docs/ |
部署命令
1 |
|
##next config配置
next的默认配置文件为_config.yml
官方配置说明
next主题由于直接与博客展示关联,因此篇幅较多,专开一篇
为了让博客支持更丰富的内容,如latex公式、pdf加载等,需要安装对应扩展和设置。
1 | npm install --save hexo-pdf |
原文链接:hexo+next主题博客-next主题配置
上文链接:hexo+next主题博客-hexo部署
next主题是适配hexo的一个博客主题,由于hexo本身关注的是博客系统的效率稳定,
在界面美化方面我们选择专门的主题,不仅能够提供更好的视觉效果,还能提供更多的扩展
主要扩展以下方面:
next本身就提供了多个风格,设置主题风格
1 | # Schemes |
打开侧边栏 sidebar: true
1 | avatar:url: http://res.aidroid.top/avatar.jpg |
1 | beian: |
read_more_btn: true
1 | 同时要求分割符前要存在内容,否则不会生效 |
permalink: :title/
1 | 表示直接使用博客名 |
permalink: :mytag/:title/
1 | 这样博客链接就变成了http://example.com/mytag/title/ |
social:
GitHub: https://github.com/yasuo626 || fab fa-github
E-Mail: mailto:yasuo626.com@gmail.com || fa fa-envelope
home: https://aidroid.top
1 | #### 捐赠设置 |
npm install hexo-generator-searchdb
hexo:
search:
path: search.xml
field: post
content: true
format: html
next:
local_search:
enable: true
trigger: auto
top_n_per_article: 1
unescape: false
preload: false
1 |
|
busuanzi_count:
enable: true
total_visitors: true
total_visitors_icon: fa fa-user
total_views: true
total_views_icon: fa fa-eye
post_views: false
post_views_icon: fa fa-eye
1 |
|
next\layout_partials\footer.swig添加
### 全局html内容同步,实现广告效果
在next\layout_partials中即可实现添加自定义的服务
#### google ads
原文链接:408-theory-Principles of Computer Composition
原文链接:408-theory-Operation System