logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

MySQL 设置root密码报错:mysqladmin: connect to server at ‘localhost‘ failed _

[root@linux116 my.cnf.d]# mysqladmin -u root passwordmysqladmin: connect to server at 'localhost' failederror: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'Check

#mysql
使用rsync同步时出现 (in rsync_opt)) failed: Permission denied (13)

检查了服务器的同步的目录权限都没有问题,网上找了说是开启了SELinux 的enforce模式,于事[root@test01 etc]# getenforceEnforcing果然是enforce模式,然后[root@test01 etc]# setenforce 0关闭enforce模式[root@test01 etc]# getenforcePermissive...

#服务器#运维
linux使用:sudo使用:ALL=(ALL)的详细解释

用户有root ,以及普通用户,但是普通用户想要执行高级权限(root权限)呢??sudo就是为想使用root权限的普通用户设计的,可以让普通用户具有临时使用 root 权限的权利。我们需要一张表记录,可以执行root权限的普通用户的名单,这个名单就是记录在 /etc/sudoers使用root 用户编辑/etc/sudoers,给普通用户授权。加入如下的内容,保存。zhangsan ALL=(A

#linux
application,properties中文乱码

网上说的解决方案设置这个

#spring boot
Python 计算特征值特征向量

importnumpy as npimport torch as torch# 0 1 0 1 1# 1 0 1 0 0# 0 1 0 0 1# 1 0 0 0 1# 1 0 1 1 0x=np.array([[0 ,1 ,0 ,1, 1],[1 ,0, 1, 0, 0],[0, 1, 0, 0, 1],[1, 0, 0, 0, 1],[1, 0, 1, 1, 0]])# a = torch.te

#线性代数
解决VMware虚拟机ip地址127.0.0.1 无法上网问题,重启后仍然无法上网

今天早上就ping不同百度了。用 ifconfig测试,显示127.0.0.1解决办法: 输入 sudo dhclient -v命令再次查看ifconfig 看到已经有的ip地址,在火狐查看百度已经可以访问了...

#tcp/ip#网络#linux
到底了