This Is Your Brain On Informatics: Common Pathnames: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
* restart | * restart | ||
* force-reload | * force-reload | ||
<br /> | |||
===Network File=== | ===Network File=== | ||
Revision as of 01:14, 1 December 2013
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
| |||||||||||||||||||||||