包含标签 vps 的文章

rclone挂载网盘到vps

https://rclone.org/onedrive/ 1. 在有图形界面的机器上面授权 下载rclone https://rclone.org/downloads/ //授权 rclone authorize "onedrive" 2. 在vps上面安装rclone curl https://rclone.org/install.sh | sudo bash 2.1 设置 rclone config //查看目录 rclone lsd drivename: 3. 挂载到vps的目录上 记得先安装fuse apt install fuse rclone mount DriveName:Folder LocalFolder --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 --daemon rclone mount od:vps /root/onedrive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 --daemon df -h 查看挂载的网盘 config root@vultr:~/rclone# rclone config 2019/07/31 15:52:12 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n name> od(自己随意起的名字) Type of storage to configure.……

阅读全文

搭建speedtest

安装nginx和php sudo apt install nginx php-fpm php --version #测试是否安装成功 在目录下下载speedtest speedtest地址 https://github.com/adolfintel/speedtest cd /var/www/ git clone https://github.com/adolfintel/speedtest 配置nginx的设置,这里我没有动nginx.conf , 而是修改的/etc/nginx/sites-enabled/default 文件 server { listen 80 default_server; listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: https://bugs.debian.org/773332 # # Read up on ssl_ciphers to ensure a secure configuration. # See: https://bugs.debian.org/765782 # # Self signed certs generated by the ssl-cert package # Don't use them in a production server!……

阅读全文