码迷,mamicode.com
首页 >  
搜索关键字:centos grant root authority    ( 79793个结果
解决mysql遇到非root权限无法登录mysql数据库的问题
1.在root权限下登录mysql 2.进入mysql库 mysql>use mysql 3.查看root用户权限 mysql>select User,Host,plugin from user; 4.将root用户的auth_sock改为mysql_native_password mysql>up ...
分类:数据库   时间:2021-04-27 14:42:37    阅读次数:0
keepalived-master-slave
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:其他好文   时间:2021-04-27 14:42:00    阅读次数:0
CentOS中部署jar包时提示:org.quartz.SchedulerException: Couldn't get host name
场景 jar包在本地Windows系统上运行不报错,在CentOS服务器上运行时提示: org.quartz.SchedulerException: Couldn't get host name 注: 博客: https://blog.csdn.net/badao_liumang_qizhi 关注公 ...
分类:编程语言   时间:2021-04-27 14:23:18    阅读次数:0
crontab调度示例
一些crontab调度示例 10 6 * * * root reboot 10 7 * * * python /root/confluence_backup.py */5 * * * * flock -xn /tmp/stargate.lock -c '/usr/local/qcloud/starg ...
分类:其他好文   时间:2021-04-27 14:12:22    阅读次数:0
nginx创建本地服务器和配置代理(解决跨域)
1,下载nginx 2,解压后打开conf/nginx.conf 修改配置 server { listen 8841;#监听端口 server_name localhost;#代理服务地址 location / { #默认访问 root html; index index.html index.ph ...
分类:其他好文   时间:2021-04-26 13:57:20    阅读次数:0
lv创建并配置成nfs服务
环境:centos7 1、准备挂载盘 (创建pv-vg-lv) [root@node3 ~]# pvcreate /dev/sdb Physical volume "/dev/sdb" successfully created. [root@node3 ~]# pvs PV VG Fmt Attr ...
分类:其他好文   时间:2021-04-26 13:49:19    阅读次数:0
Linux命令ntpdate
ntpddate 命令用于使用网络计时协议(NTP)设置日期和时间。还可以用于同步时间,此命令需要具备root管理员权限才可执行。 命令简介 ntpddate 命令用于使用网络计时协议(NTP)设置日期和时间。还可以用于同步时间,此命令需要具备root管理员权限才可执行。 [root@centos7 ...
分类:系统相关   时间:2021-04-26 13:33:52    阅读次数:0
CentOs6 无法正常使用yum命令
安装CentOS 6.8使用yum命令报错 使用四条命令,就可以正常使用yum了 sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf curl -o /etc/yum.repos.d/CentOS-Bas ...
分类:其他好文   时间:2021-04-26 13:13:52    阅读次数:0
centos7国内镜像安装最新版mysql
说明: a.此种方式安装可以利用国内镜像,下载速度快。 b.适合最新版安装 1.获取yum安装地址 [root@bigdata-senior02 mysql]# wget https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community ...
分类:数据库   时间:2021-04-26 13:12:57    阅读次数:0
105. Construct Binary Tree from Preorder and Inorder Traversal
思路: 对于一棵树,可以看成许多小树组成,每棵小树都有自己的root,我们从这里入手。 对于每棵小树我们都需要定位其root,对于preorder,第一个元素就是root,但inorder还需要查找,但如果每次都遍历搜索的话就会消耗很多时间,所以我们先把inorder的元素放入hash_map,元素 ...
分类:其他好文   时间:2021-04-26 13:04:38    阅读次数:0
79793条   上一页 1 ... 40 41 42 43 44 ... 7980 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!