CasaOS is a simple, easy-to-use, elegant open-source home cloud system. This post introduces how to install CasaOS.
Prepare
- Install docker
Install
CasaOS provided a script to support one-command install.
curl -fsSL https://get.casaos.io | bash
It will download CasaOS install files from Github. If your network is slow to access it. Try to update your host file with this.
140.82.113.3 github.com
185.199.108.153 assets-cdn.github.com
151.101.1.194 github.global.ssl.fastly.net
151.101.65.194 github.global.ssl.fastly.net
151.101.129.194 github.global.ssl.fastly.net
151.101.193.194 github.global.ssl.fastly.net
If it's still not working. Try to download the script, and update the download URL with a "GitHub proxy".
CASA_PACKAGES=(
"https://ghproxy.com/https://github.com/IceWhaleTech/CasaOS-Gateway/releases/download/v0.3.6/linux-${TARGET_ARCH}-casaos-gateway-v0.3.6.tar.gz"
"https://ghproxy.com/https://github.com/IceWhaleTech/CasaOS-UserService/releases/download/v0.3.6/linux-${TARGET_ARCH}-casaos-user-service-v0.3.6.tar.gz"
"https://ghproxy.com/https://github.com/IceWhaleTech/CasaOS/releases/download/v0.3.6/linux-${TARGET_ARCH}-casaos-v0.3.6.tar.gz"
"https://ghproxy.com/https://github.com/IceWhaleTech/CasaOS-UI/releases/download/v0.3.6/linux-all-casaos-v0.3.6.tar.gz"
)
Then run the updated script, and wait for the install finish.
Uninstall CasaOS
v0.3.3 or newer
casaos-uninstall
Before v0.3.3
curl -fsSL https://get.icewhale.io/casaos-uninstall.sh | bash