To do log rotation for Apache, we can use a tool called logrotate. Install in your machine if the command…
Linux
Apache Tomcat Logs: Windows The main Apache Tomcat configuration file is at C:\Program Files\Apache Software Foundation\Tomcat 9\conf\server.xml. Once Apache Tomcat…
How to resize a logical volume in Linux with 5 simple commands Its easy to add capacity or Increase size…
There are many ways to do this. This one is my very simple. ###### Find & Replace in Multiple Files…
Scenario : we have files under different folders under parent directory /data file names are like 1.abc.txt , 2.abc.txt ,…
Digest Authentication You can put a password hash, rather than plain text passwords, into the configuration file. Changes need to…
Compress : #tar -zcvf savelocation/fileneme.tar.gz directory-name-you-want-to-compress #tar -zcvf /tmp/compressedfile.tar.gz /data/folder Above command will create an archive file named compressedfile.tar.gz under…
Simple example with 7 steps to have a user deleted properly from a RHEL Linux server. 1. Lock the User:…
virbr0 interface in Linux and how do I disable it? What is the virbr0 bridge device? The virbr0 bridge interface…