1. 程式人生 > 其它 >Ubuntu18.04手動部署禾匠商城v4小程式伺服器端(PHP)

Ubuntu18.04手動部署禾匠商城v4小程式伺服器端(PHP)

前言:

  由於這臺伺服器上跑了幾個程式,不敢用再安裝寶塔去部署,所以手動部署去試試。

一,安裝Mysql:

1.安裝教程:

  https://www.cnblogs.com/opsprobe/p/9126864.html(mysql-client-5.7)

  檢視版本:dpkg -l | grep mysql

ii  mysql-client-5.7                                                 5.7.35-0ubu                                                         ntu0.18.04
.1 amd64 MySQL database client binaries ii mysql-client-core-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database core client bin aries ii mysql
-common 5.8+1.0.4 all MySQL database common files, e .g. /etc/mysql/my.cnf ii mysql-server 5.7
.35-0ubu ntu0.18.04.1 all MySQL database server (metapac kage depending on the latest version) ii mysql-server-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.7 5.7.35-0ubu ntu0.18.04.1 amd64 MySQL database server binaries

2.支援InnoDB:

3.支援utf8mb4:

365個夜晚,我希望做到兩天更一篇部落格。加油,小白!