### 安装emby ```abap wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb ``` ```abap dpkg -i emby-server-deb_4.6.7.0_amd64.deb ``` xxx.xxx.xxx.xxx:8096浏览器中打开 ### 安装rclone ```abap curl https://rclone.org/install.sh | sudo bash ``` ```abap rclone config ```  - 挂载云盘 ```abap mkdir -p /home/gdrive /usr/bin/rclone mount emby: /home/gdrive \ --umask 0000 \ --default-permissions \ --allow-non-empty \ --allow-other \ --buffer-size 32M \ --dir-cache-time 12h \ --vfs-read-chunk-size 64M \ --vfs-read-chunk-size-limit 1G & ``` - 查看挂载 ```abap df -h ``` - 自动挂载 ```abap cat > /etc/systemd/system/rclone.service < Loading... ### 安装emby ```abap wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb ``` ```abap dpkg -i emby-server-deb_4.6.7.0_amd64.deb ``` xxx.xxx.xxx.xxx:8096浏览器中打开 ### 安装rclone ```abap curl https://rclone.org/install.sh | sudo bash ``` ```abap rclone config ```  - 挂载云盘 ```abap mkdir -p /home/gdrive /usr/bin/rclone mount emby: /home/gdrive \ --umask 0000 \ --default-permissions \ --allow-non-empty \ --allow-other \ --buffer-size 32M \ --dir-cache-time 12h \ --vfs-read-chunk-size 64M \ --vfs-read-chunk-size-limit 1G & ``` - 查看挂载 ```abap df -h ``` - 自动挂载 ```abap cat > /etc/systemd/system/rclone.service <<EOF [Unit] Description=Rclone AssertPathIsDirectory=LocalFolder After=network-online.target [Service] Type=simple ExecStart=/usr/bin/rclone mount emby: /home/gdrive \ --umask 0000 \ --default-permissions \ --allow-non-empty \ --allow-other \ --buffer-size 32M \ --dir-cache-time 12h \ --vfs-read-chunk-size 64M \ --vfs-read-chunk-size-limit 1G ExecStop=/bin/fusermount -u LocalFolder Restart=on-abort User=root [Install] WantedBy=default.target EOF ``` - 设置启动 ```abap systemctl start rclone ``` - 开机启动 ```abap systemctl enable rclone ``` - 安装BBR ```abap wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh ``` - 虚拟内存 ```abap wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh ``` ◈ 最后修改:2023 年 05 月 12 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏