This Is Your Brain On Informatics: Common Pathnames: Difference between revisions
No edit summary |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
===/etc/init.d/[service] [operation] | ===Restarting, reloading, etc. a Service=== | ||
<pre>/etc/init.d/[service] [operation]</pre> | |||
''Services'' | |||
* nginx | |||
* mysql | |||
* php5-fpm | |||
* denyhosts | |||
''Operations'' | |||
* start | * start | ||
* stop | * stop | ||
| Line 9: | Line 15: | ||
* force-reload | * force-reload | ||
< | ===Network File=== | ||
<pre>/etc/network/interfaces</pre> | |||
===Important [[This Is Your Brain On Informatics: DenyHosts|Deny Hosts]] Files=== | |||
The hosts.deny file is for blocking IP addresses. | |||
<pre>/etc/hosts.deny</pre> | |||
The hosts.allow file is for permanently giving access to IP addresses. | |||
<pre>/etc/host.allow</pre> | |||
{{This Is Your Brain On Informatics}} | |||
[[Category:This Is Your Brain On Informatics]] | |||