ffmpeg 安装 我用的是Debian,直接apt安装就行 “` sudo apt update -y && sudo apt upgrade -y apt install ffmpeg “` 更新的时候遇到个源问题,提示 “` N: Repository ‘http://deb.debian.org/debian buster InRelease’ changed its ‘Version’ value from ‘10.8’ to ‘10.10’ E: Repository ‘http://deb.debian.org/debian buster InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’ N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. E: Repository http://deb.debian.org/debian-security buster/updates InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’ N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. E: Repository ‘http://deb.debian.org/debian buster-updates InRelease’ changed its ‘Suite’ value from ‘stable-updates’ to ‘oldstable-updates’ N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. “` 搜了一下`See apt-secure(8) manpage for details.` 直接运行一个命令再更新一下源就行,就是release信息变化了,同意更新即可。 “` sudo apt-get update –allow-releaseinfo-change sudo apt-get upgrade -y “` 查看ffmepg是否成功安装 `ffmpeg` 这样就OK了。 ## 网站程序安装 网站程序我这里选择的是`alltube` Github地址:https://github.com/Rudloff/alltube 我向来是宝塔的忠实用户,没有其他原因就是懒,所以还是腾讯云+宝塔国际版(aapanel)。 安装NGINX和PHP即可 环境准备好了直接解析好域名指向服务器,然后再下载alltube压缩包到网站程序。 “` wget https://github.com/Rudloff/alltube/releases/download/3.0.3/alltube-3.0.3.zip -O /www/wwwroot/你的网站目录/alltube.zip cd /www/wwwroot/你的网站目录 unzip alltube.zip chown -R www:www /www/wwwroot/你的网站目录 chmod -R 755 /www/wwwroot/你的网站目录 #对网站目录授权 “` 然后在宝塔面板里网站目录改成`alltube`即可 伪静态配置 “` location ~ /. { deny all; }