虽然NL小鸡只有256M,但是也能充分利用:huaji08:
# 1.更新系统并安装依赖
```
apk update
apk add git go wget bash
```
# 2.启用swap
分1G硬盘空间出来
```
dd if=/dev/zero of=/swapfile bs=1M count=1024
mkswap /swapfile
swapon /swapfile
echo ‘/swapfile none swap sw 0 0’ | tee -a /etc/fstab
```
# 3.安装F佬的warp
</s><i> </i>wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh<i> </i><e>
# 4.安装甬哥的sb
```
bash <(wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh 2> /dev/null)
```
## 后面不需要的可以停止了
# 5.部署gpt-4o-mini
拉取项目并构建
```
git clone https://github.com/aurora-develop/aurora
cd aurora
go build -o aurora
```
在aurora目录下创建`start.sh`文件
```
#!/bin/bash
设置环境变量
export PORT=你的运行端口
export Authorization=随便写你的key
确保二进制文件有执行权限
chmod +x ./aurora
启动应用程序
./aurora
```
使其持续运行
```
chmod +x start.sh
nohup ./start.sh &
```