Subsections of Aliyun Related
OSSutil
Ali version of Minio
(https://min.io/)
download ossutil
first, you need to download ossutil
first
curl https://gosspublic.alicdn.com/ossutil/install.sh | sudo bash
curl -o ossutil-v1.7.19-windows-386.zip https://gosspublic.alicdn.com/ossutil/1.7.19/ossutil-v1.7.19-windows-386.zip
config ossutil
./ossutil config
Params | Description | Instruction |
---|---|---|
endpoint | the Endpoint of the region where the Bucket is located | |
accessKeyID | OSS AccessKey | get from user info panel |
accessKeySecret | OSS AccessKeySecret | get from user info panel |
stsToken | token for sts service | could be empty |
and you can also modify /home/<$user>/.ossutilconfig
file directly to change the configuration.
list files
ossutil ls oss://<$PATH>
download file/dir
you can use cp
to download or upload file
ossutil cp -r oss://<$PATH> <$PTHER_PATH>
upload file/dir
ossutil cp -r <$SOURCE_PATH> oss://<$PATH>
ECS DNS
ZJADC (Aliyun Directed Cloud)
Append content in /etc/resolv.conf
options timeout:2 attempts:3 rotate
nameserver 10.255.9.2
nameserver 10.200.12.5
And then you probably need to modify yum.repo.d
as well, check link
YQGCY (Aliyun Directed Cloud)
Append content in /etc/resolv.conf
nameserver 172.27.205.79
And then restart kube-system
.coredns-xxxx
Google DNS
nameserver 8.8.8.8
nameserver 4.4.4.4
nameserver 223.5.5.5
nameserver 223.6.6.6
Restart DNS
vim /etc/NetworkManager/NetworkManager.conf
vim /etc/NetworkManager/NetworkManager.conf
add "dns=none"
under '[main]'
part
systemctl restart NetworkManager
Modify ifcfg-ethX
[Optional]
if you cannot get ipv4 address, you can try to modify ifcfg-ethX
vim /etc/sysconfig/network-scripts/ifcfg-ens33
set ONBOOT=yes
OS Mirrors
Fedora
- Fedora 40 located in
/etc/yum.repos.d/
CentOS
CentOS 7 located in
/etc/yum.repos.d/
CentOS 8 stream located in
/etc/yum.repos.d/
Ubuntu
Ubuntu 18.04 located in
/etc/apt/sources.list
Ubuntu 20.04 located in
/etc/apt/sources.list
Ubuntu 22.04 located in
/etc/apt/sources.list
Debian
Debian Buster located in
/etc/apt/sources.list
Debian Bullseye located in
/etc/apt/sources.list
Anolis
Anolis 3 located in
/etc/yum.repos.d/
Anolis 2 located in
/etc/yum.repos.d/
Refresh Repo
dnf clean all && dnf makecache
yum clean all && yum makecache
apt-get clean all