-
Centos8换阿里云源教程–服务器可用
cd /etc/yum.repos.d/ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/C…- 74
- 0
-
centos 8安装nginx
安装gcc组件 yum -y install gcc gcc-c++ autoconf automake make pcre pcre-devel # 添加对gzip的支持 yum install -y zlib zlib-devel #安装 SSL支持 yum -y install pcre pcre-devel zlib zlib-devel openssl openssl-devel ngi…- 111
- 0
-
Repository AppStream is listed more than once in the configuration
root@centos8 ~ yum install gcc Repository AppStream is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository PowerTools is listed more t…- 84
- 0
-
centos8安装gcc
此教程在无法在线安装gcc或者无gcc旧版本无法安装gcc的解决方法 下载gcc wget https://gcc.gnu.org/pub/gcc/releases/gcc-10.2.0/gcc-10.2.0.tar.gz 进入目录 tar -zxf gcc-10.2.0.tar.gz cd gcc-10.2.0 cd gcc-10.2.0<br /> 安装gcc依赖包 ./cont…- 63
- 0
-
centos8换源教程
#切换到源的目录 cd /etc/yum.repos.d/ #修改所有centos所有文件信息 sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.cen…- 120
- 0
-
centos8 yum安装软件出现 Failed to set locale, defaulting to C CentOS-8 – AppStream
解决方案:替换源CentOS-AppStream.repo CentOS-Base.repo CentOS-Extras.repo 文件 国内机器替换文件如下 ,国外机器将cenots8服务器上的mirrors.aliyun.com 替换成 vault.centos.org 即可 # CentOS-AppStream.repo # # The mirror system uses the con…- 112
- 0
-
Centos8安装LAMP
yum -y install httpd mariadb-server mariadb php php-mysql php-gd php-mbstring iptables -F #关闭防火墙 systemctl start httpd #开机apache systemctl enable httpd #启动apache vim /etc/httpd/conf/httpd.conf 更改Serve…- 75
- 0
-
Centos8查看包的信息
查询软件包是否安装 rpm -q 包名 例如: rpm -q httpd 查询软件包的详细信息 yum info 包名 rpm -qi 包名 例: rpm -qi -php 简单理解为变量拼接 which mysql rpm -qf `which mysql`- 39
- 0
-
No match for argument: php-mysql 错误:没有任何匹配: php-mysql
出现No match for argument: php-mysql 更改为 yum -y php-mysqlnd- 73
- 0
幸运之星正在降临...
点击领取今天的签到奖励!
恭喜!您今天获得了{{mission.data.mission.credit}}积分
我的优惠劵
-
¥优惠劵使用时效:无法使用使用时效:
之前
使用时效:永久有效优惠劵ID:×
没有优惠劵可用!