摘要: mysql密码遗忘和登陆报错问题 mysql登录密码忘记,其实解决办法很简单,只需要在mysql的主配置文件my.cnf里添加一行“跳过授权表”的参数选择即可! 在my.cnf中添加下面一行:[root@test-huanqiu ~]# vim /etc/my.cnf //在[mysqld]区域里添 阅读全文
posted @ 2018-07-31 11:46 EricShang 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 查看 1 2 3 4 临时关闭 1 2 3 永久关闭 1 将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效 阅读全文
posted @ 2018-07-03 10:32 EricShang 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 更新OTRS root@localhost密码: sudo -u otrs /opt/otrs/bin/otrs.Console.pl Admin::User::SetPassword root@localhost 111111 阅读全文
posted @ 2018-06-04 17:48 EricShang 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 一、如何得知共安装了多少个软件包 [plain] view plain copy [root@localhost ~]# rpm -qa | wc -l [plain] view plain copy [plain] view plain copy [plain] view plain copy [ 阅读全文
posted @ 2018-06-01 13:25 EricShang 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 以mysql举例: 首先查询安装包: rpm -qa|grep mysql 查询到的一个结果为:mysql-community-libs-5.7.13-1.el6.x86_64 yum 删除 yum -y remove mysql-community-libs-5.7.13-1.el6.x86_64 阅读全文
posted @ 2018-06-01 13:05 EricShang 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 原文转载自以下链接:https://blog.csdn.net/keepd/article/details/77151006 安装完mysql后会有个临时密码去日志查看,但是查看登录修改密后还是不行 ERROR 1045 (28000): Access denied for user 'root'@ 阅读全文
posted @ 2018-05-31 13:18 EricShang 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 转自以下链接 https://blog.csdn.net/kuluzs/article/details/51924374 【问题】 有时候,只是为了自己测试,不想密码设置得那么复杂,譬如只想设置root的密码为123456。 SET PASSWORD FOR 'root'@'localhost' = 阅读全文
posted @ 2018-05-30 15:25 EricShang 阅读(256) 评论(0) 推荐(0) 编辑
摘要: https://technet.microsoft.com/zh-cn/library/2008.12.linux.aspx 阅读全文
posted @ 2018-05-22 11:06 EricShang 阅读(518) 评论(0) 推荐(0) 编辑
摘要: https://ishm.idv.tw/?p=336 CentOS 7 使用 winbind 加入 AD CentOS 7 使用 winbind 加入 AD 需求:已經熟悉 CentOS 6 的 AD 加入方式,CentOS 7 已將 winbind 改成 sssd,並預設使用 sssd,但還想使用 阅读全文
posted @ 2018-05-22 11:03 EricShang 阅读(3316) 评论(0) 推荐(0) 编辑
摘要: http://www.toxingwang.com/linux-unix/linux-admin/584.html Linux+samba-winbind+AD实现统一认证 2013年04月27日 ⁄ Linux管理 ⁄ 共 3710字 ⁄ Linux+samba-winbind+AD实现统一认证已 阅读全文
posted @ 2018-05-22 11:02 EricShang 阅读(5475) 评论(0) 推荐(0) 编辑