apache in docker to serve local website

2015-01-05 2 min read Fedora Vurtualization
I have some backup’s of website on my laptop, which I occasionally want to view. Now, I could have setup apache to serve them directly with VirtualHost or alias but wanted a better solution. So, docker comes to rescue. First, I installed fedora-dockerfiles and then made some modifications, here they are : sudo yum install fedora-dockerfiles After this is done, go to /usr/share/fedora-dockerfiles/apache and make some modification to Dockerfile. After the modifications, the file looks like this Continue reading

Apache server-status – better looking

2014-08-18 2 min read Linux
Apache provides a module to see the server-status. However the page is not too good looking. So, if you want to see a better looking information page, then you can download : http://sourceforge.net/projects/pimpapachestat/ More details from the readme file of the project: REQUIREMENTS On the system you want to install the pimped Apache status: – any webserver with php 5 (with curl; no database is needed) On all webservers you want to monitor: Continue reading

Inotify Example - Introduction to Inotify with a C Program Example

2010-05-24 1 min read C Programs Learning Linux
<a href="http://www.thegeekstuff.com/2010/04/inotify-c-program-example/">Inotify Example: Introduction to Inotify with a C Program Example: <a class="zem_slink freebase/en/inotify" href="http://en.wikipedia.org/wiki/Inotify" title="Inotify" rel="wikipedia">inotify utility is an effective tool to monitor and notify <a class="zem_slink freebase/en/file_system" href="http://en.wikipedia.org/wiki/File_system" title="File system" rel="wikipedia">filesystem changes. You can specify a list of files and directories that needs to be monitored by inotify. This <a class="zem_slink freebase/guid/9202a8c04000641f8000000000023d0f" href="http://en.wikipedia.org/wiki/Library" title="Library" rel="wikipedia">library is used by various other programs. For example, <a class="zem_slink freebase/en/cpan" href="http://www.cpan.org/" title="CPAN" rel="homepage">CPAN module Linux::Inotify is developed based on this library. Continue reading