当前位置:网站首页>Alibaba cloud ECS uses cloudfs4oss to mount OSS
Alibaba cloud ECS uses cloudfs4oss to mount OSS
2022-07-05 03:59:00 【Source village】
cloudfs4oss Can help us to OSS Mount directly to ECS On , It's as easy to access as a directory . Usage method :
1、 Install the configuration environment :
yum install libcurl libcurl-devel openssl-devel fuse fuse-libs fuse-devel libxml2-develoss-cn-qingdao- internal .aliyuncs.com
2、 download cloudfs4oss File and extract ( This can be purchased in alicloud's cloud market ( Free of charge ) There will also be a link to download ), Decompress and then go to cloudfs4oss Catalog :
wget http: //blog.cloudtalkers.com/w ... ar.gz
tar -zxf CloudFS_Centos64_0273.tar.gz
yum install libunwind-devel
cd CloudFS_Centos64
3、 install cloudfs4oss, There are default and custom installations
- The default installation is cloudfs The installation directory of is /usr/local/cloudfs,oss The mount directory of is /mnt/oss, The operation is as follows :./CloudFS_Install.sh
- Custom installation ( I personally suggest that , convenient ), If it is wordpress Program , It can be mounted directly to /home/wwwroot/ Website directory /wp-content/uploads, The operation is as follows :
./CloudFS_Install.sh INSTALL_DIR=/usr/local/cloudfs MOUNT_POINT=/home/wwwroot/ Website directory /wp-content/uploads
What needs to be noted here is : Website directory /wp-content/uploads Medium uploads Directory must be empty , Otherwise it will go wrong !
4、 Mount and configure cloudfs.conf file , Generally in /usr/local/cloudfs/conf Next , The specific configuration is as follows :
According to their own OSS You can configure the situation .
5、 function cloudfs4oss, Input :
service cloudfs start
Then you can go to Wordpress Add files to your multimedia , And then OSS Let's see if there are any files just added , If there is one, it means success .
边栏推荐
- MindFusion. Virtual Keyboard for WPF
- Enterprise level: spire Office for . NET:Platinum|7.7. x
- ABP vNext microservice architecture detailed tutorial - distributed permission framework (Part 2)
- 深度学习——LSTM基础
- Nmap user manual learning records
- [punch in questions] integrated daily 5-question sharing (phase III)
- JWT漏洞复现
- Deep learning - LSTM Foundation
- postman和postman interceptor的安装
- 一文带你了解BI的前世今身与企业数字化转型的关系
猜你喜欢
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
C语言课设:影院售票管理系统
Differences among 10 addressing modes
[wp]bmzclub writeup of several questions
[C language] address book - dynamic and static implementation
Smart pointer shared_ PTR and weak_ Difference of PTR
Pyqt5 displays file names and pictures
On the day 25K joined Tencent, I cried
函数基础学习02
【软件逆向-分析工具】反汇编和反编译工具
随机推荐
An elegant program for Euclid‘s algorithm
How does the applet solve the rendering layer network layer error?
speed or tempo in classical music
Technology sharing swift defense programming
UE4 DMX和grandMA2 onPC 3.1.2.5的操作流程
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
How to use jedis of redis
[untitled]
KVM virtualization
About the recent experience of writing questions
JWT漏洞复现
Clickhouse同步mysql(基于物化引擎)
Plasticscm enterprise crack
ActiveReportsJS 3.1 VS ActiveReportsJS 3.0
已解决(sqlalchemy+pandas.read_sql)AttributeError: ‘Engine‘ object has no attribute ‘execution_options‘
glibc strlen 实现方式分析
[wp][入门]刷弱类型题目
Deep learning - LSTM Foundation
Summary of scene design
线程基础知识