# root
echo 'Acquire::ForceIPv4 "true;"' > /etc/apt/apt.conf.d/99force-ipv4
[......]
https://ghostscript.com/docs/9.54.0/Devices.htm[......]
https://freefontsfamily.com/
https://fontsgeek.com/
https://www.download-free-fonts.com/[......]
1 安装、启用
# 启动防火墙
systemctl start firewalld
# 加入开机自自动
systemctl enable firewalld
# 停止防火墙
systemctl stop firewalld
2 基本查看
# 查看状态 / 端口
firewall-cmd --state
firewall-cmd --list-all
3 禁用 / 放行
# 添加端口(记得reload)
firewall-cmd --zone=public --[......]
1 机器准备
GCP,GPU至少选Tesla T4、操作系统Ubuntu 20.04,硬盘50GB
2 安装cuda驱动
参考GCP的官方文档:https://cloud.google.com/compute/docs/gpus/install-drivers-gpu
可以使用自动安装脚本(注意提前安装python 3)
下载
curl https://raw.githubusercontent.com/GoogleCloudPlatform/compute-gp[......]