-
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…
-
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…
-
CentOS Stream 9安装nginx
直接安装 dnf install nginx 设置nginx开机启动 systemctl enable nginx 关闭nginx日志以及版本号输出 error_log /dev/null; access_log off; server_t…
-
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…
-
Configuration: OptionBinding with id “failovermethod” does not exist
CentOS报以下错误: Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: O…
-
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…
-
CentOS 8.2修改服务器SSH登录端口
默认的端口为22,可以修改为其它不常见的数字,确保不会被它人攻击。 ssh默认的配置文件为:/etc/ssh/sshd_config,使用vim命令即可编辑。 vim /etc/ssh/sshd_config 找到以下内容,去掉前面的的注释…