Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 712 Bytes

4.59-安装zrlog.md

File metadata and controls

28 lines (17 loc) · 712 Bytes

zrlog 是一款开源的JAVA应用,博客系统 官网: https://www.zrlog.com/

下载:

wget 'http://dl.zrlog.com/release/zrlog-2.1.0-3617b2e-release.war?attname=ROOT.war&ref=index'
mv zrlog-2.1.0-3617b2e-release.war\?attname\=ROOT.war\&ref\=index  zrlog-2.1.0.war

安装:

mv zrlog-2.1.0.war  /usr/local/tomcat/webapps/
cd !$
mv ROOT ROOT.bak
mv zrlog-2.1.0 ROOT

浏览器访问:

添加防火墙规则: firewall-cmd --add-port=8080/tcp --permanent
		firewall-cmd --reload

http://ip:8080/ 开始安装

数据库操作:

mysql -uroot -paming-linux -e "create database zrlog"
mysql -uroot -paming-linux -e "grant all on zrlog.* to 'zrlog'@'127.0.0.1' identified by 'zrlog-pass'"