Update wp.sh

This commit is contained in:
NewName
2024-08-18 07:45:17 +08:00
parent 792085bc92
commit b66c44d3f4

View File

@@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
# 一键部署WordPress脚本 # 一键部署WordPress脚本
# 项目地址https://github.com/sky22333/shell
# 检查是否已经安装 WordPress # 检查是否已经安装 WordPress
if [ -d "/var/www/html/wordpress" ]; then if [ -d "/var/www/html/wordpress" ]; then
@@ -42,6 +43,7 @@ y
y y
EOF EOF
# 项目地址https://github.com/sky22333/shell
# 创建WordPress数据库和用户 # 创建WordPress数据库和用户
DB_NAME="wordpress" DB_NAME="wordpress"
DB_USER="wpuser" DB_USER="wpuser"