栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

2021-10-18

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

2021-10-18

WordPress 应用系统

使 用 提 供 的 软 件 包 和 vmware 提 供 的 centos7.2 操 作 系 统 , 完 成 LNMP+WordPress
部署。部署完成后,进行登录,最后提交 WordPress 首页和后 台管理界面。(设置 WordPress
名称为自己的姓名+BLOG,例如张三,则 WordPress 首页显示张三 BLOG,答案的截图需体现这点) 配置YUM源

修改主机名

[root@localhost ~]# hostnamectl set-hostname server1

关闭防火墙

[root@server1 ~]# setenforce 0
[root@server1 ~]# systemctl stop firewalld

配置yum源

[root@server1 ~]# mkdir /opt/centos
[root@server1 ~]# moun /root/CentOS-7-x86_64-DVD-1511.iso /opt/centos/
[root@server1 ~]# mv lnmp/ /opt/
[root@server1 ~]# mount -a

mount: /dev/loop0 is write-protected, mounting read-only 

[root@server1 ~]# rm -rf /etc/yum.repos.d
define(‘DB_NAME’, ‘wordpress’);


define(‘DB_USER’, ‘root’);


define(‘DB_PASSWORD’, ‘123456’);


define(‘DB_HOST’, ‘localhost’);


define(‘DB_CHARSET’, ‘utf8’);

/** 数据库整理类型。如不确定请勿更改 /
define(‘DB_COLLATE’, ‘’);
[root@server1 html]# chmod -R 777 ./

[root@server1 html]# systemctl start nginx php-fpm

[root@server1 html]# curl -L http://192.168.200.20

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/333717.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号