![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
JdiLfc
这个作者很懒,什么都没留下…
展开
-
linux分布式搭建 java hadoop zookeeper mysql hive
1. 修改主机名hostnamectl set-hostname ...立即生效:bash2. 关闭防火墙systemctl stop firewalld3. 配置hosts文件4. 时间同步tzselect(三台)下载ntp: yum install -y ntpmaster: vim /etc/ntp.confserver 127.127.1.0fudge 127.127.1.0 stratum 10:wqmaster: /bin/systemctl restart ntpd.原创 2021-12-10 14:01:10 · 276 阅读 · 0 评论 -
hadoop启动命令 start-all.sh提示Permission denied问题解决
出现这个问题就是权限不够的原因使用sudo chmod -R 777 /usr(我的hadoop在usr里面,这是直接给usr文件夹一个权限)原创 2021-12-04 00:36:20 · 4473 阅读 · 5 评论 -
MySQL 启动报错:initialize specified but the data directory has files in it. Aborting.
刚安装好的MySQL,执行/usr/sbin/mysqld --initialize-insecure --user=mysql时报错,内容如下:2017-02-19T07:52:53.807647Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more det原创 2021-09-08 15:11:37 · 384 阅读 · 0 评论