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: