VPS一台。至少512M内存,硬盘要求不高,但是最好10G以上。本教程基于CENTOS 7
CENTOS 7 下装 Google-drive-ocamlfuse 过程
2、安装opam
yum install -y ocaml ocamldoc ocaml-camlp4-devel wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O - | sh -s /usr/local/bin/ opam init
Do you want OPAM to modify ~/.bash_profile and ~/.ocamlinit? (default is \'no\', use \'f\' to name a file other than ~/.bash_profile) 看到以上提示记得选 Y
4、google-drive-ocamlfuse常用命令
google-drive-ocamlfuse --help
7、挂载Google Drive
mkdir /home/Cloud google-drive-ocamlfuse -label me /home/Cloud
8、添加开机启动
echo 'google-drive-ocamlfuse -label me /home/Cloud' >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local 测试速度 dd if=/dev/zero of=/home/Cloud/1 bs=1024 count=1k