微软onedrive 5T,看起来不错,debian8 挂载

wget https://www.moerats.com/usr/shell/rclone_debian.sh && bash rclone_debian.sh;
rclone config;
mkdir /root/od; rclone mount od:/ /root/od --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 &
wget https://www.moerats.com/usr/shell/rcloned && nano rcloned;
mv rcloned /etc/init.d/rcloned;chmod +x /etc/init.d/rcloned;
update-rc.d -f rcloned defaults;bash /etc/init.d/rcloned start;

如果服务启动失败,修改脚本删除sudo

nano /etc/init.d/rcloned

来自 https://www.moerats.com/archives/491/

折腾了半天,发现docker太重了,暂时不适合用

curl -fsSL get.docker.com -o get-docker.sh | bash; 
docker search centos, pull, images, 
docker run -d -it -p 8888:8888  centos
ps, start/stop/restart, docker commit -m "bt" -a "swds" 897937ede755  swds/centos:bt

在输出headers之前设置cookie

setcookie("xx", $_POST['xx'], time()+31536000); //

读取cookie

if (isset($_COOKIE["xx"])) { $xx= $_COOKIE["xx"];} else { $xx='';}