安装Casaos系统后Nas脚本基础设置
文章目录
前言
以安装casaos为中心的ubuntu作为nas小主机设置
本文是在小主机安装好了Ubuntu系统后的设置,建议将Alist 和ttyd直接安装在主机上,这样docker如果故障了,不会影响我们的核心服务,ttyd 方便我们远程查看问题
本文以香橙派Pi3b作为示例
一、修改密码
修改默认密码防止别人登录。
# 香橙派默认登录用户名密码 root/orangepi
sudo passwd root
sudo passwd orangepi
二、安装casaos
curl -fsSL https://get.casaos.io | sudo bash
三、进行docker镜像源测试,替换docker镜像源
- 国内执行
bash <(curl -sSL https://gitee.com/xjxjin/scripts/raw/main/check_docker_registry.sh)
- 国际执行
bash <(curl -sSL https://github.com/xjxjin/scripts/raw/main/check_docker_registry.sh)
四、添加第三方商店
https://play.cuse.eu.org/Cp0204-AppStore-Play.zip
https://casaos-appstore.paodayag.dev/linuxserver.zip
https://casaos-appstore.paodayag.dev/coolstore.zip
https://play.cuse.eu.org/Cp0204-AppStore-Play-arm.zip
https://paodayag.dev/casaos-appstore-edge.zip
https://github.com/mr-manuel/CasaOS-HomeAutomation-AppStore/archive/refs/tags/latest.zip
https://github.com/bigbeartechworld/big-bear-casaos/archive/refs/heads/master.zip
https://github.com/mariosemes/CasaOS-TMCstore/archive/refs/heads/main.zip
https://github.com/arch3rPro/Pentest-Docker/archive/refs/heads/master.zip
更多三方商店参考
五、安装ttyd
- 可以使用docker安装,也可以本地安装,如果采用docker安装,可以在添加了第三方商店之后搜索ttyd,也可以本地安装参照如下方法
本地执行,访问地址是 IP:13594
- 国内执行
bash <(curl -sSL https://gitee.com/xjxjin/scripts/raw/main/install_ttyd.sh)
- 国际执行
bash <(curl -sSL https://github.com/xjxjin/scripts/raw/main/install_ttyd.sh)
六、安装Alist
- 可以使用docker安装,也可以本地安装,如果采用docker安装,可以在添加了第三方商店之后搜索ttyd,也可以本地安装参照如下方法
- 本地安装
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install
七、一键安装家庭影音
参考文章
https://github.com/LuckyPuppy514/automatic-theater
其他文章
提示:这里对文章进行总结:
例如:以上就是今天要讲的内容,本文仅仅简单介绍了pandas的使用,而pandas提供了大量能使我们快速便捷地处理数据的函数和方法。