本文迁移自旧站,其内容可能较为陈旧,请注意更新
0x00 准备工作:更换APT源
1 | sudo mv /etc/apt/sources.list /etc/apt/sources.list.back #备份 |
清华源Ubuntu镜像
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
1 | # Nano Ctrl+O 保存 Ctrl+X 退出 |
0x01 安装Apache2
1 | sudo apt -y install apache2 |
打开便可看到Apahce默认页
Apache2默认页
0x02 安装php7 & MYSQL
1 | sudo apt -y install php7.4 php-mysql libapache2-mod-php mysql-server |
1 | #SQL命令 |
0x03 部署Wordpress
1 | sudo chmod -c 777 /var/www/html && sudo chown -R www-data:www-data /var/www/html |
I'm so cute. Please give me money.
- Post link: https://lemoe.cn/2020/06/wordpress-step-by-step-guide-installation/
- Copyright Notice: All articles in this blog are licensed under unless otherwise stated.