- 选择 ecs 实例选 LAMP Ubuntu + Apache php 7.x
cd /data/wwwroot/default mkdir old mv \* /data/wwwroot/default/old wget http://cdn.w7.cc/download/WeEngine-Laster-Online.zip unzip WeEngine-Laster-Online.zip
浏览器输入 公网 ip/install.php
- dbrootpwd /root/oneinstack/options.conf
记录下来
mysql -u root -p
把上面的密码保存下来,在enterpassword中输入回车,密码输进去是看不见的,所以直接回车
create database wq;
创建wq数据库
show databases;
查看是否创建成功
![](https://ucc.alicdn.com/images/user-upload-01/20200808201817851.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L25pc2h1aWFlZQ==,size_16,color_FFFFFF,t_70)
![](https://ucc.alicdn.com/images/user-upload-01/20200808201837635.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L25pc2h1aWFlZQ==,size_16,color_FFFFFF,t_70)