分类标签归档:Ubuntu系统

[ ubuntu开启自启动 ]


在终端输入:

gnome-session-properties

配置信息(打开总段, 进入文件夹, 启动python文件)

gnome-terminal -- bash -c "cd ~/mtr-va-smart-watchdog-htd; python3 smart_watch_dog.py; exec bash"

gnome-terminal -- bash -c "cd ~/mtr-va-smart-watchdog-htd; python3 web_socket_server.py; exec bash"

gnome-terminal -- bash -c "cd ~/mtr-va

< Read more >

[ 解决Ubuntu20.04安装Docker时,设置仓库失败问题 ]


使用Ubuntu首次安装Docker时,需要使用以下指令设置Docker的稳定版仓库,以便之后可以通过仓库安装和更新Docker

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

但是在设置过程中遇到了以下错误:

Err:5 https://download.docker.com/linux/ubuntu focal Release                          
  404  No

< Read more >