胡昌意 发布的文章

一 更新yum

yum update

二 下载

cd /home
mkdir www
cd www
wget http://typecho.org/build.tar.gz
tar -zxvf build.tar.gz
chmod 777 -R /home/*

三 安装nginx

rpm -Uvh http://nginx.org/packages/centos/8/x86_64/RPMS/nginx-1.18.0-2.el8.ngx.x86_64.rpm
yum install -y nginx
nginx -v

四 安装php

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install php72w
yum -y install php72w-common php72w-fpm php72w-opcache php72w-gd php72w-mysqlnd php72w-mbstring php72w-pecl-redis php72w-pecl-memcached php72w-devel php72w-embedded php72w-cli php72w-pdo php72w-xml
systemctl enable php-fpm
systemctl restart php-fpm

五 安装数据库

yum install sqlite sqlite-devel -y
sqlite3
.exit

其他 报错解决
Repository epel is listed more than once in the configuration

cd /etc/yum.repos.d/

typecho部署教程.txt