Posts

阿里云OSS+docker Owncloud安装

Dec 20, 2017

Word Count: 270   | Reading Time: 1 Minute  

安装编译所需的库 apt-get install automake autotools-dev g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config 源码编译 git clone https://github.com/aliyun/ossfs.git cd ossfs ./autogen.sh ./configure make sudo make install 挂载 依次执行下面命令: echo my-bucket:my-access-key-id:my-access-key-secret > /etc/passwd-ossfs chmod 640 /etc/passwd-ossfs ossfs my-bucket my-mount-point -ourl=my-oss-endpoint -ouid=your_uid -ogid=your_gid -o allow_other my-bucket 阿里云OSS bu....