How to check release version of RedHatLinux?
cat /etc/redhat-release
How to check kernel version in RedHatLinux?
uname -a
How to config IP in RedHatLinux?
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-xxx
How to config static routes in RedHatLinux?
cat /etc/sysconfig/static-routes
any net 10.56.0.0/16 gw 192.168.0.1
any net 10.140.0.0/16 gw 192.168.0.1
This is derived from /etc/init.d/network script. When we execute service network restart command, the script will be called. The form of the static-routes files is concluded from the script. We can also call /etc/init.d/network restart instead.

本文介绍了如何在Red Hat Linux中检查发行版和内核版本、配置IP地址、设置静态路由等核心操作步骤。

3580

被折叠的 条评论
为什么被折叠?



