rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum remove php-common -y
yum install -y php72w php72w-opcache php72w-xml php72w-mcrypt php72w-gd php72w-devel php72w-mysql php72w-intl php72w-mbstring
启动httpd
systemctl start httpd
tar xf wordpress-5.2.3-zh_CN.tar.gz
cd /var/www/html/
mv /root/wordpress ./wordpress
创建数据库的支持
create database wordpress;
create user wpuser@localhost identified by 'lxq';
grant all privileges on wordpress.* to wpuser@localhost identified by 'lxq';
安装过程:
unzip phpMyAdmin-4.9.0.1-all-languages.zip
mv phpMyAdmin-4.9.0.1-all-languages ./phpadmin
mv phpadmin
mv phpadmin/ /var/www/html/
访问http://192.168.159.131/phpadmin/
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。