1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0
打开vi /etc/selinux/config, 设置 SELINUX=disabled yum grouplist yum groupinstall "GNOME Desktop" "Graphical Administration Tools" 安装epel库 yum -y install e ...
解决办法1:设置dns 执行以下命令,进入网卡设置编辑页面,最后的enp0s3因环境不同而不尽相同,需要先确定文件名#vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 看看文件中有没有dns设置,常见格式如下,如果没有,可以查找下dns并进行设置DNS1= ...
分类:
系统相关 时间:
2021-04-12 12:03:01
阅读次数:
0
sudo是linux系统管理指令,是允许系统管理员让普通用户执行一些或者全部的root命令的一个工具,如halt、reboot、su等等。 登录到root用户 将用户加入sudoers visudo //或者vi /etc/sudoers 移动光标,到一行root ALL=(ALL) ALL的下一行 ...
分类:
其他好文 时间:
2021-04-10 13:05:39
阅读次数:
0
1、上传项目文件夹至服务器,设置文件夹权限: 2、进入upload文件夹,打开“终端” 登录终端后,初始化依赖: npm i 3、修改nuxt.config.js配置:终端输入 sudo vi ./nuxt.config.js 修改target为static,:wq保存退出 4、生成静态:终端输入 ...
分类:
其他好文 时间:
2021-04-10 12:51:27
阅读次数:
0
1.由于centOS7.7中默认安装了MariaDB,需要先进行卸载 rpm -qa | grep -i mariadb rpm -e --nodeps mariadb-libs-5.5.64-1.el7.x86_64 2.下载MySQL仓库并安装 wget https://repo.mysql.c ...
分类:
数据库 时间:
2021-04-09 13:05:48
阅读次数:
0
ubutnu 20.04 Pycham突然卡住的问题解决办法 找到sogou输入法进程 ps -ef | grep sogou bob 1682 899 0 4月07 ? 00:01:05 /opt/sogoupinyin/files/bin/sogoupinyinService-watchdog ...
分类:
其他好文 时间:
2021-04-09 13:05:36
阅读次数:
0
在线调试地址: Graphviz Online 用法: dot语法 Linux环境下用法: 参考资料: 1. Linux绘图工具之dot 2. 实验: 首先创建一个dot文件,fllow.dot vi fllow.dot digraph G { hello [shape=box]; world [s ...
分类:
其他好文 时间:
2021-04-08 13:10:42
阅读次数:
0
查找 find . -type f -size +10M -print0 | xargs -0 du -h | sort -nr 删除,指定名字的所有文件 find ./xx -name "xx" -type f -print -exec rm -rf {} \; 计数 ls -l|grep "^- ...
分类:
系统相关 时间:
2021-04-07 11:19:58
阅读次数:
0
补充命令: tracepath 网址 -- 路由跟踪 netstat –an -a 所有开放端口号查询 -n ip地址查看 netstat –an | grep 80 查看80端口号是否开启 tree 查看目录的结构关系 find 查找文件位置 可用--type b/d/c/p/l/f 参数指定文件 ...
分类:
其他好文 时间:
2021-04-06 15:02:57
阅读次数:
0