Subsections of ☁️CSP Related
Aliyun
Subsections of Aliyun
OSSutil
download ossutil
first, you need to download ossutil first
curl https://gosspublic.alicdn.com/ossutil/install.sh | sudo bashcurl -o ossutil-v1.7.19-windows-386.zip https://gosspublic.alicdn.com/ossutil/1.7.19/ossutil-v1.7.19-windows-386.zipconfig 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 |
Info
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.5And 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.79And 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.6Restart DNS
vim /etc/NetworkManager/NetworkManager.confvim /etc/NetworkManager/NetworkManager.confsudo systemctl is-active systemd-resolved
sudo resolvectl flush-caches
# or sudo systemd-resolve --flush-cachesadd "dns=none" under '[main]' part
systemctl restart NetworkManagerModify ifcfg-ethX [Optional]
if you cannot get ipv4 address, you can try to modify ifcfg-ethX
vim /etc/sysconfig/network-scripts/ifcfg-ens33set 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.listUbuntu 20.04 located in
/etc/apt/sources.listUbuntu 22.04 located in
/etc/apt/sources.list
Debian
Debian Buster located in
/etc/apt/sources.listDebian Bullseye located in
/etc/apt/sources.list
Anolis
Anolis 3 located in
/etc/yum.repos.d/Anolis 2 located in
/etc/yum.repos.d/Alinyun Mirror
Refresh Repo
dnf clean all && dnf makecacheyum clean all && yum makecacheapt-get clean all