Last active
December 16, 2015 21:50
-
-
Save leventyalcin/7cec0ac28dbd6f6d9584 to your computer and use it in GitHub Desktop.
Archive notes
This file contains 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
Init Script; | |
#!/bin/bash | |
# | |
#Script to start/stop/status/restart archiva | |
# chkconfig: 35 20 80 | |
# description: Apache Archiva | |
ARCHIVA_PATH=/opt/apache-archiva-1.3.6/bin | |
case "$1" in | |
start) | |
${ARCHIVA_PATH}/archiva start | |
;; | |
stop) | |
${ARCHIVA_PATH}/archiva stop | |
;; | |
status) | |
${ARCHIVA_PATH}/archiva status | |
;; | |
restart) | |
${ARCHIVA_PATH}/archiva restart | |
;; | |
*) | |
echo $"Usage: $0 {start|stop|status|restart}" | |
exit 1 | |
esac | |
-------------------------------------------------------------------------------------------- | |
Passwords expires in 90 days at default. If you want to cancel this add below lines to [ARCHIVA_ROOT]/apps/archiva/WEB-INF/classes/org/apache/maven/archiva/security.properties | |
# Passwords never expire | |
security.policy.password.expiration.enabled=false | |
security.policy.password.expiration.days=0 | |
security.policy.allowed.login.attempt=5 | |
Source : http://archiva.apache.org/redback/configuration.html | |
-------------------------------------------------------------------------------------------- | |
Default uploads limited to 10MB and check to [ARCHIVA_ROOT]/apps/archiva/WEB-INF/classes/struts.properties | |
be sure mulipart parser exists | |
struts.configuration.xml.reload=true | |
struts.multipart.parser=jakarta | |
add this line | |
#10M default | |
struts.multipart.maxSize=314572800 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment