Skip to content

lklbjn/Emby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VPS+EMBY+GD=Netflix

1.安装EMBY

wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.2.0/emby-server-deb_4.4.2.0_amd64.deb
dpkg -i emby-server-deb_4.4.2.0_amd64.deb

登录xxx.xxx.xxx.xxx:8096

如果无法打开网址,请将8096端口开放

Ubuntu系统可用以下代码开发端口

iptables -F

2.0安装rclone

curl https://rclone.org/install.sh | sudo bash

2.1 配置rclone

rclone config

3.0挂载GD

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 &

3.1查看挂载

df -h

3.2自动挂载

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

4.设置开机自启

systemctl start rclone
systemctl enable rclone
5.安装BBRPLUS加速

wget -N --no-check-certificate "https://raw.githubusercontent.com/lklbjn/Emby/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

6.设置虚拟内存

wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh

原文地址:https://github.com/bigdongdongCLUB/welcome/issues/6

About

VPS搭建家庭影院系统+BBRPULS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published