当前位置: 代码迷 >> 综合 >> Openshift 设置JBoss Web Server 3.1 Apache Tomcat 8 + MySQL (with https)
  详细解决方案

Openshift 设置JBoss Web Server 3.1 Apache Tomcat 8 + MySQL (with https)

热度:1   发布时间:2023-12-14 14:51:41.0

一,设置免费的java空间


二,过程设置
1,创建命名空间kang

2,创建空间项目
项目代码的连接地址:

https://github.com/tomek-servlets/db-servlet-connection-pool

A new persistent JWS application for Apache Tomcat 8 (using MySQL) has been created in your project. The username/password for administering your JWS is GPOjGLI2/GCti4WBL. For accessing the MySQL database "root" use the credentials <div class="blockcode"><blockquote>user1L8/GBnU4cEo

. Please be sure to create the secret named "jws-app-secret" containing the server.crt file used for serving secure content.

3,打开空间制作秘钥:jws-app-secret

 

 

 

4,创建数据库

cd /
ls
cd tmp
mkdir data
cd data
curl https://raw.githubusercontent.com/tomek-servlets/db-servlet-connection-pool/master/SQL/lllc.sql --output lllc.sqllscat lllc.sql

//账号密码之前获取user1L8/GBnU4cEo
mysql -u user1L8 -p root
//执行数据库
source lllc.sql

 

  相关解决方案