User Tools

Site Tools


acdsn:daemon_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
acdsn:daemon_installation [2012/08/21 22:07] sbolayacdsn:daemon_installation [2012/09/21 13:16] – [monit] sbolay
Line 34: Line 34:
   - modify the [[acdsn:tmpfs#etc_default_tmpfs|/etc/default/tmpfs]] file to mount heavy files/directories into memory   - modify the [[acdsn:tmpfs#etc_default_tmpfs|/etc/default/tmpfs]] file to mount heavy files/directories into memory
   - add the [[acdsn:tmpfs#etc_initd_tmpfs|tmpfs init script into /etc/init.d]] and update-rc.d tmpfs defaults 10   - add the [[acdsn:tmpfs#etc_initd_tmpfs|tmpfs init script into /etc/init.d]] and update-rc.d tmpfs defaults 10
 +  - modify the [[acdsn:networks|/etc/network/interfaces]] to allow hotplug
  
 If you want to make a automatic reverse ssh tunnel, you can add: If you want to make a automatic reverse ssh tunnel, you can add:
Line 52: Line 53:
 <code bash>aptitude purge apt-xapian-index</code> <code bash>aptitude purge apt-xapian-index</code>
  
 +==== Less is More ====
 +http://linux.koolsolutions.com/2009/05/07/how-small-can-you-make-your-linux-system-part-1/
  
 +==== monit ====
 +__From man page:__\\
 +//[[http://www.google.com/url?sa=t&rct=j&q=debian%20package%20monit&source=web&cd=1&ved=0CB8QFjAA&url=http%3A%2F%2Fpackages.debian.org%2Fmonit&ei=c-xKUJK3GeXR4QTbmoGQCQ&usg=AFQjCNGCng4CbOK-uWPXgJf-wQKs4lhtcw|monit]] is a utility for managing and monitoring processes, files, directories and filesystems on a Unix system.\\
 +Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.//
 +<code bash>aptitude install monit</code>
 +
 +=== Reference ===
 +  * [[http://www.cyberciti.biz/tips/howto-monitor-and-restart-linux-unix-service.html|Monitor and restart Apache or lighttpd webserver when daemon is killed]]
 +  * You my be interested also to the respawn option of the [[http://unixhelp.ed.ac.uk/CGI/man-cgi?inittab+5|inittab]]. (See this [[http://www.linuxquestions.org/questions/linux-general-1/automatic-restart-3541/|post]])
acdsn/daemon_installation.txt · Last modified: 2012/10/03 10:02 by sbolay