楼外青山绿油油
想的太多,做的太少,中间的落差就是烦恼,要么去做,要么别想。。。
摘要: mysql u root p mysql use mysql; mysql update user set host =’%'where user =’root’; mysql flush privileges; 阅读全文
posted @ 2018-09-23 22:04 楼外青山绿油油 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Adding the MySQL Yum Repository First, add the MySQL Yum repository to your system's repository list. Follow these steps: Go to the download page for 阅读全文
posted @ 2018-09-23 21:46 楼外青山绿油油 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1.备份原有的yum源,以防出错时还可以还原。 2.进入yum.repos.d目录。 3.下载相应的源。(我用的是163yum源) 4.更名。 5.产生新的缓存。 至此源更新完成,可以 yum -y update 测试一下更新的速度。 阅读全文
posted @ 2018-03-12 23:27 楼外青山绿油油 阅读(5106) 评论(0) 推荐(0) 编辑
摘要: 新建的用无法使用sudo命令,出现这样的提示: 原来是新建的用户没在sudoers的管理文件中,那往里添加不就完了嘛,以下是方法: 1.切换到root用户。 2.添加sudoers文件写的权限。 3.编辑sudoers文件并添加相应的内容。 找到 在下面仿写一句 (注:在vim下,输入请按:i键进入 阅读全文
posted @ 2018-03-11 21:32 楼外青山绿油油 阅读(645) 评论(0) 推荐(0) 编辑