iplaybit
  • 首页
  • 系统运维
  • IT新闻
  • 科技新闻
  • 关于我们
系统运维
系统运维

linux怎么查看操作系统是bios启动方式还是uefi启动方式?

环境 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7   问题 How to identify if the system is installed with UEFI or with Legacy only Boot?   决议 Run the command below to find out if the system is BIOS boot or UEFI boot. #[ -d /sys/firmware/efi ] && ec…

2020年03月13日 0条评论 3993点热度 49人点赞 阅读全文
系统运维

Linux 高级路由 ip rule / ip rout

路由策略数据库的规则用于控制选择路由的算法。 Internet上采用的路由算法一般是基于数据包目的地址的。理论上,也可以由TOS域决定,不过这没有实际应用。要了解经典路由算法的详细情况请参考RFC-1812。 而在某些情况下,我们不只是需要通过数据包的目的地址决定路由,可能还需要通过其他一些域:源地址、IP协议、传输层端口甚至数据包的负载。这就叫做:策略路由(policy routing)。 注意:策略路由(policy routing)不等于路由策略(rouing policy)。 在这种情况下,传统的基于目的地…

2020年03月13日 0条评论 610点热度 1人点赞 阅读全文
系统运维

CentOS7 中使用 firewall-cmd 配置端口转发

1、启动firewalld服务并设置开机自动启动,下面的命令必须在防火墙开启的状态下才可用 ,由于firewalld默认不是放行所有端口,所以启动firewalld会造成该机器的某些端口无法访问。具体的网卡端口和转发的源和目的端口请根据实际情况替换。 systemctl enable firewalld systemctl start firewalld   2、更改防火墙默认区域为trusted,默认放行所有连接请求 firewall-cmd --set-default-zone=trusted     3、将8…

2020年02月27日 0条评论 1085点热度 4人点赞 阅读全文
系统运维

CentOS7 中使用 firewall-cmd 配置只允许指定ip访问本机的指定端口

1、启动firewalld服务并设置开机自动启动,下面的命令必须在防火墙开启的状态下才可用 ,由于firewalld默认不是放行所有端口,所以启动firewalld会造成该机器的某些端口无法访问。 systemctl enable firewalld systemctl start firewalld   2、更改防火墙默认区域为trusted,默认放行所有连接请求 firewall-cmd --set-default-zone=trusted     3.新建一个zone,将想要访问本机80端口的ip,如:192…

2020年02月27日 0条评论 5631点热度 92人点赞 阅读全文
系统运维

redhat7 firewalld 配置IP重定向

在本机上访问10.10.6.6的20000端口转发到10.8.6.6的20000端口   # firewall-cmd --permanent --direct --add-rule ipv4 nat OUTPUT 0 -p tcp -d 10.10.6.6 --dport 20000 -j DNAT --to 10.8.6.6:20000 success   # firewall-cmd --reload success   # firewall-cmd --permanent --direct --get-ru…

2020年02月27日 0条评论 1141点热度 13人点赞 阅读全文
系统运维

Linux系统-tcpdump常用抓包命令

  主要语法 过滤主机/IP: tcpdump -i eth0 host 172.16.7.206 抓取所有经过网卡1,目的IP为172.16.7.206的网络数据   过滤端口: tcpdump -i eth0 dst port 1234 抓取所有经过网卡1,目的端口为1234的网络数据   过滤特定协议: tcpdump -i eth0 udp 抓取所有经过网卡1,协议类型为UDP的网络数据   抓取本地环路数据包 tcpdump -i lo udp 抓取UDP数据 tcpdump -i lo udp port…

2020年02月27日 0条评论 1134点热度 5人点赞 阅读全文
系统运维

redhat7 vncserver 报错起不来解决办法

  安装相应软件包。 yum -y install gnome-classic-session gnome-terminal control-center liberation-mono-fonts  

2020年02月27日 0条评论 717点热度 7人点赞 阅读全文
系统运维

RedHat Enterprise Linux 7关闭防火墙方法

RedHat Enterprise Linux 7关闭防火墙方法 在之前的版本中关闭防火墙等服务的命令是 service iptables stop  /etc/init.d/iptables stop 在RHEL7中,其实没有这个服务 [root@rhel7 ~]# cat /etc/redhat-release  Red Hat Enterprise Linux Server release 7.0 (Maipo)  [root@rhel7 ~]# service iptables stop  Redirect…

2020年02月27日 0条评论 554点热度 1人点赞 阅读全文
系统运维

Linux CentOS 7.X 如何修改内核启动默认顺序

我们知道,centos 6.x是通过/etc/grub.conf就行内核启动顺序修改的,而且比较直观查看。但centos 7的系统和6就不一样了,是通过grub2为引导程序。下边简单说下centos 7的内核启动顺序如何修改。 1,首先查看当前系统有几个内核。比如: [root@21yunwei ~]# cat /boot/grub2/grub.cfg |grep menuentry if [ x"${feature_menuentry_id}" = xy ]; then   menuentry_id_option…

2020年02月27日 0条评论 629点热度 0人点赞 阅读全文
系统运维

Samba windows 10 share: mount error(112): Host is down

Windows 10 Share File: //10.108.xx.xx/lnxvda-rf/ROBOT   [root@rhels73 robot]# mount -t cifs -o username=administrator,password=xxxxxx  //10.108.xx.xx/lnxvda-rf/ROBOT /opt/robot mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mou…

2020年02月27日 0条评论 1019点热度 1人点赞 阅读全文
12345…13
最新 热点 随机
最新 热点 随机
Steam内存测试工具 SPDK详解 Hadoop之HDFS优缺点、设计原理、框架 tmpfs总结 当64核遇上PCIe 4.0 超级算力是这样建成的 Edge for Linux开发者预览将至 WSL子系统可运行带GUI的Linux应用程序
Linux 内存中的 Cache 真的能被回收么? Oracle的SQLPLUS中常用set语句 linux 下查看机器是cpu是几核的 查询ORACLE所有表 HP 3PAR存储概念之四 浅谈RAID写惩罚(Write Penalty)与IOPS计算
一起来了解为双屏设备而生的Windows 10X系统
标签聚合
操作系统 3par san linux 存储 oracle hp redo windows 文件系统 AMD 数据库 netapp cpu docker intel

COPYRIGHT © 2020 iplaybit. ALL RIGHTS RESERVED.

京ICP备18020432号-1