Skip to content

Commit fff7370

Browse files
committed
新增实例管理功能
1 parent 4b50a85 commit fff7370

File tree

16 files changed

+838
-197
lines changed

16 files changed

+838
-197
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ clean:
3030
$(zip_release): %.zip : %
3131
@zip -du $(BUILD_DIR)/$(NAME)-$<-$(VERSION).zip -j -m $(BUILD_DIR)/$</$(NAME)*
3232
@zip -du $(BUILD_DIR)/$(NAME)-$<-$(VERSION).zip *.ini
33-
@-zip -du $(BUILD_DIR)/$(NAME)-$<-$(VERSION).zip README.md
3433
@echo "$(NAME)-$<-$(VERSION).zip"
3534

3635
all: linux-amd64 darwin-amd64 windows-amd64 # Most used

README.md

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,49 @@
11
# 甲骨文实例抢购教程
22

3-
## 添加 API 密钥
3+
## 获取程序
4+
- 如果需要在本地电脑运行该程序,根据自己电脑的CPU架构类型,打开下面的 `下载地址` 下载对应的文件即可。如果需要在服务器上运行该程序,那么根据服务器的CPU架构类型选择对应的文件下载到服务器即可。
45

5-
登录甲骨文云官方网站,点击右上角头像 -> 用户设置 -> API 密钥 -> 添加API 密钥
6+
- 下载完成后解压压缩包,可以得到可执行程序 (Windows系统: `oci-help.exe` , 其他操作系统: `oci-help` ) 和 配置文件 `oci-help.ini`
67

7-
![image](https://github.com/lemoex/oci-help/raw/main/doc/api-key-1.png)
8-
![image](https://github.com/lemoex/oci-help/raw/main/doc/api-key-2.png)
9-
![image](https://github.com/lemoex/oci-help/raw/main/doc/api-key-3.png)
8+
> 下载地址: https://github.com/lemoex/oci-help/releases/latest
109
1110

12-
## 配置
13-
- 下载编译好的文件 [下载地址](https://github.com/lemoex/oci-help/releases/latest)
11+
## 获取配置信息
12+
![image](https://github.com/lemoex/oci-help/raw/main/doc/1.png)
13+
![image](https://github.com/lemoex/oci-help/raw/main/doc/2.png)
14+
![image](https://github.com/lemoex/oci-help/raw/main/doc/3.png)
15+
![image](https://github.com/lemoex/oci-help/raw/main/doc/4.png)
16+
![image](https://github.com/lemoex/oci-help/raw/main/doc/5.png)
17+
![image](https://github.com/lemoex/oci-help/raw/main/doc/6.png)
1418

15-
- 解压压缩包,修改配置文件 `oci-help.ini`
1619

17-
![image](https://github.com/lemoex/oci-help/raw/main/doc/oci-help-ini.png)
20+
## 编辑配置文件
21+
用文本编辑器打开在第一步获取到的 `oci-help.ini` 文件,进行如下配置:
1822

19-
## 运行
23+
![image](https://github.com/lemoex/oci-help/raw/main/doc/7.png)
24+
![image](https://github.com/lemoex/oci-help/raw/main/doc/8.png)
25+
26+
## Telegram 消息提醒配置
27+
![image](https://github.com/lemoex/oci-help/raw/main/doc/9.png)
28+
29+
> BotFather: https://t.me/BotFather
30+
> IDBot: https://t.me/myidbot
31+
32+
33+
## 运行程序
2034
```bash
21-
# 前台运行
35+
# 前台运行程序
2236
./oci-help
2337

24-
# 或者在 screen 中后台运行
25-
screen -S oci-help ./oci-help
38+
# 前台运行需要一直开着终端窗口,可以在 Screen 中运行程序,以实现断开终端窗口后一直运行。
39+
# 创建 Screen 终端
40+
screen -S oci-help
41+
# 在 Screen 中运行程序
42+
./oci-help
43+
# 离开 Screen 终端
44+
按下 Ctrl 键不松,依次按字母 A 键和 D 键。或者直接关闭终端窗口也可以。
45+
# 查看已创建的 Screen 终端
46+
screen -ls
47+
# 重新连接 Screen 终端
48+
screen -r oci-help
2649
```

doc/1.png

219 KB
Loading

doc/2.png

136 KB
Loading

doc/3.png

190 KB
Loading

doc/4.png

200 KB
Loading

doc/5.png

197 KB
Loading

doc/6.png

200 KB
Loading

doc/7.png

277 KB
Loading

doc/8.png

357 KB
Loading

0 commit comments

Comments
 (0)