463

Centos8编译安装Beanstalkd

安装编译工具

yum instlal make gcc

下载Beanstalkd源码并编译安装

进入/tmp目录,然后执行下载命令

wget https://github.com/beanstalkd/beanstalkd/archive/v1.12.zip

解压下载的文件

unzip v1.12.zip
1907

腾讯云Centos8更换源

备份官方源

cd /etc/yum.repos.d
mkdir backup
mv ./CentOS-* ./backup/

使用腾讯源

在目录/etc/yum.repos.d下,创建 CentOS-Base.repo 文件

vi /etc/yum.repos.d/CentOS-Base.repo

写入如下内容

1928

Centos8 安装 Nginx+PHP+MySQL+Redis

前言

本文针对之前Centos7的安装方法,在Centos8下安装有些变化,故重新整理一遍新的安装方法。本文实际操作系统为:Centos8.5

安装Nginx

centos8下的nginx版本比较新,直接安装即可

yum install -y nginx

安装PHP

通常安装remi源时会自动安装依赖epel源,也可手动安装

yum install https://mirrors.tuna.tsinghua.edu.cn/epel/epel-release-latest-8.noarch.rpm