加载分类中...

    问题 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...

    文艺范儿     2022-03-09 14:37     來源: 系统相关     2 644 0

     l vm管理CentOS 7调整 home分区扩大root分区 总体过程: 把/home内容备份,然后将/home文件系统所在的逻辑卷删除,扩大/root文件系统,新建/home ,恢复/home内容 1.1 查看分区 [root@test1 ~]# df -h 文件系统 容量&nbs...

    lvm
    文艺范儿     2020-03-29 20:05     來源: 系统相关     1 1057 0

    修改时区为UTC #复制UTC时间到 /etc/localtime cp /usr/share/zoneinfo/UTC /etc/localtime #创建软连接 /etc/localtime ln -sf /usr/share/zoneinfo/UTC /etc/localtime #显示时间和时区 date 如果没有修改成功的话,...

    utc
    文艺范儿     2021-08-02 11:14     來源: 系统相关     1 1132 0

    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': - ...

    yum
    文艺范儿     2022-05-26 08:28     來源: 系统相关     1 1577 0

    [root@localhost lib64]# vim lib.txt vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory 解决方案 出现类似错误是由于缺少相关的(...

    error
    文艺范儿     2020-03-29 20:07     來源: 系统相关     1 1314 0

    CentOS中使用yum列出软件包支持的所有版本 一般情况下yum list只会列出最新版本,以下使用php为例,列出其支持的所有可安装版本: yum list php --showduplicates | sort -r [root@VM_0_9_centos vhost]# yum list php --showduplicates...

    yum
    文艺范儿     2020-03-30 16:35     來源: 系统相关     1 1419 0

    在ubuntu上运行service服务报错: Failed to allocate directory watch: Too many open files 解决方法如下: echo 'fs.inotify.max_user_instances=512' >> /etc/sysctl.conf echo 'fs.inotif...

    文艺范儿     2021-07-27 17:33     來源: 系统相关     1 1233 0

    卸载之前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...

    yum php
    文艺范儿     2023-06-26 22:39     來源: 系统相关     1 1329 0

    firewalld实现内网服务器访问外网 应用场景:安装程序只有tmcore有外网chain只有内网,; 实现方法有三种: 1、nginx正向代理 2、squid正向代理 3、防火墙实现nat路由转发 1.1 防火墙实现nat转发   # 服务端 systemctl start firewalld.service #...

    firewalld
    文艺范儿     2020-03-29 20:04     來源: 系统相关     1 930 0

    YUM降级(有依赖) 对于具有依赖关系的包,YUM降级更加困难。YUM降级不会自动解决依赖关系,因此必须手动完成。 YUM降级包和依赖关系 yum downgrade lib1 lib2 package #要有软件包和依赖

    yum
    文艺范儿     2020-11-15 17:35     來源: 系统相关     1 1105 0
    文艺知识分享平台 -V 4.9.5 -wcp
    京公网安备100012199188号 京ICP备2021030911号