SlideShare a Scribd company logo
1 of 13
Download to read offline
RedHat Enterprise Linux Essential
Unit 9: Basic System Configuration Tools
Objectives

 Upon completion of this unit, you should be able to:
   Configure date, network and printer settings

   Send text to the printer

   Set the system's date and time
TCP/IP Network Configuration

 Important network settings:

    IP Configuration

    Device Activation

    DNS Configuration

    Default Gateway
Managing Ethernet Connections

 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 separate interfaces

 View interface configuration with ifconfig

        ifconfig ; ifconfig –a ; ifconfig eth0
 Enable interface with ifup ethX [ifconfig ethX up]

 Disable interface with ifdown ethX [ifconfig ethX down]
Graphical Network Configuration
                system-config-network
 System->Administration->Network
   Activate/Deactivate interfaces

   Assign IP Addresses/DHCP

   Modify DNS settings

   Modify gateway address
Network Configuration Files
                         Ethernet Devices

 Device configuration is stored in text files
    /etc/sysconfig/network-scripts/ifcfg-ethX

     syntax: variable=value
    Complete list of options in /usr/share/doc/initscripts-*/sysconfig.txt

    Dynamic Configuration               Static Configuration

    DEVICE=ethX                         DEVICE=ethX
    HWADDR=0:02:8A:A6:30:45             HWADDR=0:02:8A:A6:30:45
    BOOTPROTO=dhcp                      IPADDR=192.168.0.254
    ONBOOT=yes                          NETMASK=255.255.255.0
    Type=Ethernet                       GATEWAY=192.168.2.254
                                        ONBOOT=yes
                                        Type=Ethernet
Network Configuration Files
               Other Global Network Settings
 Global Settings in /etc/sysconfig/network
    Many may be provided by DHCP

    GATEWAY can be overridden in ifcfg file

      NETWORKING=yes

      HOSTNAME=server1.example.com

      GATEWAY=192.168.2.254
Network Configuration Files
                  DNS Configuration

 Domain Name Service translates hostnames to network
  addresses
 Server address is specified by dhcp or in /etc/resolv.conf
     search example.com cracker.org

     nameserver 192.168.0.254

     nameserver 192.168.1.254
Printing in Linux

 Printers may be local or networked

 Print requests are sent to queues

 Queued jobs are sent to the printer on a first come first served
  basis
 Jobs may be canceled before or during printing
Printing Commands


 lpr sends a job to the queue to be printed
    Accepts ASCII, PostScript, PDF, others

 lpq views the contents of the queue

 lprm removes a job from the queue

 System V printing commands such as lp, lpstat and cancel
  are also supported
Printing Utilities


 evince views PDF documents

 lpstat -a lists configured printers

 enscript and a2ps convert text to PostScript

 ps2pdf converts PostScript to PDF

 mpage prints multiple pages per sheet
Setting the System's Date and Time

 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

 CLI: date [MMDDhhmm[[CC]YY][.ss]]

     # date 01011330

     # date 010113302007.05
Unit 9 basic system configuration tools

More Related Content

What's hot

operating system structure
operating system structureoperating system structure
operating system structureHAMZA AHMED
 
Wk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnectionWk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnectionlimyamahgoub
 
Operating system || Chapter 3: Process
Operating system || Chapter 3: ProcessOperating system || Chapter 3: Process
Operating system || Chapter 3: ProcessAnkonGopalBanik
 
Unit1 four part basic computer organization
Unit1 four part basic computer organizationUnit1 four part basic computer organization
Unit1 four part basic computer organizationNeha Kurale
 
How does data flow around a computer system p3 1
How does data flow around a computer system p3 1How does data flow around a computer system p3 1
How does data flow around a computer system p3 1lukecisco1
 
System Z operating system
System Z operating systemSystem Z operating system
System Z operating systemArpana shree
 
2 operating system structures
2 operating system structures2 operating system structures
2 operating system structuresDr. Loganathan R
 
Ch1: Operating System- Introduction
Ch1: Operating System- IntroductionCh1: Operating System- Introduction
Ch1: Operating System- IntroductionAhmar Hashmi
 
Operating system
Operating systemOperating system
Operating systemmarar hina
 
Operating system Concepts
Operating system Concepts Operating system Concepts
Operating system Concepts RANVIJAY GAUR
 
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
OPERATING SYSTEMSDESIGN AND IMPLEMENTATIONOPERATING SYSTEMSDESIGN AND IMPLEMENTATION
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION sathish sak
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturevenkateswarlu G
 

What's hot (20)

Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Wk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnectionWk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnection
 
Operating system || Chapter 3: Process
Operating system || Chapter 3: ProcessOperating system || Chapter 3: Process
Operating system || Chapter 3: Process
 
CS6401 Operating Systems
CS6401 Operating SystemsCS6401 Operating Systems
CS6401 Operating Systems
 
Unit1 four part basic computer organization
Unit1 four part basic computer organizationUnit1 four part basic computer organization
Unit1 four part basic computer organization
 
Basic computer system
Basic computer systemBasic computer system
Basic computer system
 
OSCh1
OSCh1OSCh1
OSCh1
 
How does data flow around a computer system p3 1
How does data flow around a computer system p3 1How does data flow around a computer system p3 1
How does data flow around a computer system p3 1
 
System Z operating system
System Z operating systemSystem Z operating system
System Z operating system
 
2 operating system structures
2 operating system structures2 operating system structures
2 operating system structures
 
Ch1: Operating System- Introduction
Ch1: Operating System- IntroductionCh1: Operating System- Introduction
Ch1: Operating System- Introduction
 
Operating system
Operating systemOperating system
Operating system
 
Cs8493 unit 1
Cs8493 unit 1Cs8493 unit 1
Cs8493 unit 1
 
OSCh2
OSCh2OSCh2
OSCh2
 
Operating system Concepts
Operating system Concepts Operating system Concepts
Operating system Concepts
 
operating system
operating systemoperating system
operating system
 
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
OPERATING SYSTEMSDESIGN AND IMPLEMENTATIONOPERATING SYSTEMSDESIGN AND IMPLEMENTATION
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
 
Introduction to computer system
Introduction to computer systemIntroduction to computer system
Introduction to computer system
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 

Viewers also liked

Viewers also liked (11)

11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1
 
2 the visible pc
2 the visible pc2 the visible pc
2 the visible pc
 
ICTCoreCh11
ICTCoreCh11ICTCoreCh11
ICTCoreCh11
 
a+ ptc
a+ ptca+ ptc
a+ ptc
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output Architecture
 
Control Panel
Control PanelControl Panel
Control Panel
 
Brain gate
Brain gateBrain gate
Brain gate
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
 
Control panel
Control panelControl panel
Control panel
 
Configuration In Tally .ERP 9
Configuration In Tally .ERP 9Configuration In Tally .ERP 9
Configuration In Tally .ERP 9
 
Brain gate
Brain gateBrain gate
Brain gate
 

Similar to Unit 9 basic system configuration tools

Network configuration
Network configurationNetwork configuration
Network configurationengshemachi
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntaxguestcc37e8c
 
Networking For Application Developers by Roy Kim
Networking For Application Developers by Roy KimNetworking For Application Developers by Roy Kim
Networking For Application Developers by Roy KimRoy Kim
 
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPWalid Umar
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-adminbadamisri
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-adminbadamisri
 
101 apend. networking linux
101 apend. networking linux101 apend. networking linux
101 apend. networking linuxAcácio Oliveira
 
Installation Of An Iso Image Dvd
Installation Of An Iso Image DvdInstallation Of An Iso Image Dvd
Installation Of An Iso Image DvdSusan Cox
 

Similar to Unit 9 basic system configuration tools (20)

Network configuration
Network configurationNetwork configuration
Network configuration
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntax
 
Ch16 system administration
Ch16 system administration Ch16 system administration
Ch16 system administration
 
Linux network configuration
Linux network configurationLinux network configuration
Linux network configuration
 
Networking 101
Networking 101Networking 101
Networking 101
 
Networking 101
Networking 101Networking 101
Networking 101
 
Networking 101
Networking 101Networking 101
Networking 101
 
Networking 101
Networking 101Networking 101
Networking 101
 
nwlab-ex1.pdf
nwlab-ex1.pdfnwlab-ex1.pdf
nwlab-ex1.pdf
 
CN 1.docx
CN 1.docxCN 1.docx
CN 1.docx
 
Networking For Application Developers by Roy Kim
Networking For Application Developers by Roy KimNetworking For Application Developers by Roy Kim
Networking For Application Developers by Roy Kim
 
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux Conf Admin
Linux Conf AdminLinux Conf Admin
Linux Conf Admin
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
101 apend. networking linux
101 apend. networking linux101 apend. networking linux
101 apend. networking linux
 
Dhcp confg
Dhcp confgDhcp confg
Dhcp confg
 
Installation Of An Iso Image Dvd
Installation Of An Iso Image DvdInstallation Of An Iso Image Dvd
Installation Of An Iso Image Dvd
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Lession4 Dhcp
Lession4 DhcpLession4 Dhcp
Lession4 Dhcp
 

More from root_fibo

Unit 13 network client
Unit 13 network clientUnit 13 network client
Unit 13 network clientroot_fibo
 
Unit 12 finding and processing files
Unit 12 finding and processing filesUnit 12 finding and processing files
Unit 12 finding and processing filesroot_fibo
 
Unit 11 configuring the bash shell – shell script
Unit 11 configuring the bash shell – shell scriptUnit 11 configuring the bash shell – shell script
Unit 11 configuring the bash shell – shell scriptroot_fibo
 
Unit3 browsing the filesystem
Unit3 browsing the filesystemUnit3 browsing the filesystem
Unit3 browsing the filesystemroot_fibo
 
Unit 10 investigating and managing
Unit 10 investigating and managingUnit 10 investigating and managing
Unit 10 investigating and managingroot_fibo
 
Unit 8 text processing tools
Unit 8 text processing toolsUnit 8 text processing tools
Unit 8 text processing toolsroot_fibo
 
Unit 7 standard i o
Unit 7 standard i oUnit 7 standard i o
Unit 7 standard i oroot_fibo
 
Unit 6 bash shell
Unit 6 bash shellUnit 6 bash shell
Unit 6 bash shellroot_fibo
 
Unit 5 vim an advanced text editor
Unit 5 vim an advanced text editorUnit 5 vim an advanced text editor
Unit 5 vim an advanced text editorroot_fibo
 
Unit 4 user and group
Unit 4 user and groupUnit 4 user and group
Unit 4 user and grouproot_fibo
 

More from root_fibo (11)

Unit 13 network client
Unit 13 network clientUnit 13 network client
Unit 13 network client
 
Unit 12 finding and processing files
Unit 12 finding and processing filesUnit 12 finding and processing files
Unit 12 finding and processing files
 
Unit 11 configuring the bash shell – shell script
Unit 11 configuring the bash shell – shell scriptUnit 11 configuring the bash shell – shell script
Unit 11 configuring the bash shell – shell script
 
Unit3 browsing the filesystem
Unit3 browsing the filesystemUnit3 browsing the filesystem
Unit3 browsing the filesystem
 
Unit 10 investigating and managing
Unit 10 investigating and managingUnit 10 investigating and managing
Unit 10 investigating and managing
 
Unit 8 text processing tools
Unit 8 text processing toolsUnit 8 text processing tools
Unit 8 text processing tools
 
Unit 7 standard i o
Unit 7 standard i oUnit 7 standard i o
Unit 7 standard i o
 
Unit 6 bash shell
Unit 6 bash shellUnit 6 bash shell
Unit 6 bash shell
 
Unit 5 vim an advanced text editor
Unit 5 vim an advanced text editorUnit 5 vim an advanced text editor
Unit 5 vim an advanced text editor
 
Unit 4 user and group
Unit 4 user and groupUnit 4 user and group
Unit 4 user and group
 
Unit2 help
Unit2 helpUnit2 help
Unit2 help
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Unit 9 basic system configuration tools

  • 1. RedHat Enterprise Linux Essential Unit 9: Basic System Configuration Tools
  • 2. Objectives  Upon completion of this unit, you should be able to:  Configure date, network and printer settings  Send text to the printer  Set the system's date and time
  • 3. TCP/IP Network Configuration  Important network settings:  IP Configuration  Device Activation  DNS Configuration  Default Gateway
  • 4. Managing Ethernet Connections  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 separate interfaces  View interface configuration with ifconfig ifconfig ; ifconfig –a ; ifconfig eth0  Enable interface with ifup ethX [ifconfig ethX up]  Disable interface with ifdown ethX [ifconfig ethX down]
  • 5. Graphical Network Configuration system-config-network  System->Administration->Network  Activate/Deactivate interfaces  Assign IP Addresses/DHCP  Modify DNS settings  Modify gateway address
  • 6. Network Configuration Files Ethernet Devices  Device configuration is stored in text files  /etc/sysconfig/network-scripts/ifcfg-ethX syntax: variable=value  Complete list of options in /usr/share/doc/initscripts-*/sysconfig.txt Dynamic Configuration Static Configuration DEVICE=ethX DEVICE=ethX HWADDR=0:02:8A:A6:30:45 HWADDR=0:02:8A:A6:30:45 BOOTPROTO=dhcp IPADDR=192.168.0.254 ONBOOT=yes NETMASK=255.255.255.0 Type=Ethernet GATEWAY=192.168.2.254 ONBOOT=yes Type=Ethernet
  • 7. Network Configuration Files Other Global Network Settings  Global Settings in /etc/sysconfig/network  Many may be provided by DHCP  GATEWAY can be overridden in ifcfg file NETWORKING=yes HOSTNAME=server1.example.com GATEWAY=192.168.2.254
  • 8. Network Configuration Files DNS Configuration  Domain Name Service translates hostnames to network addresses  Server address is specified by dhcp or in /etc/resolv.conf search example.com cracker.org nameserver 192.168.0.254 nameserver 192.168.1.254
  • 9. Printing in Linux  Printers may be local or networked  Print requests are sent to queues  Queued jobs are sent to the printer on a first come first served basis  Jobs may be canceled before or during printing
  • 10. Printing Commands  lpr sends a job to the queue to be printed  Accepts ASCII, PostScript, PDF, others  lpq views the contents of the queue  lprm removes a job from the queue  System V printing commands such as lp, lpstat and cancel are also supported
  • 11. Printing Utilities  evince views PDF documents  lpstat -a lists configured printers  enscript and a2ps convert text to PostScript  ps2pdf converts PostScript to PDF  mpage prints multiple pages per sheet
  • 12. Setting the System's Date and Time  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  CLI: date [MMDDhhmm[[CC]YY][.ss]] # date 01011330 # date 010113302007.05