nslookup ai-666679.cos.ap-shanghai.myqcloud.com  查内网是否被解析

查看ip  内网ifconfig和ip addr show    外部ip   curl ifconfig.me

查看硬盘容量   df -h       查看指定目录下面各个目录的大小 du -h --max-depth=1 /root/miniforge3


cos设置内网访问 直接 私有私有写 然后Policy权限设置  允许 内网ip


创建环境 conda create -n guiji python=3.9

查看python环境 conda info --envs  

查看版本 python --version

切换环境 conda activate guiji

cuda安装 pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113

干完后装 

apt update

apt install libgl1-mesa-glx

pip install flask

apt install libsndfile1

pip install einops

apt install ffmpeg


安装frp 

wget https://github.com/fatedier/frp/releases/download/v0.62.1/frp_0.62.1_linux_amd64.tar.gz

tar -zxvf frp_0.62.1_linux_amd64.tar.gz

cd frp_0.62.1_linux_amd64

启动frp         nohup ./frpc -c frpc.toml > frpc.log 2>&1 &

Ubuntu改密码  passwd


安装 skopeo  利用 skopeo copy docker://guiji2025/fish-speech-ziming dir:./guiji  下载镜像

# 1. 导入源

. /etc/os-release

echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" \

| tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list


# 2. 导入公钥

curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key \

| apt-key add -


# 3. 更新 & 安装

apt update

apt install -y skopeo