mirror of https://github.com/jkjoy/sunpeiwen.git
20231003 update
This commit is contained in:
parent
077219a71e
commit
4a74a53a7b
|
@ -1,8 +1,9 @@
|
|||
---
|
||||
title: Docker部署Activity-Relay服务
|
||||
date: 2023-10-03 09:06:40
|
||||
tags: Docker
|
||||
categories: 分享
|
||||
abbrlink: 57ea9005
|
||||
date: 2023-10-03 09:06:40
|
||||
cover:
|
||||
---
|
||||
|
||||
|
@ -16,7 +17,7 @@ cover:
|
|||
```
|
||||
git clone https://github.com/yukimochi/Activity-Relay.git -b v2.0.0
|
||||
```
|
||||
注意: 这里可以选择latest version
|
||||
|
||||
|
||||
## 复制编辑config.yml
|
||||
进入`Activity-Relay`目录
|
||||
|
@ -42,20 +43,25 @@ openssl genrsa -out actor.pem 1024 | tee actor.pem
|
|||
chmod 600 actor.pem
|
||||
```
|
||||
## 构建镜像与运行服务
|
||||
|
||||
```
|
||||
docker-compose build
|
||||
docker-compose up -d
|
||||
```
|
||||
## 查看容器运行状态
|
||||
|
||||
```
|
||||
docker-compose ps
|
||||
```
|
||||
## 停止服务
|
||||
|
||||
```
|
||||
docker-compose down
|
||||
```
|
||||
|
||||
## 相关参考
|
||||
docker-compose配置
|
||||
|
||||
```
|
||||
version: "2.3"
|
||||
services:
|
||||
|
@ -96,8 +102,13 @@ services:
|
|||
- "./config.yml:/var/lib/relay/config.yml"
|
||||
depends_on:
|
||||
- redis
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
Nginx设置
|
||||
|
||||
```
|
||||
upstream relay {
|
||||
server 127.0.0.1:8080;
|
||||
|
@ -125,4 +136,5 @@ upstream relay {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
```
|
|
@ -1,26 +1,27 @@
|
|||
---
|
||||
title: NEC M700黑苹果OC0.9.4引导
|
||||
date: 2023-10-01 09:06:40
|
||||
tags: 黑苹果
|
||||
categories: 分享
|
||||
cover:
|
||||
---
|
||||
|
||||
## NEC M700黑苹果OC0.9.4引导
|
||||
### 配置
|
||||
CPU QHPW 2.2Ghz 四核心八线程I7es魔改
|
||||
主板NEC
|
||||
内存8GB DDR4 2666Mhz
|
||||
硬盘512GB SSD
|
||||
无线网卡BCM943224pcieBT拆机
|
||||
有线网卡INTEL
|
||||
声卡ALC235
|
||||
### 准备工作
|
||||
U盘 16G以上
|
||||
解锁CFG LOCK工具
|
||||
ami BIOS提取工具
|
||||
opencore
|
||||
OCAT
|
||||
### 解锁CFG LOCK
|
||||
在WINDOWS系统下通过工具提取出BIOS.
|
||||
通过`UEFI TOOL`打开提取出的BIOS文件,查找`cfg lock`
|
||||
---
|
||||
title: NEC M700黑苹果OC0.9.4引导
|
||||
tags: 黑苹果
|
||||
categories: 分享
|
||||
abbrlink: a116570f
|
||||
date: 2023-10-01 09:06:40
|
||||
cover:
|
||||
---
|
||||
|
||||
## NEC M700黑苹果OC0.9.4引导
|
||||
### 配置
|
||||
CPU QHPW 2.2Ghz 四核心八线程I7es魔改
|
||||
主板NEC
|
||||
内存8GB DDR4 2666Mhz
|
||||
硬盘512GB SSD
|
||||
无线网卡BCM943224pcieBT拆机
|
||||
有线网卡INTEL
|
||||
声卡ALC235
|
||||
### 准备工作
|
||||
U盘 16G以上
|
||||
解锁CFG LOCK工具
|
||||
ami BIOS提取工具
|
||||
opencore
|
||||
OCAT
|
||||
### 解锁CFG LOCK
|
||||
在WINDOWS系统下通过工具提取出BIOS.
|
||||
通过`UEFI TOOL`打开提取出的BIOS文件,查找`cfg lock`
|
||||
|
|
Loading…
Reference in New Issue