gopub自动化发布平台安装
1、软件配置
centos7
mysql5.7.26
gopub1.1.3
2、硬件配置
4核8G aws
rds aws
3、数据库配置
#这个不执行,执行下面一句
--CREATE DATABASE `wordpress` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;--
CREATE DATABASE `wordpress` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
grant all privileges on gopub.* to walle@<ip> identified by '<密码>' with grant option;
flush privileges;
4、gopub安装
cd /opt/
yum install git vim wget
# 源码
# git clone https://github.com/linclin/gopub.git
wget https://github.com/linclin/gopub/releases/download/gopub-1.1.3/gopub-1.1.3.tar.gz
tar -zxvf gopub-1.1.3.tar.gz
vim /opt/gopub/src/conf/app.conf
#数据库配置
mysqluser = ""
mysqlpass = ""
mysqlhost = ""
mysqlport = 3306
mysqldb = ""
cd gopub
#执行数据库初始化
./control init
./control start
systemctl stop iptables
#启动
访问地址:http://IP
用户名:admin
初始密码:123456
5、访问验证