![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 63
芒果布丁加buffer
这个作者很懒,什么都没留下…
展开
-
Linux日期与时间
1.时间命令(1)查看时区 [root@node01 .ssh]# ll /etc/localtimelrwxrwxrwx. 1 root root 35 Apr 15 21:28 /etc/localtime -> ../usr/share/zoneinfo/Asia/Shanghai(2)修改时区 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime (3)修改时间 date -s......原创 2022-05-03 18:05:54 · 1287 阅读 · 0 评论 -
Linux的网络信息
1. 主机名称 临时修改 hostname node01--重启后失效 长久修改 vi /etc/hostname2.修改主机域名 vi /etc/hosts ---需要把所有的虚拟机都配置hosts文件[root@node1 ~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4...原创 2022-04-28 23:20:01 · 2177 阅读 · 0 评论 -
CentOS安装yum
执行 yum install vim 命令后发现报下面问题Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileYumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. Invalid release/repo/arch combination/removing mirrorlist with no valid ..原创 2021-06-05 18:28:16 · 179 阅读 · 0 评论