This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Location /svn> | |
DAV svn | |
SVNListParentPath On | |
SVNParentPath /var/svnproject | |
AuthzSVNAccessFile /var/svnproject/svn-access-file | |
AuthType Basic | |
AuthName "Subversion repository" | |
AuthUserFile /var/svnproject/svn-auth-file | |
Require valid-user | |
LimitXMLRequestBody 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Helper function to parse xml #################################################################################### | |
function rdom () { local IFS=\> ; read -d \< E C ;} | |
## pass tag name as parameter | |
function parseFirstElement () { | |
while rdom; do | |
if [[ $E = $1 ]]; then | |
echo $C | |
return 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Tomcat Startup and Shutdown Script for Instances Behind Proxy Server | |
#Created By Mughil Anand Nainar | |
exit_usage () | |
{ | |
USAGE="Usage: $1 { start | stop | version } $2 (linux) $3 ( instance0 | instance1 )" | |
echo "${USAGE}" | |
exit 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################################################################## | |
# Script for auto install of graphite in Debian and Ubuntu based system | |
# URL : http://graphite.wikidot.com/installation | |
# Created By Mughil Anand Nainar | |
######################################################################## | |
#################################### | |
# GRPHITE Dependancy Installation | |
#################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Tomcat Startup and Shutdown Script For Individual Instances | |
# Created By Mughil Anand Nainar | |
export JAVA_HOME="/usr/local/java/java" | |
export CATALINA_HOME="/usr/local/tomcat/instance1" | |
export JAVA_OPTS="-server -Dapp.log.environment=test -Xmx1024M -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+PrintGCDateStamps -Xloggc:/var/log/tomcat/gc.log -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" | |
start() { | |
export CATALINA_BASE="/usr/local/tomcat/$1" |