Difference between revisions of "This Is Your Brain On Informatics: Common Pathnames"

From Pathology Education Instructional Resource
Jump to: navigation, search
(Important Deny Hosts Files)
Line 16: Line 16:
 
* force-reload
 
* force-reload
  
<br />
+
 
  
 
===Network File===
 
===Network File===
Line 25: Line 25:
 
===Important [[This Is Your Brain On Informatics: DenyHosts|Deny Hosts]] Files===
 
===Important [[This Is Your Brain On Informatics: DenyHosts|Deny Hosts]] Files===
  
<p>
 
 
The hosts.deny file is for blocking IP addresses.
 
The hosts.deny file is for blocking IP addresses.
</p>
 
  
 
<pre>/etc/hosts.deny</pre>
 
<pre>/etc/hosts.deny</pre>
  
<br />
 
  
<p>
 
 
The hosts.allow file is for permanently giving access to IP addresses.
 
The hosts.allow file is for permanently giving access to IP addresses.
</p>
+
 
  
 
<pre>/etc/host.allow</pre>
 
<pre>/etc/host.allow</pre>

Revision as of 20:16, 18 March 2014

Restarting, reloading, etc. a Service

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

Services

  • nginx
  • mysql
  • php5-fpm
  • denyhosts

Operations

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


Network File

/etc/network/interfaces


Important Deny Hosts Files

The hosts.deny file is for blocking IP addresses.

/etc/hosts.deny


The hosts.allow file is for permanently giving access to IP addresses.


/etc/host.allow