![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
Miss冷曦
NO PAIN NO GAIN
展开
-
Linux 安装mysql
使用tar包的安装方式 卸载系统自带的Mariadb [root@hdp265dnsnfs ~]# rpm -qa|grep mariadb mariadb-libs-5.5.44-2.el7.centos.x86_64 [root@hdp265dnsnfs ~]# rpm -e --nodeps mariadb-libs-5.5.44-2.el7.centos.x86_64 删除etc目录下的my.cnf文件,如果有的话 [root@hdp265dnsnfs ~]# rm -f /etc/my.cnf 检转载 2021-08-17 22:45:52 · 103 阅读 · 0 评论 -
Linux环境变量配置
Linux环境变量配置: (1)修改/etc/profile文件:所有用户的shell都有权使用这些环境变量。 (2)修改~/.bashrc文件:针对某一个特定的用户,如果你需要给某个用户权限使用这些环境变量,你只需要修改其个人用户主目录下的.bashrc文件就可以了。 (3)配置登录远程服务器立即source一下环境变量 [hadoop@hadoop102 ~]$ cat /etc/profile >> .bashrc ...原创 2021-08-17 10:32:07 · 98 阅读 · 0 评论