Vous êtes sur la page 1sur 2

Chapter 1

---

RHCSA and RHCE Exams

1.1:

1.2: Hardware requirements

uname
• -p

cat /etc/redhat-release - Shows current version (5.x, 6.x, etc) on Red Hat, CentOS, and all Fedora-
based kernels. Note that this file can be modified to meet X requirement. Alternatives include:
• cat /etc/issue -
• lsb_release -i -r -
• uname -r - then map the kernel to a version.

GNOME - (GNU Network Object Model Environment)

Special Setup Options for Virtual Machines

cat /proc/sys/net/ipv4/ip_forward - He
/etc/sysctl.conf - set net.ipv4.ip_forward = 1

sysctl - interface for examining dynamically changing parameters in BSD and Linux OS.
• -p - lists bynaries in /etc/sysctl.conf (by default).

1.7: Configure Default File Sharing Services


Default HTTP server for RHEL 6 is Apache. Default FTP server is vsFTP.

httpd - Apache Webserver daemon.


========================================
/etc/vsftpd.conf
========================================
• /var/www/html/
• port 80

vsftpd - “very safe” file transfer protocol daemon
========================================
/etc/vsftpd.conf
========================================
• /var/ftp/pub/
• listen port - 21
• active port - 20
• Not relevant to RHCSA, but see http://slacksite.com/other/ftp.html for details.

From DVD
• mount /dev/dvd /media
• mount -o loop $isofile /media

Vous aimerez peut-être aussi