linux
risingsun529
……
展开
-
linux 服务器非root用户挂载阿里云oss,任意用户可读写
本文以挂载 阿里云OSS 北京地域的bluck "TEST-OSS-BLUCK" 到 centos 服务器 "/OSS-BLUCKNAME" 目录为例进行说明。1、安装ossfswget http://gosspublic.alicdn.com/ossfs/ossfs_1.80.6_centos7.0_x86_64.rpmyum install ossfs_1.80.6_centos7.0_x86_64.rpmecho BucketName:yourAccessKeyId:yourAccess原创 2022-02-14 16:07:39 · 960 阅读 · 0 评论 -
centos 7 更新阿里云 yum 源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backupwget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repoyum clean allyum makecachecd /etc/yum.repos.dvim CentOS-Base.repo修改 CentOs-Bas.原创 2021-05-26 22:19:31 · 128 阅读 · 0 评论 -
Centos 7 更新yum源为阿里云
yum install wget -ymv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backupcd /etc/yum.repos.d/wget http://mirrors.aliyun.com/repo/Centos-7.repomv Centos-7.repo CentOS-Base.repoyum makecacheyum -y update原创 2021-04-06 14:55:30 · 98 阅读 · 0 评论