You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shell zip
Command line program zip available apt install zip
PDF thumbsyes
Command line program convert available apt install imagemagick
Image thumbsyes
PHP GD extension with JPEG support available
apt install php-gd
service apache2 restart
Private Cache directory
Web server has write access
Public Cache directory
Web server has write access
一、VPS购买
阿里云、腾讯云、华为云、百度云、七牛云、UCLOUD、AWS、Azure、VULTR
二、SS服务器搭建
yum下载
apt-get install yum
执行安装shadowsocks
wget –no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
获取 shadowsocks.sh 读取权限
chmod +x shadowsocks.sh
设置密码、端口、加密方式
./shadowsocks.sh 2>&1 | tee shadowsocks.log
任意键安装执行,显示IP、PORT、PASSWORD、Encryption Method
三、SS客户端使用
Windows客户端
输入IP地址、端口、密码、选择对应的加密方式,右键启动,选择PAC模式即可
Android客户端
四、BBR加速上网
安装 BBR
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
获取读写权限
chmod +x bbr.sh
启动BBR安装
./bbr.sh
任意键安装执行,重新启动VPS
输入
lsmod | grep bbr
,显示tcp_bbr
则安装成功五、aria2+AriaNg搭建离线下载
Aria2安装
Aria2配置
aria2c --enable-rpc --rpc-listen-all --rpc-allow-origin-all --rpc-secret=输入密码 -c --dir /root/downloads -D
搭建Apache环境
sudo apt-get install apache2
AriaNg下载安装解压
系统设置更改
浏览器访问VPS IP地址,修改AriaNG_RPC,IP、端口、密钥(aria2c所设置的密码),修改完成,Aria2状态显示已连接
六、youtube-dl+ffmpeg视频下载
youtube-dl安装
验证
下载
方法一
选择具有视频和音频的单个文件所代表的最佳质量格式,进行下载:
youtube-dl -f best https://domain/path
方法二:视频、音频分开下载
查看要下载的视频/音频存在哪些格式:
youtube-dl -F https://domain/path
选择某一视频/音频格式,确认编号后进行下载:
youtube-dl -f 编号 https://domain/path
结合ffmpeg可将两种格式的视频和音频合并为一个文件:
字幕下载
youtube-dl --write-sub https://domain/path
ffmpeg安装
方法一
apt install ffmpeg
方法二
七、h5ai在线播放
Apache+php环境搭建
安装 h5ai
验证
浏览器访问:
http://IP_Address/_h5ai/public/index.php
所需环境安装
Shell zip
Command line program zip available
apt install zip
PDF thumbsyes
Command line program convert available
apt install imagemagick
Image thumbsyes
PHP GD extension with JPEG support available
Private Cache directory
Web server has write access
Public Cache directory
Web server has write access
h5ai配置
默认主页:http://IP_Address/_h5ai/public/index.php
修改配置文件:
/etc/apache2/mods-available/dir.conf
,添加路径/_h5ai/public/index.php
,重启Apache服务器sudo service apache2 restart
The text was updated successfully, but these errors were encountered: