BigAnt5.0Linux部署教程.PDF
linux 安装部署文档
BigAnt 5.0 Linux 部署教程
先安装配置数据库 ,再配置web 服务(创建数据库),最后im 服务部署 (连接
数据库 )
建议步骤:
装 webserver >②安装完成后检查 ip:8000 页面情况>③在线安装 mariadb 数
据库>④windows 电脑上 mysql 工具连接检查数据库安装配置是否正确>⑤
web 页面打开配置数据库>⑥安装 imserver,配置 system.ini 数据库>⑦启动服
务检查 Up 进程端口>⑧客户端登录
配置数据库mariadb
在 root 中(1、更新一下yum ,更新方法:先下载新的CentOS7-Base-163.repo ;
2、cd /etc/yum.repos.drz yum clean all (清除全部缓存yum
makecache (将服务器上的软件包信息 现在本地缓存,以提高 搜索 安装软件的速度 )
1. 开始安装数据库 yum -y install mariadb*
2. 启动 mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
3. 设置密码
4. 执行 mysql_secure_installation 命令
Enter current password for root (enter for none): #按回车
OK, successfully used password, moving on...
linux 安装部署文档
Set root password? [Y/n] #输入 Y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
Remove anonymous users? [Y/n] #输入 Y
Disallow root login remotely? [Y/n] #输入 n
... skipping.
Remove test database and access to it? [Y/n] #输入 Y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reload privilege tables now? [Y/n] #输入 Y
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
linux 安装部署文档
Thanks for using MariaDB!
5. 设置登录权限 执行以下 shell 命令,进入 mysql
mysql -u root -p
6. 执行以下 mysql 命令:
use mysql;
update user set password=password('') where
user='root';
# 改成相应密码
drop database test;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY
'' WITH GRANT OPTION;
# 改成相应