如果您有项目需要开发,可以联系我们
果果开发
CentOS8安装MySQL5.7
CentOS8安装MySQL5.7

不想使用MySQL8,只想使用MySQL5.7,可以按照以下方法安装。 禁用默认的MySQL源 sudo dnf remove @mysql sudo dnf module reset mysql sudo dnf module disab…

1年前

Centos8编译安装PHP8
Centos8编译安装PHP8

更新软件到最新 yum update 下载php源码并解压 wget https://www.php.net/distributions/php-8.0.0.tar.gztar-xvzf php-8.0.0.tar.gzcdphp-8.0.…

2年前

查看remi源安装php扩展的名称
查看remi源安装php扩展的名称

使用remi源安装的php,在安装新的php扩展时,需要知道扩展的名称。 例如:安装Redis,肯定可以猜到是php-redis。如果安装不知道的php扩展了? remi源下的php扩展名称如下: # Name Versiodangr De…

2年前

CentOS Stream 9安装redis
CentOS Stream 9安装redis

安装redis dnf install redis 查看redis版本 redis-server –version Redis server v=6.2.7 sha=00000000:0 malloc=jemalloc-5.1.0 bit…

2年前

CentOS Stream 9安装mysql8
CentOS Stream 9安装mysql8

安装MySQL8 dnf install mysql mysql-server 查看MySQL版本 mysql –version mysql Ver 8.0.30 for Linux on x86_64 (Source distribut…

2年前

CentOS Stream 9安装nginx
CentOS Stream 9安装nginx

直接安装 dnf install nginx 设置nginx开机启动 systemctl enable nginx 关闭nginx日志以及版本号输出 error_log /dev/null; access_log off; server_t…

2年前

CentOS Stream 9安装PHP8.2
CentOS Stream 9安装PHP8.2

安装remi源 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm dnf install https://rpms.remi…

2年前

Configuration: OptionBinding with id “failovermethod” does not exist
Configuration: OptionBinding with id “failovermethod” does not exist

CentOS报以下错误: Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: O…

2年前

Failed to download metadata for repo ‘appstream’
Failed to download metadata for repo ‘appstream’

CentOS更新时报错: CentOS Linux 8 – AppStream 73 B/s | 38 B 00:00 Error: Failed to download metadata for repo ‘appstream’: Can…

2年前

CentOS 8.2修改服务器SSH登录端口
CentOS 8.2修改服务器SSH登录端口

默认的端口为22,可以修改为其它不常见的数字,确保不会被它人攻击。 ssh默认的配置文件为:/etc/ssh/sshd_config,使用vim命令即可编辑。 vim /etc/ssh/sshd_config 找到以下内容,去掉前面的的注释…

2年前