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 --listchkconfig daemon_name [on|off]
Cron
-
crontab -l, list scheduled tasks. -
crontab -e, edit scheduled tasks. /etc/crontab/etc/rc.local










网友评论