摘要: 1.在安装 Docker 之前,先说一下配置,我这里是Centos7 Linux 内核:官方建议 3.10 以上,3.8以上貌似也可。 注意:本文的命令使用的是 root 用户登录执行,不是 root 的话所有命令前面要加 sudo uname -r [root@localhost ~]# unam 阅读全文
posted @ 2023-10-07 22:38 六边形上单 阅读(137) 评论(0) 推荐(0)
摘要: 1.yum下载Vim yum install vim -y 阅读全文
posted @ 2023-10-07 22:12 六边形上单 阅读(196) 评论(0) 推荐(0)
摘要: 1.安装Centos后默认的yum源如下 mkdir /opt/centos-yum.bak [root@yuxl ~]# ll /etc/yum.repos.d/ total 32 -rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo - 阅读全文
posted @ 2023-10-07 22:08 六边形上单 阅读(159) 评论(0) 推荐(0)
摘要: #### 树莓派温控风扇 1. a 2. b 1. ba 2. bb 4. cc 3. c ``` aaaaaa ``` 阅读全文
posted @ 2023-08-26 16:26 六边形上单 阅读(19) 评论(0) 推荐(0)
摘要: 树莓派开启root登录 sudo passwd root sudo sed -i "s/^#PermitRootLogin.*/PermitRootLogin yes/g" /etc/ssh/sshd_config sudo systemctl restart ssh 阅读全文
posted @ 2023-08-26 16:23 六边形上单 阅读(16) 评论(0) 推荐(0)
摘要: 1.sudo nano /etc/apt/sources.list deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb http://mirrors.tuna.tsinghua.edu.cn 阅读全文
posted @ 2023-08-26 12:17 六边形上单 阅读(53) 评论(0) 推荐(0)
摘要: 原材料准备(在服务端和客户端均执行一次) 下载压缩包 wget https://github.com/fatedier/frp/releases/download/v0.38.0/frp_0.38.0_linux_amd64.tar.gz #centOs wget https://github.co 阅读全文
posted @ 2023-01-05 16:41 六边形上单 阅读(178) 评论(0) 推荐(0)
摘要: 设置root用户密码 sudo passwd root 启动root账户 sudo passwd --unlock root 设置ssh允许登录 sudo sed -i "s/^#PermitRootLogin.*/PermitRootLogin yes/g" /etc/ssh/sshd_confi 阅读全文
posted @ 2023-01-05 13:23 六边形上单 阅读(88) 评论(0) 推荐(0)