Install the SVN client and Maven in Linux

Source: Internet
Author: User
Tags svn client

Install the SVN client and Maven in Linux

1. Install the SVN Client

Apt-get install subversion-tools


2. Download the code

Svn co http://svn.shiwan.com/svn/shiwan/branches/program/

 

3. Update code

Cd to the directory where you want to update the code
Svn update

 

4. Install MAVEN, download the installation package, and decompress it.

Wget http://mirrors.cnnic.cn/apache/maven/maven-3/3.2.1/binaries/apache-maven-3.2.1-bin.tar.gz
Tar-zxf apache-maven-3.0.3-bin.tar.gz

 

5. edit/etc/profile

Export JAVA_HOME =/usr/lib/jvm/java-7-Oracle
Export STORM_HOME =/home/Ubuntu/java/storm-0.8.1
Export KAFKA_HOME =/home/ubuntu/java/kafka_2.9.2-0.8.1.1
Export ZOOKEEPER_HOME =/home/ubuntu/java/zookeeper-3.4.6
Export BIN_HOME =/home/ubuntu/java
Export MAVEN_HOME =/home/ubuntu/java/apache-maven-3.2.1

Export PATH = $ JAVA_HOME/bin: $ STORM_HOME/bin: $ KAFKA_HOME/bin: $ ZOOKEEPER_HOME/bin: $ BIN_HOME/bin: $ MAVEN_HOME/bin: $ PATH

 

6. Update SOURCE


Source/etc/profile

 

7. CD to a folder containing pom. xml, run

Mvn package

 

8. CD to the target folder to view the edited File

Cd to the directory where you want to update the code
Ll

Set up SVN server svn in Ubuntu 14.04 ://

CentOS 6.2 SVN setup (YUM installation)

Deploy Apache + SVN in CentOS 6.5

Build an SVN server using Apache + SVN

Set up and use the SVN server in Windows + reset the password on the client

Install SVN in Ubuntu Server 12.04 and migrate Virtual SVN data

Build svn service and migration method on Ubuntu Server

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.