RHEL Express

Introduction

  • RHEL(Red Hat Enterprise Linux)

    • Most popular Enterprise Linux distribution.
    • The de facto standard.
    • It's open source.
    • But software updates are available only through a paid subscription service.
  • CentOS(Community ENTerprise Operating System) RECOMMENDED

    • Building from the source of RHEL.
    • 100% binary compatibility with RHEL.
    • Free to receive software updates.

Basic

TUI(Text User Interface)

  • Terminal
  • SSH(Secure SHell), a protocol and also an client/server applications.
  • OpenSSH, client and server suite.
  • Xshell and Xftp, client suite for windows.

Filesystem

  • man hier

Basis

  • pwd, display the current diretory.
  • ls, list files and diretories under the the current diretory.
  • cd, change to the specified diretory.

Configuration

Locale

  • LANG, /etc/sysconfig/i18n
  • Timezone, /etc/localtime
  • Clock, /etc/sysconfig/clock

Hostname

  • /etc/sysconfig/network
  • /etc/hosts

Network

  • Adapter, /etc/sysconfig/network-scripts/ifcfg-ethX
  • Route, /etc/sysconfig/network-scripts/route-ethX
  • Gateway, /etc/sysconfig/network
  • DNS, /etc/resolv.conf

Service

  • service daemon_name [start|staus|stop|restart]
  • chkconfig --list
  • chkconfig daemon_name [on|off]

Cron

  • crontab -l, list scheduled tasks.
  • crontab -e, edit scheduled tasks.
  • /etc/crontab
  • /etc/rc.local

推荐阅读更多精彩内容