This Is Your Brain On Informatics: Linux Commands

From Pathology Education Instructional Resource
Revision as of 04:26, 1 December 2013 by Tikenn (talk | contribs) (Created page with "===Resetting and Reloading Services=== <pre>/etc/init.d/[service] [operation]</pre> ''Operation'' * start * stop * reload * restart * force-reload ''Services'' * nginx * my...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Resetting and Reloading Services

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

Operation

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

Services

  • nginx
  • mysql
  • php5-fpm
  • denyhosts

Network File

/etc/network/interfaces

Important Files for DenyHosts

File for denying IP addresses.

/etc/hosts.deny


File for permanently allowing an IP address.

/etc/host.allow