Redhat 8.0系统配置命令
2006-10-16 14:39
495 查看
域名服务
[root@linuxsir01 root]# redhat-config-bind
[root@linuxsir01 root]# redhat-config-bind-gui
软件包管理
[root@linuxsir01 root]# redhat-config-packages
日期与时间
[root@linuxsir01 root]# redhat-config-date
打印机,在X下运行的命令
[root@linuxsir01 root]# redhat-config-printer
[root@linuxsir01 root]# redhat-config-printer-gui
在X和虚拟控制台下都能用的命令,界面是文本的。
[root@linuxsir01 root]# redhat-config-printer-tui
apache的配制
[root@linuxsir01 root]# redhat-config-httpd
键盘的配制
[root@linuxsir01 root]# redhat-config-keyboard
这个是kernel相关的,不知道是做什么用的,请弟兄们来讲一讲。
[root@linuxsir01 root]# redhat-config-proc
反冲启动控制程序,这个也比较有价值。这个我们也得多多研究。
[root@linuxsir01 root]# redhat-config-kickstart
改root的密码工具
[root@linuxsir01 root]# redhat-config-rootpassword
系统语言设置
[root@linuxsir01 root]# redhat-config-language
安全等等级的设置,其实用这个设置,好象没有生效,其实早已经生效了。
[root@linuxsir01 root]# redhat-config-securitylevel
鼠标的配制
[root@linuxsir01 root]# redhat-config-mouse
系统服务的开启等,如果设置成开机启动,必须要保存一下。
[root@linuxsir01 root]# redhat-config-services
配制网卡,添加网卡等,以及ADSL以及猫等网络设备的添加以及拔号,都能从这里设置
[root@linuxsir01 root]# redhat-config-network
下面这个也是上面那个命令的一部份。用上面的那一个就能完成好多的工具。不用这个也一样,
因为redhat-config-network
已经包含了下面这个网络设置的添加命令。
[root@linuxsir01 root]# redhat-config-network-druid
声卡的,也试一下吧。
[root@linuxsir01 root]# redhat-config-soundcard
这个是配制显卡和显示器方面的,如果出现不能显示的,就要用这个命令,这个是极为重要的,
能在X下text下运行 。
[root@linuxsir01 root]# redhat-config-xfree86
NFS服务器的配制
[root@linuxsir01 root]# redhat-config-nfs
用户管理器,可以添加用户等。
[root@linuxsir01 root]# redhat-config-users
其实这些命令大多是在X下运行的,在虚拟控制台下也有相关的命令,那就是setup,也有解决不少问题。。
#setup
│
│ Authentication configuration │
│ Firewall configuration │
│ Keyboard configuration │
│ Mouse configuration │
│ Network configuration │
│ Printer configuration │
│ System services │
│ Sound card configuration │
│ Timezone configuration │
看一下洋文,似乎也不太难发现,有些东西与X下是相同的。。。
还有一些常用的。比如
#sndconfig
#kmix
#aumix
----------------------------------------------------------
/etc/sysconfig/network 包括主机基本网络信息,用于系统启动
/etc/sysconfig/network-script/ 此目录下是系统启动最初始化网络的信息
/etc/sysconfig/network-script/ifcfg-eth0 网络配置信息
/etc/xinetd.conf 定义了由超级进程XINETD启动的网络服务
/etc/protocols 设定了主机使用的协议以及各个协议的协议号
/etc/services 设定了主机的不同端口的网络服务
// 网络配置工具
# redhat-config-network
/* 使用ifconfig命令配置并查看网络接口情况 */
//配置eth0的IP,同时激活设备
# ifconfig eth0 192.168.168.119 netmask 255.255.255.0 up
//配置eth0别名设备 eth0:1 的IP,并添加路由
# ifconfig eth0:1 192.168.168.110
# route add –host 192.168.168.110 dev eth0:1
//激活(禁用)设备
# ifconfig eth0:1 up(down)
//查看所有(指定)网络接口配置
# ifconfig (eth0)
/* 使用route 命令配置路由表 */
//添加到主机路由
# route add –host 192.168.168.110 dev eth0:1
# route add –host 192.168.168.119 gw 192.168.168.1
//添加到网络的路由
# route add –net IP netmask MASK eth0
# route add –net IP netmask MASK gw IP
# route add –net IP/24 eth1
//添加默认网关
# route add default gw IP
//删除路由
# route del –host 192.168.168.110 dev eth0:1
/* 常用命令 */
# traceroute http://www.pconline.com.cn/
# ping http://www.pconline.com.cn/
//显示网络接口状态信息
# netstat –I
//显示所有监控的服务器的Socket和正在使用Socket的程序信息
# netstat –lpe
//显示内核路由表信息
# netstat –r
# netstat –nr
//显示TCP/UDP传输协议的连接状态
# netstat –t
# netstat –u
//更改主机名
# hostname myhost
//查看ARP缓存
# arp
//添加
# arp –s IP MAC
//删除
# arp –d IP
/* 运行级别与网络服务 */
//查看当前运行级别
# runlevel
//运行级别的切换
# init
# telinit
[root@linuxsir01 root]# redhat-config-bind
[root@linuxsir01 root]# redhat-config-bind-gui
软件包管理
[root@linuxsir01 root]# redhat-config-packages
日期与时间
[root@linuxsir01 root]# redhat-config-date
打印机,在X下运行的命令
[root@linuxsir01 root]# redhat-config-printer
[root@linuxsir01 root]# redhat-config-printer-gui
在X和虚拟控制台下都能用的命令,界面是文本的。
[root@linuxsir01 root]# redhat-config-printer-tui
apache的配制
[root@linuxsir01 root]# redhat-config-httpd
键盘的配制
[root@linuxsir01 root]# redhat-config-keyboard
这个是kernel相关的,不知道是做什么用的,请弟兄们来讲一讲。
[root@linuxsir01 root]# redhat-config-proc
反冲启动控制程序,这个也比较有价值。这个我们也得多多研究。
[root@linuxsir01 root]# redhat-config-kickstart
改root的密码工具
[root@linuxsir01 root]# redhat-config-rootpassword
系统语言设置
[root@linuxsir01 root]# redhat-config-language
安全等等级的设置,其实用这个设置,好象没有生效,其实早已经生效了。
[root@linuxsir01 root]# redhat-config-securitylevel
鼠标的配制
[root@linuxsir01 root]# redhat-config-mouse
系统服务的开启等,如果设置成开机启动,必须要保存一下。
[root@linuxsir01 root]# redhat-config-services
配制网卡,添加网卡等,以及ADSL以及猫等网络设备的添加以及拔号,都能从这里设置
[root@linuxsir01 root]# redhat-config-network
下面这个也是上面那个命令的一部份。用上面的那一个就能完成好多的工具。不用这个也一样,
因为redhat-config-network
已经包含了下面这个网络设置的添加命令。
[root@linuxsir01 root]# redhat-config-network-druid
声卡的,也试一下吧。
[root@linuxsir01 root]# redhat-config-soundcard
这个是配制显卡和显示器方面的,如果出现不能显示的,就要用这个命令,这个是极为重要的,
能在X下text下运行 。
[root@linuxsir01 root]# redhat-config-xfree86
NFS服务器的配制
[root@linuxsir01 root]# redhat-config-nfs
用户管理器,可以添加用户等。
[root@linuxsir01 root]# redhat-config-users
其实这些命令大多是在X下运行的,在虚拟控制台下也有相关的命令,那就是setup,也有解决不少问题。。
#setup
│
│ Authentication configuration │
│ Firewall configuration │
│ Keyboard configuration │
│ Mouse configuration │
│ Network configuration │
│ Printer configuration │
│ System services │
│ Sound card configuration │
│ Timezone configuration │
看一下洋文,似乎也不太难发现,有些东西与X下是相同的。。。
还有一些常用的。比如
#sndconfig
#kmix
#aumix
----------------------------------------------------------
/etc/sysconfig/network 包括主机基本网络信息,用于系统启动
/etc/sysconfig/network-script/ 此目录下是系统启动最初始化网络的信息
/etc/sysconfig/network-script/ifcfg-eth0 网络配置信息
/etc/xinetd.conf 定义了由超级进程XINETD启动的网络服务
/etc/protocols 设定了主机使用的协议以及各个协议的协议号
/etc/services 设定了主机的不同端口的网络服务
// 网络配置工具
# redhat-config-network
/* 使用ifconfig命令配置并查看网络接口情况 */
//配置eth0的IP,同时激活设备
# ifconfig eth0 192.168.168.119 netmask 255.255.255.0 up
//配置eth0别名设备 eth0:1 的IP,并添加路由
# ifconfig eth0:1 192.168.168.110
# route add –host 192.168.168.110 dev eth0:1
//激活(禁用)设备
# ifconfig eth0:1 up(down)
//查看所有(指定)网络接口配置
# ifconfig (eth0)
/* 使用route 命令配置路由表 */
//添加到主机路由
# route add –host 192.168.168.110 dev eth0:1
# route add –host 192.168.168.119 gw 192.168.168.1
//添加到网络的路由
# route add –net IP netmask MASK eth0
# route add –net IP netmask MASK gw IP
# route add –net IP/24 eth1
//添加默认网关
# route add default gw IP
//删除路由
# route del –host 192.168.168.110 dev eth0:1
/* 常用命令 */
# traceroute http://www.pconline.com.cn/
# ping http://www.pconline.com.cn/
//显示网络接口状态信息
# netstat –I
//显示所有监控的服务器的Socket和正在使用Socket的程序信息
# netstat –lpe
//显示内核路由表信息
# netstat –r
# netstat –nr
//显示TCP/UDP传输协议的连接状态
# netstat –t
# netstat –u
//更改主机名
# hostname myhost
//查看ARP缓存
# arp
//添加
# arp –s IP MAC
//删除
# arp –d IP
/* 运行级别与网络服务 */
//查看当前运行级别
# runlevel
//运行级别的切换
# init
# telinit
相关文章推荐
- Linux查看系统配置常用命令
- RedHat EL5 安装Oracle 10g RAC之--系统环境配置(2)
- Ubuntu IP系统配置文件使用命令设置地址
- CentOS下升级系统 yum update命令 自己配置更新源
- Linux查看系统配置常用命令
- 配置RedHat 6系统YUM网易源
- Linux查看系统配置常用命令
- 配置完jdk环境变量后无法使用系统命令
- DB2系统命令与配置参数大全
- Linux就该这么学--命令集合11(配置系统相关信息)
- 查看linux系统常用的命令,Linux查看系统配置常用命令
- RedHat/CentOS系统信息查看命令大全
- redhat重启网卡配置命令
- Linux查看系统配置常用命令
- 纪录一些linux服务器下查看系统配置的常用命令,系统主要采用CentOS,方便下次查找
- Linux查看系统配置常用命令
- Linux查看系统配置常用命令
- 在 Redhat9.0 上安装配置 C-Kermit8.0 和调试 u-boot 的方法
- Linux查看系统配置常用命令
- 常用系统配置和命令