rclone

Install rclone on CentOS 6.10

rclone command to serve video from dropbox

rclone mount web:web /www/www/html/ --daemon --allow-other --poll-interval 10s --tpslimit 12 --tpslimit-burst 12 --dir-cache-time 5000h --vfs-cache-mode full --vfs-cache-max-age 150h --vfs-cache-max-size 300G --cache-dir /www/wwwroot/cache --transfers 64 --log-file /var/log/rclone.log --dropbox-batch-mode async --dropbox-batch-size 1000 --dropbox-batch-timeout 10s --checkers 64 --checksum -vv

rclone to serve files using built in web server

rclone serve http --template templatefile web:web --dir-cache-time 5000h --vfs-cache-mode full --vfs-cache-max-age 150h --vfs-cache-max-size 600G --cache-dir /www/wwwroot/cache --log-file /www/wwwroot/rclone.log --no-seek --tpslimit 12 --tpslimit-burst 12

Run on port 8082

rclone serve http box:web --template templatefile --dir-cache-time 5000h --vfs-cache-mode full --vfs-cache-max-age 50h --vfs-cache-max-size 800G --cache-dir /www/wwwroot/cache --log-file /www/wwwroot/web.log --vfs-read-ahead 1G --transfers 48 --checkers 32 --tpslimit 12 --tpslimit-burst 12 --no-seek --read-only --disable-http2 --addr :8082
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *