安装环境
Nginx 1.24
MySQL 5.7.44
PHP 5.6
Redis 6.2.7设置>性能调整>设置密码requirepass改成Agame#_2019
数据库密码设置agame#1234
数据库配置,关闭重启
#log-bin=mysql-bin
#binlog_format=mixed
lower_case_table_names=1
上传服务端data.zip到服务器的根目录
解压
cd /
unzip data.zip
给权限
chmod -R 7777 /data
安装java
yum install -y java-1.8.0-openjdk-devel.x86_64
安装apache-pulsar
cd /root
tar -zxvf apache-pulsar-2.10.0-bin.tar.gz
cd /root/apache-pulsar-2.10.0/
bin/pulsar-daemon start standalone
bin/pulsar-admin namespaces create public/a5game_10_999
bin/pulsar-admin topics create persistent://public/a5game_10_999/mq_battle
编译安装libiconv
cd /root
tar -zxvf libiconv-1.16.tar.gz
cd libiconv-1.16
./configure --prefix=/usr/local/libiconv
make && make isntall
echo "/usr/local/libiconv/lib" | sudo tee -a /etc/ld.so.conf.d/libiconv.conf
sudo ldconfig