问题 CentOS 8 yum安装软件时,提示无法从AppStream下载 [root@C8-3 ~]# yum -y install httpd mariadb-server mariadb php php-mysql Repository AppStream is listed more than once in the confi...
l vm管理CentOS 7调整 home分区扩大root分区 总体过程: 把/home内容备份,然后将/home文件系统所在的逻辑卷删除,扩大/root文件系统,新建/home ,恢复/home内容 1.1 查看分区 [root@test1 ~]# df -h 文件系统 容量&nbs...
修改时区为UTC #复制UTC时间到 /etc/localtime cp /usr/share/zoneinfo/UTC /etc/localtime #创建软连接 /etc/localtime ln -sf /usr/share/zoneinfo/UTC /etc/localtime #显示时间和时区 date 如果没有修改成功的话,...
yum故障现象 今天发现阿里云服务器上的yum源不能用了。 # yum install net-tools -y CentOS-8 - AppStream 7.9 kB/s | 2.3 kB 00:00 Errors during downloading metadata for repository 'AppStream': - ...
[root@localhost lib64]# vim lib.txt vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory 解决方案 出现类似错误是由于缺少相关的(...
CentOS中使用yum列出软件包支持的所有版本 一般情况下yum list只会列出最新版本,以下使用php为例,列出其支持的所有可安装版本: yum list php --showduplicates | sort -r [root@VM_0_9_centos vhost]# yum list php --showduplicates...
在ubuntu上运行service服务报错: Failed to allocate directory watch: Too many open files 解决方法如下: echo 'fs.inotify.max_user_instances=512' >> /etc/sysctl.conf echo 'fs.inotif...
卸载之前php yum -y remove php* 更改yum源 yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install -y http://rpms.remirepo.net/enterpris...
firewalld实现内网服务器访问外网 应用场景:安装程序只有tmcore有外网chain只有内网,; 实现方法有三种: 1、nginx正向代理 2、squid正向代理 3、防火墙实现nat路由转发 1.1 防火墙实现nat转发 # 服务端 systemctl start firewalld.service #...
YUM降级(有依赖) 对于具有依赖关系的包,YUM降级更加困难。YUM降级不会自动解决依赖关系,因此必须手动完成。 YUM降级包和依赖关系 yum downgrade lib1 lib2 package #要有软件包和依赖