加载分类中...

    问题 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 647 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 1138 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 1587 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 1316 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 1425 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 1236 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 1334 0

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

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

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

    yum
    文艺范儿     2020-11-15 17:35     來源: 系统相关     1 1109 0

    目的 将两块空硬盘合并为“一块”,挂载到指定目录下,达到在一个目录使用2块硬盘所有空间的效果(两块盘做之前不需要分区和格式化)。 条件 root@server3-UIS-R390X-G2:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 32.3M 1 loop /...

    lvm
    文艺范儿     2021-07-31 17:17     來源: 系统相关     1 1017 0
    文艺知识分享平台 -V 4.9.5 -wcp
    京公网安备100012199188号 京ICP备2021030911号