综合案例:hadoop搭建----大数据平台
分布式文件系统(1)Hive数据仓库(2)Hbase分布式数据库
1.启动命令
systemctl start/stop/restart 软件名字(mariadb) -----开启、停止、重启软件
systemctl enable/disable 软件名字 -----软件是否开机启动
systemctl status 软件名字 ----查询软件现在的状态(开启/停止)
systemctl list-unit-files |grep 软件名字 ----查询软件是否开机启动
2.案例
mysql_secure_installation ------初始化数据库
grant all privileges on root.* to '*' @'%' identified by '123456'; -----设置数据库密码
GREAT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; -----开启数据库权限