加载分类中...

    问题描述: 虚拟机迁移以后启动失败,卡在一下界面: 输入root密码后进入系统进行抢救: df -h查看没有没有home分区,由此可以判断是home分区的问题 编辑/etc/fstab文件发现没有问题,注释掉home挂载的那一行后重启,正常, 然后进行手动挂载: mount /dev/mapper/centos-home /h...

    xfs
    文艺范儿     2020-06-02 19:22     來源: 系统相关     0 2955 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

    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

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

    [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

    在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

    修改时区为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 1140 0

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

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

    磁盘阵列(RAID) 1.1 RAID介绍 RAID是独立磁盘冗余陈列(redundant array of independent disks)简称磁盘阵列。 RAID第一种把多块独立的物理磁盘按不同的raid级别组合起来形成一个磁盘组,在逻辑上看起来是一块大的磁盘,可以提供比单个物理磁盘更大的存储容量或更高的存储性能,同时又能提供不...

    raild
    文艺范儿     2020-03-29 20:18     來源: 系统相关     0 1032 0
    文艺知识分享平台 -V 4.9.5 -wcp
    京公网安备100012199188号 京ICP备2021030911号