
ubuntu
迷路的羔羊~
我还是从前那个胖子...
展开
-
ubuntu使用阿里云镜像报证书错误
错误如下Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification.解决方法https可以改成http的,但是这样的话可能有些源用不了,需要手动把错误的源移除,治标不治本。校对系统时间,时间或时区不对的话,ssl肯定失败;设置时区可以安装原创 2022-03-01 15:43:05 · 1591 阅读 · 0 评论 -
ubuntu mysql8.0实现主从复制
安装环境:ubuntu20.04+mysql8.0.22(mysql8.0数据库安装)服务器:主机: 192.168.247.129从机: 192.168.247.130一. 主机1.1 修改配置文件[mysqld]# 主从配置-主机(所有配置必须写在[mysqld]下)server-id = 0001 # 服务器id,唯一log_bin = /var/log/mysql/mysql-bin.log # 二进制原创 2020-11-03 17:46:17 · 769 阅读 · 0 评论 -
安装ubuntu系统过程中,系统新建的用户权限
模拟新建一个系统管理员用户用户名为xxixs,执行以下命令:usermod -a -G adm xxixsusermod -a -G cdrom xxixsusermod -a -G sudo xxixsusermod -a -G dip xxixsusermod -a -G plugdev xxixsusermod -a -G lxd xxixs原创 2020-09-22 14:39:53 · 233 阅读 · 0 评论 -
解决linux下sudo更改文件权限报错xxxis not in the sudoers file. This incident will be reported.
这是因为用户没有sudo权限导致的,将用户加入sudo用户组在管理员或者root下执行以下命令:# xxxis 是你的用户名# sudo 是用户组sudo usermod -a -G sudo xxxis原创 2020-09-22 14:31:38 · 363 阅读 · 0 评论