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

一,设置免费的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.sql

ls

cat lllc.sql

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

猜你喜欢

转载自blog.csdn.net/qwer492915298/article/details/88395289
今日推荐