JDK1.8安装yum -y install java-1.8.0-openjdk*x86_64Mysql5.7 安装
安装yum -y install http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm && yum -y install mysql-community-server && systemctl start mysqld && grep ‘temporary password’ /var/log/mysqld.log修改密码set global validate_password_policy=LOW;
set global validate_password_length=6;
ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘**‘;
flush privileges;
CREATE DATABASE wgcloud
CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON . TO ‘wgcloud’@’%’ IDENTIFIED BY ‘*****’ WITH GRANT OPTION;
flush privileges;
防火墙firewall-cmd –list-all
firewall-cmd –permanent –add-port=3306/tcp
service firewalld restartmkdir -p /export/servers && cd /export/servers
wget https://wgstart.com/download/wgcloud-server-v2.0.tar.gz
tar xf wgcloud-server-v2.0.tar.gz修改配置vim conf/application.ymlserver:
port: 9999
servlet:
session:
timeout: 30m
context-path: /wgcloud
logging:
path: ./log
#数据库 相关设置
spring:
application:
name: wgcloud-server
datasource:
driver-class-name: com.mysql.开发云主机域名jdbc.Driver
url: jdbc:mysql://localhost:3306/wgcloud?characterEncoding=utf-8&characterSetResults=utf8&autoReconnect=true&useSSL=false
username: root
password: ***
#hikari连接池的参数 相关设置
hikari:
validationTimeout: 3000
connectionTimeout: 60000
idleTimeout: 60000
minimumIdle: 10
maximumPoolSize: 10
maxLifeTime: 60000
connectionTestQuery: select 1
mvc:
static-path-pattern: /static/
thymeleaf:
cache: false
mybatis:
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml#自定义配置参数
base:
#登陆账号admin的密码
admindPwd: 111111启动:sh start.sh登录:
启动后通过http://192.168.1.1:9999/wgcloud访问
默认登陆账号密码:admin/111111JDK1.8安装yum -y install java-1.8.0-openjdk*x86_64wgcloud-agent安装mkdir /export/servers
wget https://wgstart.com/download/wgcloud-agent-v2.0.tar.gz
tar xf wgcloud-agent-v2.0.tar.gz修改配置vim conf/application.yml
server:
port: 9998
servlet:
context-path: /wgcloud-agent
spring:
application:
name: wgcloud-agent
logging:
path: ./log#自定义配置参数
base:
#wgcloud-server端访问地址
serverUrl: http://127.0.0.1:9999
#本机ip,不要用localhost或127.0.0.1
bindIp: 192.168.1.2
#监控本机进程id,可以为空
appId: 9870启动:sh start.sh
这篇文章主要讲解了“Linux怎么建立静态链接库.lib文件”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“Linux怎么建立静态链接库.lib文件”吧! 主要有两步: 1.编译源码 2.制作库 ====…
免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。