Use netstat for view routing cache
You know, you can use netstat command to view the routing cache. Can be useful for diagnostic purpose. netstat -rnC Here is the screenshot from my machine.
You know, you can use netstat command to view the routing cache. Can be useful for diagnostic purpose. netstat -rnC Here is the screenshot from my machine.
So you are finished editing your httpd.conf file. Before restarting or reloading your httpd service you might want to check the syntax of the httpd.conf for any errors. Like we have “named-checkconf” in… Continue reading
You can use “lsb_release” command to view the distribution specific information. Below is a screen from my machine, using lsb_release with different options. Feel free to use man pages of lsb_release.
Always use the extended help for httpd. httpd -L It will display all the httpd.conf directives and the places where they are valid. For a specific directive, it tells all the possible values… Continue reading
You know you have a “stat” command, that can be used either to check the status or properties of a single file or a entire filesystem. It displays file or file system status… Continue reading
Congrats to ALL students.
Congrats to all proud Network NUTS students.
What will you do if you want to try some new directives within the apache? Typically you’ll modify the original httpd.conf to try out different Apache directives. If something doesn’t work out, you… Continue reading
You can use a entirely different DocumentRoot for apache without actually modifying “httpd.conf”. Copy of your original DocumentRoot directory (/var/www/html) to a new temporary DocumentRoot directory (/var/www/alok). Create whatever files you want. STEP… Continue reading
If you are not good at typing and make lot of mistakes. READ FURTHER. Use “shopt -s cdspell” to correct the typos in the cd command automatically. Just type – shopt -s cdspell… Continue reading