随笔分类 -  Linux

摘要:提问必备-如何有效的提问? 注:本文来自于网络,版权归原作者所有。 不要怀疑,即便你工作了很多年,有可能,你依然不会提问,让我们来看看目前的现状是什么? 很多人在群里发牢骚: 1、群里不活跃,发问题没人回答。 2、牛人都很牛逼,爱搭不理的。 我想说的是: 没人回答,有可能是你不会问。 牛人也有自己的 阅读全文
posted @ 2020-10-11 20:32 捧花大王 阅读(324) 评论(0) 推荐(0) 编辑
摘要:配置sudo权限 周万春 [root@db01 ~]# visudo zhouwanchun ALL=(ALL) NOPASSWD: ALL [root@db01 ~]# vim /etc/ssh/sshd_config AllowUsers root zhouwanchun [root@db01 阅读全文
posted @ 2020-05-22 14:09 捧花大王 阅读(172) 评论(0) 推荐(0) 编辑
摘要:blk_update_request: I/O error, dev fd0, sector 0 CentOS Linux系统在控制台输出以上信息,解决办法: 系统启动时进入bios Advanced -> I/O Device Configuration -> Floppy disk contro 阅读全文
posted @ 2020-03-23 15:59 捧花大王 阅读(5839) 评论(0) 推荐(0) 编辑
摘要:存储服务存在价值: 1.可以实现数据统一共享存储 2.节省架构服务运营成本 如何实现数据存储: NFS(network file system --- 网络共享文件系统 不支持windows) FTP(文件共享存储 --- windows比较方便简单 linux如何部署FTP --- 数据权限设置) samba (linux部署服务端 可以让 windows 与 linux同... 阅读全文
posted @ 2019-07-18 17:28 捧花大王 阅读(203) 评论(0) 推荐(0) 编辑
摘要:[root@backup ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 172.16.1... 阅读全文
posted @ 2019-07-12 22:35 捧花大王 阅读(329) 评论(0) 推荐(0) 编辑
摘要:Linux如何查看哪个进程占用的SWAP分区比较多? 在日常管理中,我们经常会遇到swap分区使用比较多,那么导致是那些进程使用的呢,其实我们可以通过/proc/pid/下的smaps来获得。使用下面的命令可以列出所有进程占用的swap分区的大小,分别我们分析问题。 for i in $(cd /proc;ls | grep "^[0-9]" | awk '$0>100'); do awk ... 阅读全文
posted @ 2019-06-27 18:22 捧花大王 阅读(913) 评论(0) 推荐(0) 编辑
摘要:防止rm强制删除 阅读全文
posted @ 2019-06-11 08:53 捧花大王 阅读(139) 评论(0) 推荐(0) 编辑
摘要:自制Linux回收站功能,rm给你一个反悔的机会 [root@mysql-db01 ~]# vim .bashrc 在文件尾部,添加以下几句代码 mkdir -p ~/.trash alias rm=trash alias r=trash alias lsrm='ls ~/.trash/' alias unrm=undelfile undelfile() { mv -i ~/.tra... 阅读全文
posted @ 2019-06-05 17:07 捧花大王 阅读(202) 评论(0) 推荐(0) 编辑
摘要:老集群RAC双网卡绑定 作者:周万春 [root@db-rac02 network-scripts]# cat ifcfg-bond0 DEVICE=bond0 IPADDR=192.168.56.12 NETMASK=255.255.255.0 GATEWAY=192.168.56.254 ONB 阅读全文
posted @ 2019-04-13 12:23 捧花大王 阅读(235) 评论(0) 推荐(0) 编辑
摘要:[root@racooler ~]# nmcli connection show eno16777736 | grep ipv6 [root@racooler ~]# nmcli connection modify eno16777736 ipv6.addresses "fd00:ba5e:ba11 阅读全文
posted @ 2019-04-12 23:04 捧花大王 阅读(1904) 评论(0) 推荐(0) 编辑
摘要:编辑网卡信息 [root@linux-node2 ~]# cd /etc/sysconfig/network-scripts/ [root@linux-node2 network-scripts]# mv ifcfg-eno16777728 ifcfg-eth0 [root@linux-node2 阅读全文
posted @ 2019-04-12 23:00 捧花大王 阅读(162) 评论(0) 推荐(0) 编辑
摘要:使用虚拟化KVM安装RHEL7系统 阅读全文
posted @ 2019-04-12 22:25 捧花大王 阅读(192) 评论(0) 推荐(0) 编辑
摘要:RHEL7调图形化 阅读全文
posted @ 2019-04-12 22:04 捧花大王 阅读(260) 评论(0) 推荐(0) 编辑
摘要:网络共享存储服务NFS 环境准备 阅读全文
posted @ 2019-04-10 14:51 捧花大王 阅读(509) 评论(0) 推荐(0) 编辑
摘要:挂载本地iso镜像 [root@linux-node1 ~]# mkdir -p /disk/iso 上传 CentOS 的 ISO 镜像到 /disk/iso/ 目录 [root@linux-node1 ~]# mkdir -p /media/cdrom/iso [root@linux-node1 阅读全文
posted @ 2019-04-10 14:01 捧花大王 阅读(242) 评论(0) 推荐(0) 编辑
摘要:配置ssh服务允许root管理员直接登录 阅读全文
posted @ 2019-04-10 13:54 捧花大王 阅读(508) 评论(0) 推荐(0) 编辑
摘要:RHEL7安装图像化桌面 阅读全文
posted @ 2019-04-10 12:09 捧花大王 阅读(195) 评论(0) 推荐(0) 编辑
摘要:RHEL6安装配置DNS服务 阅读全文
posted @ 2019-04-10 12:00 捧花大王 阅读(201) 评论(0) 推荐(0) 编辑
摘要:RHEL7安装配置VNC 阅读全文
posted @ 2019-04-10 11:48 捧花大王 阅读(452) 评论(0) 推荐(0) 编辑
摘要:Linux聚合网络 阅读全文
posted @ 2019-04-10 11:41 捧花大王 阅读(124) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示