Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Book review
- django
- MySQL
- Book
- Italy
- essay
- RFID
- Spain
- ubuntu
- France
- Malaysia
- management
- leadership
- programming_book
- program
- erlang
- psychology
- Linux
- hbase
- comic agile
- hadoop
- Programming
- QT
- Software Engineering
- web
- Python
- agile
- history
- Java
- Kuala Lumpur
Archives
- Today
- Total
[Cent OS 5.6] install maven2-2.2.1 본문
https://geni-orca.renci.org/trac/wiki/centosSetup
1. add repository
# cd /etc/yum.repos.d
# wget http://www.jpackage.org/jpackage50.repo
2. install maven (2.0.7)
# yum install maven2
http://www.cahilig.net/2011/03/24/how-install-oracle-java-runtime-environment-fedora-14-64-bit
3. change java package from openjdk into others (if necessary)
# alternatives --config java
# wget http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.tar.gz
# tar xvfz apache-maven-2.2.1-bin.tar.gz
# mv apache-maven-2.2.1 /usr/share
# alternatives --install /etc/alternatives/maven maven /usr/share/maven2 1
# alternatives --install /etc/alternatives/maven maven /usr/share/apache-maven-2.0.10 1
# ln -s /etc/alternatives/maven /usr/share/maven
# alternatives --config maven
# vi /usr/bin/mvn
change 'export M2_HOME=/usr/share/maven2' into 'export M2_HOME=/usr/share/apache-maven-2.2.1'
1. add repository
# cd /etc/yum.repos.d
# wget http://www.jpackage.org/jpackage50.repo
2. install maven (2.0.7)
# yum install maven2
http://www.cahilig.net/2011/03/24/how-install-oracle-java-runtime-environment-fedora-14-64-bit
3. change java package from openjdk into others (if necessary)
# alternatives --config java
# wget http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.tar.gz
# tar xvfz apache-maven-2.2.1-bin.tar.gz
# mv apache-maven-2.2.1 /usr/share
# alternatives --install /etc/alternatives/maven maven /usr/share/maven2 1
# alternatives --install /etc/alternatives/maven maven /usr/share/apache-maven-2.0.10 1
# ln -s /etc/alternatives/maven /usr/share/maven
# alternatives --config maven
# vi /usr/bin/mvn
change 'export M2_HOME=/usr/share/maven2' into 'export M2_HOME=/usr/share/apache-maven-2.2.1'
Comments