加载分类中...

    问题 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 655 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 1322 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 1433 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 1240 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 1340 0

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

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

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

    yum
    文艺范儿     2020-11-15 17:35     來源: 系统相关     1 1115 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 1026 0

    1、安装 yum install smartmontools -y  2、检查健康度 [root@wq64 ~]# smartctl -a /dev/nvme1n1 smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.4.119-19-0006] (local build) Copyri...

    文艺范儿     2022-12-02 13:34     來源: 系统相关     1 575 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 1068 0
    文艺知识分享平台 -V 4.9.5 -wcp
    京公网安备100012199188号 京ICP备2021030911号