CST8177 - Linux II service examples: ssh, httpd Todd Kelley kelleyt@algonquincollege.com CST8177- Todd Kelley 1 .assignment09 questions .assignment10 questions .services and logging overview .sshd .httpd 2 Today's Topics .Services are provided by programs running in the background, with no terminal .No terminal means these programs are .not designed to be controlled by a keyboard .not designed to display output to a screen .They are started/stopped/restarted by their init script in /etc/init.d/ .at bootup or change-of-runlevel automatically, or .manually with service command .They send their "output" messages to the syslog service Services/Logging overview CST8177 - Todd Kelley 3 .Their behavior is controlled by a config file, where the admin specifies settings .They often provide the "server side" for a client: .ftp client program running on a local computer connects to an ftp server program running on a remote computer .ssh client program running on a local computer connects to an ssh server program running on a remote computer .a web browser running on a local computer connects to a web server running on a remote computer Services/Logging overview CST8177 - Todd Kelley 4 .SSH .configure port .configure logging .HTTP .install it .chkconfig it .start it .firewalling .play with default document .configuration file to change its behaviors Examples CST8177 - Todd Kelley 5