RH033 Unit10 Baisc System Configuration Tools
2009-03-29 23:33
246 查看
Objectives Upon completion of this unit, you should be able: Configure date, network and printer settings
Send text to printer
Set the system’s date and time
TCP/IP Network Configuration 1) Important network settings: IP Configuration
Device Activation
DNS Configuration
Default Gateway
Managing Ethernet Connections 1) Network interfaces are named sequentially: eth0, eth1, etc Multiple addresses can be assigned to a device with aliases
Aliases are labeled eth0:1, eth0:2, etc.
Aliases are treated like spereated interfaces
2) View interface configuration with ifconfig [ethx] 3) Enable interface with ifup ethx 4) Disable interface with ifdown ethx Graphical Network Configuration system-config-network 1) System –> Administration –> Network Activate/ Deactivate interfaces
Assign IP address/ DHCP
Modify DNS settings
Modify gateway address
Network Configuration File Ethernet Devices 1) Device configuration is stored in text files /etc/sysconfig/network-scripts/ifcfg-ethx
Complete list of options in /usr/share/doc/initscripts-*/sysconfig.txt
Network Configuration Files Other Global Network Settings 1) Global settings in /etc/sysconfig/network Many may be provided by DHCP
GATEWAY can be overridden in ifcfg file
Network Configuration Files DNS Configuration 1) Domain Name Service translate hostname to network address 2) Server address is specified by dhcp or in /etc/resolv.conf nameserver 192.168.0.254 nameserver 192.168.1.254 Printing in Linux 1) Printers may be local or networked 2) Print requests are sent to queues 3) Queued jobs are sent to the printer on a first come first served basis 4) Jobs may be canceled before or during printing system-config-printer 1) System –> Administration –> Printing 2) Supported printer connections: Local (parallel or usb)
Unix/Linux print server
Window print server
Netware print server
HP JetDirect
3) Configuration stored in /etc/cups/printers.conf Printing Commands 1) lpr sends a job to the queue to be printed Accepts ASCII, PostScript, PDF, others
2) lpq views the contents of the queue 3) lprm removes a job from the queue 4) System V printing commands such as lp, lpstat and cancel are also supported Printing Utilities 1) evince views PDF documents 2) lpstat –a lists configured printers 3) enscript and a2ps converts text to PostScript 4) ps2pdf converts PostScript to PDF 5) mpage prints multiple page per sheet Setting the System’s Date and Time 1) GUI: system-config-date System –> Administration –> Date & Time
Can set date/time manually or use NTP
Additional NTP servers can be added
Can use local time or UTC
2) CLI: date [MMDDhhmm[[CC]YY][.ss]] date 01011330
date 010113302007.05
End of Unit10 1) Quetions and Answers 2) Summary system-config-network
/etc/sysconfig/network-scripts/*
ifup, ifdown
date configures date/time from CLI
system-config-date configures date/time from GUI
Send text to printer
Set the system’s date and time
TCP/IP Network Configuration 1) Important network settings: IP Configuration
Device Activation
DNS Configuration
Default Gateway
Managing Ethernet Connections 1) Network interfaces are named sequentially: eth0, eth1, etc Multiple addresses can be assigned to a device with aliases
Aliases are labeled eth0:1, eth0:2, etc.
Aliases are treated like spereated interfaces
2) View interface configuration with ifconfig [ethx] 3) Enable interface with ifup ethx 4) Disable interface with ifdown ethx Graphical Network Configuration system-config-network 1) System –> Administration –> Network Activate/ Deactivate interfaces
Assign IP address/ DHCP
Modify DNS settings
Modify gateway address
Network Configuration File Ethernet Devices 1) Device configuration is stored in text files /etc/sysconfig/network-scripts/ifcfg-ethx
Complete list of options in /usr/share/doc/initscripts-*/sysconfig.txt
Network Configuration Files Other Global Network Settings 1) Global settings in /etc/sysconfig/network Many may be provided by DHCP
GATEWAY can be overridden in ifcfg file
Network Configuration Files DNS Configuration 1) Domain Name Service translate hostname to network address 2) Server address is specified by dhcp or in /etc/resolv.conf nameserver 192.168.0.254 nameserver 192.168.1.254 Printing in Linux 1) Printers may be local or networked 2) Print requests are sent to queues 3) Queued jobs are sent to the printer on a first come first served basis 4) Jobs may be canceled before or during printing system-config-printer 1) System –> Administration –> Printing 2) Supported printer connections: Local (parallel or usb)
Unix/Linux print server
Window print server
Netware print server
HP JetDirect
3) Configuration stored in /etc/cups/printers.conf Printing Commands 1) lpr sends a job to the queue to be printed Accepts ASCII, PostScript, PDF, others
2) lpq views the contents of the queue 3) lprm removes a job from the queue 4) System V printing commands such as lp, lpstat and cancel are also supported Printing Utilities 1) evince views PDF documents 2) lpstat –a lists configured printers 3) enscript and a2ps converts text to PostScript 4) ps2pdf converts PostScript to PDF 5) mpage prints multiple page per sheet Setting the System’s Date and Time 1) GUI: system-config-date System –> Administration –> Date & Time
Can set date/time manually or use NTP
Additional NTP servers can be added
Can use local time or UTC
2) CLI: date [MMDDhhmm[[CC]YY][.ss]] date 01011330
date 010113302007.05
End of Unit10 1) Quetions and Answers 2) Summary system-config-network
/etc/sysconfig/network-scripts/*
ifup, ifdown
date configures date/time from CLI
system-config-date configures date/time from GUI
相关文章推荐
- RH033 Unit10 Baisc System Configuration Tools
- RH033 Unit 10 Basic System Configuration Tools
- RH033 Unit17 Essential System Administration Tools
- RH033 Unit17 Essential System Administration Tools
- Eclipse maven工程 Missing artifact com.sun:tools:jar:1.5.0:system 解决方法
- 使用应答文件部署System Center Configuration Manager
- 使用ConfigurationManager需要在.net引用中添加System.Configuration引用
- 《Springboot极简教程》问题解决:Logging system failed to initialize using configuration from 'logback.xml '
- 使用Visual Studio Team System 2010 Team Foundation Server Power Tools修改工作项类型定义
- 引用了System.Configuration命名空间,却找不到ConfigurationManager类
- Ubuntu 虚拟机不显示桌面 Vmware Tools is currently being installed on your system
- NO.69 AR Tools-System.out/err查找、清除工具
- [转载]Enterprise Library 2.0 - 从配置应用程序块(Configuration Block )到IConfigurationSource接口(SystemConfigurationSource和FileConfigurationSource)
- 安装虚拟机出现“正在进行简易安装时,无法手动启动vmware tools"以及出现解压vmware tools时,Read-only file system
- SQL Server 2005 RTM 安装错误 :The SQL Server System Configuration Checker cannot be executed due to
- [ASP.NET2.0]System.Configuration.Provider.ProviderException:The E-mail supplied is invalid
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 警告"System.Configuration.ConfigurationSettings.AppSettings”已过时,解决办法
- 【处理手记】Configuration system failed to initialize异常的另类原因
- [转]C# 解析配置文件内容 System.Configuration