This Is Your Brain On Informatics: Common Pathnames

From Pathology Education Instructional Resource
Revision as of 21:26A normal partial thromboplastin time is 28 to 37 seconds., 22 October 2013 by Tikenn (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

/etc/init.d/[service] [operation]

This "pathname" is actually a script that causes the initiate daemon (that constantly stays in memory) to act on a service that has been input. After the service, an operation can be input in from one of the following:

  • start
  • stop
  • reload
  • restart
  • force-reload

For our purposes, the only services that we know that this script can act on are as follows:

  • nginx
  • mysql
  • php5-fpm

If you get locked out of your server, enter pico /etc/hosts.deny Once you are in that file, delete the IP address (your IP address) that has been blocked at the bottom of the file.