Server Services, Cont'd, Cont'd

Server Services, Cont'd, Cont'd

Server Services, cont’d, cont’d Hands-On Unix Systems Administraon Decal 2012-03-19 NFS • /etc/fstab file contains file systems to mount • NFS can be extension of that • Automount can also be used for NFS • Usually need to be root to mount anything Daemons • A program that runs in the background is called a daemon • Many services run as daemons, including Apache and SSH • Services are frequently controlled by init scripts • Some daemons have their own management tools (e.g., apache2ctl) Init.d • Used primarily by Debian • S3ll has rc*.d, where * = 0,1,2,3,4,5,6, and S • Folders are in /etc • Symbolic links to /etc/init.d • E.g. /etc/init.d/ssh restart will restart your SSH server • /etc/init.d/ssh {start|stop|reload|force-reload|restart|try- restart|status} Super-Server Daemon • A super-server daemon listens on mul3ple ports • Spawns other server processes to handle incoming requests • Inetd connects network sockets to server processes’ stdin and stdout • Makes it really easy to write your own server! • Other super-servers: xinetd, launchd, etc. General Run Levels Run Level Name Descripon 0 Halt Shuts down the system 1 Single-User Mode Mode for administrave tasks 2 Mul3-User Mode Does not configure network interfaces and does not export networks services 3 Mul3-User Mode with Starts the system Networking normally 4 Not used/User-definable For special purposes 5 Start the system Same as runlevel 3 + normally with display manager appropriate display manager (with GUI) 6 Reboot Reboots the system Debian Run Levels Run Level Name Descripon 0 Halt Shuts down the system 1 Single-User Mode Mode for administrave tasks 2-5 Full Mul3-User with console logins and Combinaon of general display manager if run levels 2-5 installed 6 Reboot Reboots the system .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us