测试环境搭建整套大数据系统(二:安装jdk,mysql)

一:安装JDK

参考

https://blog.youkuaiyun.com/weixin_43446246/article/details/123328558

二:安装mysql

1.因为我们安装cdh6.3.2。cdh支持的是5.6和5.7版本的mysql。
2. 步骤

wget https://downloads.mysql.com/archives/get/p/23/file/mysql-server_5.7.36-1ubuntu18.04_amd64.deb-bundle.tar
tar xvf ./mysql-server_5.7.36-1ubuntu18.04_amd64.deb-bundle.tar
sudo apt-get install ./libmysql*
sudo apt-get install libtinfo5
sudo apt-get install ./mysql-community-client_5.7.36-1ubuntu18.04_amd64.deb
sudo apt-get install ./mysql-client_5.7.36-1ubuntu18.04_amd64.deb
sudo apt-get install ./mysql-community-server_5.7.36-1ubuntu18.04_amd64.deb
sudo apt-get install ./mysql-server_5.7.36-1ubuntu18.04_amd64.deb 
  1. 检查mysql状态
systemctl status mysql.service

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值