赞
踩
1、设置共享
2、获取当前设备本地的ip 网段,以及监听端口
3、 在linux服务器上设置
设置临时代理(仅在当前shell会话生效) # export http_proxy=http://ip:port # export https_proxy=http://ip:port # export http_proxy="http://ip:port" 如果不行试试加上引号 # export https_proxy="http://ip:port" 设置永久代理 curl https://www.google.com.hk 查看是否成功 curl ipinfo.io 查看端口 # vi /etc/profile # export http_proxy=http://ip:port # export https_proxy=http://ip:port # source /etc/profile 取消代理 # unset http_proxy # unset https_proxy
fuser /dev/sdb2
挂载异常
https://zhuanlan.zhihu.com/p/618218125
docker image prune -a
https://wiki.casaos.io/zh/guides/move-docker-images-and-volumes-to-a-diffferent-storage
https://strikefreedom.top/archives/migrate-docker-installation-directory
https://zhuanlan.zhihu.com/p/320119113
安装上述教程全是报错
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
此方法未试
正确方法如下
$ docker info #查看根目录
Docker Root Dir: /data/docker
修改配置文件/etc/docker/daemon.json 没有该文件则新建 注:此时句尾不需要“,”
{
...
"data-root": "/data/docker/" ,
...
}
https://www.home-assistant.io/installation/linux
docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-e TZ=MY_TIME_ZONE \
-v /PATH_TO_YOUR_CONFIG:/config \
--network=host \
ghcr.io/home-assistant/home-assistant:stable
https://blog.csdn.net/Pro_jhf/article/details/130921380?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-3-130921380-blog-106344178.235%5Ev38%5Epc_relevant_anti_vip_base&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-3-130921380-blog-106344178.235%5Ev38%5Epc_relevant_anti_vip_base&utm_relevant_index=4
https://doc.callmematthi.eu/rsync_errors.html
docker create
–name=filebrowser
-e PUID=0
-e PGID=0
-p 7575:7575
-e WEB_PORT=7575
-e FB_BASEURL=/filebrowser/
-e UMASK_SET=022
-v /sdlib/docker/filebrowser/config:/config
-v /sdlib/docker/downloads:/myfiles
–restart=always
80x86/filebrowser:2.9.4-amd64
docker run -d
–name homeassistant
–privileged
–restart=unless-stopped
-e TZ=MY_TIME_ZONE
-v /sdlib/homeassistant:/config
–network=host
ghcr.io/home-assistant/home-assistant
/media/devmon/sda1-usb-USB_SanDisk_3.2G
https://blog.csdn.net/weixin_55250512/article/details/128183709?utm_medium=distribute.pc_relevant.none-task-blog-2defaultbaidujs_baidulandingword~default-0-128183709-blog-121877029.235v38pc_relevant_anti_vip_base&spm=1001.2101.3001.4242.1&utm_relevant_index=3
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。