![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
Hermele
在工作中遇到的问题,抛出解答方案
展开
-
linux将home目录下的磁盘挂载到root
linux将home目录下的磁盘挂载到root卸载磁盘 umount /dev/mapper/centos-home删除LVM逻辑卷 [root@localhost /]# lvremove /dev/mapper/centos-home # 输入命令后输入 y Do you really want to remove active logical volume centos/home? [y/n]: y Logical volume "home" successfully rem原创 2022-01-14 14:50:16 · 1781 阅读 · 1 评论 -
linux通过修改network-scripts下网卡配置文件设置静态ip
linux通过修改network-scripts下网卡配置文件设置静态ip1、查看网卡信息 [root@localhost ~]# ls /etc/sysconfig/network-scripts/ ifcfg-ens192 ifdown-eth ifdown-ipv6 ifdown-post ifdown-routes ifdown-tunnel ifup-aliases ifup-eth ifup-ipv6 ifup-plip 2、修改网卡设置原创 2022-01-13 16:58:49 · 3763 阅读 · 0 评论 -
linux下ntp时间服务
#ntp时间服务1.linux常用时间命令 # 查看系统时间 $ date # 查看硬件时间 $ hwclock2.安装部署ntp服务 1、查看是否安装ntp服务 rpm -qa|grep ntp 2、安装ntp服务 yum install -y ntp 3、同步系统时间 ntpdate 0.cn.pool.ntp.org hwclock -w 系统时间保存到硬件时间 4、修改ntp配置 v原创 2022-01-13 16:41:25 · 494 阅读 · 0 评论