- java -version
- 显示java 版本
- sudo su - root
- 切换身份
- cd /usr/local/openfire
- 进入openfire目录
- cd bin/
- 进入 bin
- vim openfire.sh ——— 修改java路径
- 打开openfire.sh - 配置java路径
- pwd ——— "/System/Library/Frameworks/JavaVM.framework/Home”
- 显示目录
- cd /Library/Java/JavaVirtualMachines/ —— ls -l
- 进入java 目录 - 拷贝路径
- vim /usr/local/openfire/bin/openfire.sh —— 在此配置java版本
- 将拷贝好的路径添加到这里
---------------------------------------------------------------------------------------------------------------
- mysql -u root -p123456
- select user,host from mysql.user
- show grants for [email protected]‘%’;
- | GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY PASSWORD ‘*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9’ |
- show databases;
时间: 2024-11-05 11:57:09