第 21 章 System Utilities 配置工具

本文涉及的产品
公共DNS(含HTTPDNS解析),每月1000万次HTTP解析
云解析 DNS,旗舰版 1个月
全局流量管理 GTM,标准版 1个月
简介:

21.1. CentOS 6

setup

timeconfig

system-config-cluster

system-config-httpd

system-config-nfs

system-config-samba

21.1.1. system-config-date

   ┌────────┤ Timezone Selection ├────────┐
   │                                      │
   │ Select the timezone for the system.  │
   │                                      │
   │  Asia/Bahrain                    ↑   │
   │  Asia/Baku                       ▒   │
   │  Asia/Bangkok                    ▒   │
   │  Asia/Beirut                     ▮   │
   │  Asia/Bishkek                    ▒   │
   │  Asia/Brunei                     ▒   │
   │  Asia/Choibalsan                 ▒   │
   │  Asia/Chongqing                  ↓   │
   │                                      │
   │      [*] System clock uses UTC       │
   │                                      │
   │     ┌────┐          ┌────────┐       │
   │     │ OK │          │ Cancel │       │
   │     └────┘          └────────┘       │
   │                                      │
   │                                      │
   └──────────────────────────────────────┘
			

21.1.2. system-config-firewall

        ┌───────────┤ Firewall Configuration ├───────────┐
        │                                                │
        │ A firewall protects against unauthorized       │
        │ network intrusions. Enabling a firewall blocks │
        │ all incoming connections. Disabling a firewall │
        │ allows all connections and is not recommended. │
        │                                                │
        │             Firewall: [*] Enabled              │
        │                                                │
        │   ┌────┐      ┌───────────┐      ┌────────┐    │
        │   │ OK │      │ Customize │      │ Cancel │    │
        │   └────┘      └───────────┘      └────────┘    │
        │                                                │
        │                                                │
        └────────────────────────────────────────────────┘
			

21.1.3. system-config-securitylevel

     ┌────────────┤ Firewall Configuration ├────────────┐
     │                                                  │
     │ A firewall protects against unauthorized         │
     │ network intrusions. Enabling a firewall blocks   │
     │ all incoming connections. Disabling a firewall   │
     │ allows all connections and is not recommended.   │
     │                                                  │
     │    Security Level: ( ) Enabled (*) Disabled      │
     │                                                  │
     │               SELinux: Enforcing                 │
     │                        Permissive                │
     │                        Disabled                  │
     │                                                  │
     │    ┌────┐       ┌───────────┐      ┌────────┐    │
     │    │ OK │       │ Customize │      │ Cancel │    │
     │    └────┘       └───────────┘      └────────┘    │
     │                                                  │
     │                                                  │
     └──────────────────────────────────────────────────┘
			

21.1.4. system-config-language

 ┌──────────┤ Language Selection ├──────────┐
 │                                          │
 │   Select the language for the system.    │
 │                                          │
 │  English (Hong Kong)                   ↑ │
 │  English (India)                       ▒ │
 │  English (Ireland)                     ▮ │
 │  English (New Zealand)                 ▒ │
 │  English (Philippines)                 ▒ │
 │  English (Singapore)                   ▒ │
 │  English (South Africa)                ▒ │
 │  English (USA)                         ↓ │
 │                                          │
 │      ┌────┐            ┌────────┐        │
 │      │ OK │            │ Cancel │        │
 │      └────┘            └────────┘        │
 │                                          │
 │                                          │
 └──────────────────────────────────────────┘
			

21.1.5. system-config-keyboard

       ┌─────────────┤ Keyboard Selection ├──────────────┐
       │                                                 │
       │ Select the appropriate keyboard for the system. │
       │                                                 │
       │        Slovenian                       ↑        │
       │        Serbian                         ▒        │
       │        Serbian (latin)                 ▒        │
       │        Swedish                         ▒        │
       │        Turkish                         ▒        │
       │        Ukrainian                       ▮        │
       │        United Kingdom                  ▒        │
       │        U.S. English                    ↓        │
       │                                                 │
       │        ┌────┐                ┌────────┐         │
       │        │ OK │                │ Cancel │         │
       │        └────┘                └────────┘         │
       │                                                 │
       │                                                 │
       └─────────────────────────────────────────────────┘
			

21.1.6. system-config-network

system-config-network

			
          ┌──────┤ Select Action ├──────┐
          │                             │
          │    Device configuration     │
          │    DNS configuration        │
          │                             │
          │                             │
          │                             │
          │  ┌───────────┐   ┌──────┐   │
          │  │ Save&Quit │   │ Quit │   │
          │  └───────────┘   └──────┘   │
          │                             │
          │                             │
          └─────────────────────────────┘
			
			

system-config-network-cmd

[root@r910 ~]# system-config-network-cmd
DeviceList.Ethernet.eth0.AllowUser=False
DeviceList.Ethernet.eth0.BootProto=dhcp
DeviceList.Ethernet.eth0.Device=eth0
DeviceList.Ethernet.eth0.DeviceId=eth0
DeviceList.Ethernet.eth0.HardwareAddress=78:2B:CB:3B:4B:74
DeviceList.Ethernet.eth0.IPv6Init=False
DeviceList.Ethernet.eth0.NMControlled=True
DeviceList.Ethernet.eth0.OnBoot=False
DeviceList.Ethernet.eth0.Type=Ethernet
DeviceList.Ethernet.eth1.AllowUser=False
DeviceList.Ethernet.eth1.BootProto=dhcp
DeviceList.Ethernet.eth1.Device=eth1
DeviceList.Ethernet.eth1.DeviceId=eth1
DeviceList.Ethernet.eth1.HardwareAddress=78:2B:CB:3B:4B:76
DeviceList.Ethernet.eth1.IPv6Init=False
DeviceList.Ethernet.eth1.NMControlled=True
DeviceList.Ethernet.eth1.OnBoot=False
DeviceList.Ethernet.eth1.Type=Ethernet
DeviceList.Ethernet.eth2.AllowUser=False
DeviceList.Ethernet.eth2.BootProto=dhcp
DeviceList.Ethernet.eth2.Device=eth2
DeviceList.Ethernet.eth2.DeviceId=eth2
DeviceList.Ethernet.eth2.HardwareAddress=78:2B:CB:3B:4B:78
DeviceList.Ethernet.eth2.IPv6Init=False
DeviceList.Ethernet.eth2.NMControlled=True
DeviceList.Ethernet.eth2.OnBoot=False
DeviceList.Ethernet.eth2.Type=Ethernet
DeviceList.Ethernet.eth3.AllowUser=False
DeviceList.Ethernet.eth3.BootProto=dhcp
DeviceList.Ethernet.eth3.Device=eth3
DeviceList.Ethernet.eth3.DeviceId=eth3
DeviceList.Ethernet.eth3.HardwareAddress=78:2B:CB:3B:4B:7A
DeviceList.Ethernet.eth3.IPv6Init=False
DeviceList.Ethernet.eth3.NMControlled=True
DeviceList.Ethernet.eth3.OnBoot=False
DeviceList.Ethernet.eth3.Type=Ethernet
HardwareList.Ethernet.eth3.Card.ModuleName=bnx2
HardwareList.Ethernet.eth3.Description=Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
HardwareList.Ethernet.eth3.Name=eth3
HardwareList.Ethernet.eth3.Status=system
HardwareList.Ethernet.eth3.Type=Ethernet
HardwareList.Ethernet.eth2.Card.ModuleName=bnx2
HardwareList.Ethernet.eth2.Description=Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
HardwareList.Ethernet.eth2.Name=eth2
HardwareList.Ethernet.eth2.Status=system
HardwareList.Ethernet.eth2.Type=Ethernet
HardwareList.Ethernet.eth1.Card.ModuleName=bnx2
HardwareList.Ethernet.eth1.Description=Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
HardwareList.Ethernet.eth1.Name=eth1
HardwareList.Ethernet.eth1.Status=system
HardwareList.Ethernet.eth1.Type=Ethernet
HardwareList.Ethernet.eth0.Card.ModuleName=bnx2
HardwareList.Ethernet.eth0.Description=Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
HardwareList.Ethernet.eth0.Name=eth0
HardwareList.Ethernet.eth0.Status=system
HardwareList.Ethernet.eth0.Type=Ethernet
ProfileList.default.Active=True
ProfileList.default.ActiveDevices.1=eth0
ProfileList.default.ActiveDevices.2=eth1
ProfileList.default.ActiveDevices.3=eth2
ProfileList.default.ActiveDevices.4=eth3
ProfileList.default.DNS.Domainname=
ProfileList.default.DNS.Hostname=r910.example.com
ProfileList.default.DNS.PrimaryDNS=202.96.134.133
ProfileList.default.DNS.SearchList.1=example.com
ProfileList.default.DNS.SecondaryDNS=202.96.128.68
ProfileList.default.DNS.TertiaryDNS=
ProfileList.default.HostsList.1.AliasList.1=r910
ProfileList.default.HostsList.1.Hostname=r910.example.com
ProfileList.default.HostsList.1.IP=192.168.80.33
ProfileList.default.HostsList.2.AliasList.1=localhost
ProfileList.default.HostsList.2.Hostname=localhost.localdomain
ProfileList.default.HostsList.2.IP=127.0.0.1
ProfileList.default.HostsList.3.AliasList.1=r910
ProfileList.default.HostsList.3.AliasList.2=localhost6.localdomain6
ProfileList.default.HostsList.3.AliasList.3=localhost6
ProfileList.default.HostsList.3.Hostname=r910.example.com
ProfileList.default.HostsList.3.IP=::1
ProfileList.default.ProfileName=default
			

21.1.7. ntsysv

ntsysv

     ┌──────────────────┤ Services ├──────────────────┐
     │                                                │
     │ What services should be automatically started? │
     │                                                │
     │             [*] NetworkManager  ↑              │
     │             [*] acpid           ▮              │
     │             [*] atd             ▒              │
     │             [ ] auditd          ▒              │
     │             [*] autofs          ▒              │
     │             [*] avahi-daemon    ▒              │
     │             [*] bluetooth       ▒              │
     │             [ ] certmonger      ▒              │
     │             [ ] cgconfig        ▒              │
     │             [ ] cgred           ▒              │
     │             [*] cpuspeed        ▒              │
     │             [*] crond           ▒              │
     │             [*] cups            ▒              │
     │             [ ] dnsmasq         ▒              │
     │             [ ] firstboot       ▒              │
     │             [*] haldaemon       ↓              │
     │                                                │
     │        ┌────┐               ┌────────┐         │
     │        │ Ok │               │ Cancel │         │
     │        └────┘               └────────┘         │
     │                                                │
     │                                                │
     └────────────────────────────────────────────────┘
			

21.1.8. lokkit

lokkit

禁用Iptable与SELinux

lokkit --disabled --selinux=disabled
			

21.1.9. system-config-kdump

21.1.10. system-config-services

system-config-services

21.1.11. authconfig-tui

authconfig-tui




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
数据库管理 Windows
【CodeSmith】The System.Data.SQLite library is not installed on this computer,不能使用SQLite解决办法
【CodeSmith】The System.Data.SQLite library is not installed on this computer,不能使用SQLite解决办法
38 0
SSM 项目 Library Manager System
SSM 项目 Library Manager System
144 0
SSM 项目 Library Manager System
|
Linux 程序员 Windows
生成项目目录结构(based on windows system)
描述:         作为程序员,在工作中,我们经常会有需求,需要罗列出项目的结构图;如果手工来整理的话,太过浪费时间,其实我们可以借助tree命令来快速生成目录结构。         本文主要介绍一下,基于windows系统,如何快速生成目录结构的方法。
3005 0
|
Windows
InstallUtil.exe版本引起安装windows services 服务遇到的问题,System.BadImageFormatException
原文:把程序安装成windows服务的过程及遇到的问题 做好了定时任务的程序,要把它放在服务器上,作为windows服务运行,也就是说,退出登录,用户注销后程序任然在后台运行。 将exe程序发布为服务的步骤记录如下: 场景1 :程序路径没问题的情况  按照网上的有些说法,进入控制台,如下操作(VICTTEC_Maintain.
2326 0
|
安全 网络协议 JavaScript