sonatype-work 이란 폴더와 nexus-version 두 개의 폴더가 생성된다. nexus-version 폴더(ex: nexus-2.6.3-01) 로 이동한다.
cd nexus-2.6.3-01
vi conf/nexus.properties 하여 설정을 편집한다.
# Jetty section
## WAS 의 app port. SELinux 를 쓸 경우 다른 포트로 변경한다. (Ex. 8080)
application-port=8081
application-host=0.0.0.0
nexus-webapp=${bundleBasedir}/nexus
## http://localhost:8081/nexus 로 연결해야 한다. /nexus 가 싫고 / 로 연결하고 싶을 경우 아래의 /nexus 를 / 로 변경한다.
nexus-webapp-context-path=/nexus
# Nexus section
## artifact 가 저장되는 폴더이다. 다른 경로에 있을 경우 수정한다. 이 폴더는 꼭 백업을 해줘야 한다.
nexus-work=${bundleBasedir}/../sonatype-work/nexus
runtime=${bundleBasedir}/nexus/WEB-INF