To Disallow you Media/Flash/Pendrive !! #sudo root #chmod 000 /media/ here we done,disallow your pendrive/flash media To allow you Media/Flash/Pendrive !! #sudo root #chmod 777 /media/
To change the owenership of any folder for domain user !! here i'm changing owenership of my "lampp" folder... the new owener is google\\user43 #sudo chown -R Google\\user43:root /opt/lampp/ Expl... sudo chown -R google\\user43:root /opt/lampp/ Give full permission of any folder for all #sudo chmod 777 /your folder location/ -R Expl.. sudo chmod 777 /opt/lampp/ -R
We have to create new file (workers.properties) inside /etc/apache2/ $sudo nano workers.properties #past below lines # configure jk-status worker.list=jk-status worker.jk-status.type=status worker.jk-status.read_only=true # configure jk-manager worker.list=jk-manager worker.jk-manager.type=status worker.balance1.type=lb # Define 1 real worker using ajp13 worker.list=worker1 #Set properties for worker (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 8009=Current tomcat AJP Port Conclusion ---- By using workers.properties we can manage our particular tomcat with specific website. Example for other Tomcat we have to just put some changes in the same file $sudo nano workers.properties #past below lines # configure jk-status worker.list=jk-status worker.jk-status.type=status worker.jk-status.read_only=true # configure jk-manager worker.list=jk-manager worker.jk-manager.type=status worker.balance1.type=lb # Def...