搭建WordPress博客

环境: os: lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.4.1708 (Core) Release: 7.4.1708 Codename: Core 查看是否安装有php yum list |grep php 查看php版本 php -v 卸载旧版php yum remove php yum remove php* 安装php7 安装相关rpm rpm -Uvh http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-9.noarch.rpm rpm -Uvh http://repo.webtatic.com/yum/el7/x86_64/RPMS/webtatic-release-7-3.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/7/os/x86_64/Packages/centos-release-7-4.1708.el7.centos.x86_64.rpm (RPM 可以到 https://pkgs.org/ 查找) 我安装的模块: yum install php70w yum… Continue reading 搭建WordPress博客

Published
Categorized as web