当前位置:网站首页>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 .
边栏推荐
- 已解决(sqlalchemy+pandas.read_sql)AttributeError: ‘Engine‘ object has no attribute ‘execution_options‘
- C语言课设:影院售票管理系统
- About authentication services (front and back, login, registration and exit, permission management)
- 【web审计-源码泄露】获取源码方法,利用工具
- lds链接的 顺序问题
- 函数基础学习02
- Excuse me, my request is a condition update, but it is blocked in the buffer. In this case, can I only flush the cache every time?
- Subversive cognition: what does SRE do?
- Soul 3: what is interface testing, how to play interface testing, and how to play interface automation testing?
- Pyqt pyside custom telescopic menu bar sharing (including tutorial)
猜你喜欢

v-if VS v-show 2.0

【无标题】

It took two nights to get Wu Enda's machine learning course certificate from Stanford University

An elegant program for Euclid‘s algorithm

Clickhouse materialized view
![[C language] address book - dynamic and static implementation](/img/eb/07e7a32a172e5ae41457cf8a49c130.jpg)
[C language] address book - dynamic and static implementation

Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?

This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises

KVM virtualization
![[数组]566. 重塑矩阵-简单](/img/3c/593156f5bde67bd56828106d7bed3c.png)
[数组]566. 重塑矩阵-简单
随机推荐
【web審計-源碼泄露】獲取源碼方法,利用工具
[wp][入门]刷弱类型题目
在线SQL转Excel(xls/xlsx)工具
Deflocculant aminoiodotide eye drops
IronXL for .NET 2022.6
一文带你了解BI的前世今身与企业数字化转型的关系
NEW:Devart dotConnect ADO.NET
Multimedia query
Clickhouse同步mysql(基于物化引擎)
Smart pointer shared_ PTR and weak_ Difference of PTR
线程基础知识
Subversive cognition: what does SRE do?
ABP vNext microservice architecture detailed tutorial - distributed permission framework (Part 1)
How to make the listbox scroll automatically when adding a new item- How can I have a ListBox auto-scroll when a new item is added?
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
@The problem of cross database query invalidation caused by transactional annotation
De debugging (set the main thread as hidden debugging to destroy the debugging Channel & debugger detection)
About the recent experience of writing questions
[PHP features - variable coverage] improper use, improper configuration and code logic vulnerability of the function
[wp]bmzclub几道题的writeup