linux下安裝手記(jdk,subversion,ant,svnant)
安裝jdk1.5
1.下載 jdk-1_5_0_12-linux-i586.bin
http://java.sun.com/javase/downloads/index_jdk5.jsp
2.建立目錄/usr/local/java/ 拷貝jdk-1_5_0_12-linux-i586.bin到該目錄
#chmod 777 jdk-1_5_0_02-linux-i586.bin
然後就是 #./jdk-1_5_0_02-linux-i586.bin 執行
剛開始是提示一屏一屏的資訊,沒有耐心回車,就按下 CTRL+C,提示是否開始解壓,當然,輸Yes,在 當前目錄下 出現了一個 jdk1.5.0_02資料夾
3. 建立檔案/etc/profile.d/java.sh內容如下
#set java environment
export JAVA_HOME=/usr/local/java/jdk1.5.0.12
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
然後更改訪問許可權:#chmod 755 /etc/profile.d/java.sh
安裝ant1.7
1. apache-ant-1.7.0-bin.zip
http://apache.mirror.phpchina.com/ant/binaries/apache-ant-1.7.0-bin.zip
2.建立目錄/usr/local/ant/ 解壓縮apache-ant-1.7.0-bin.zip並將lib和bin兩個資料夾拷貝到該目錄下
3. 建立檔案/etc/profile.d/ant.sh內容如下
#set ant environment
export ANT_HOME=/usr/local/ant
export PATH=$PATH:$ANT_HOME/bin
然後更改訪問許可權:#chmod 755 /etc/profile.d/ant.sh
安裝svnant1.0
下載:http://subclipse.tigris.org/files/documents/906/32898/svnant-1.0.0.zip
解壓後將目錄lib下svnant.jar svnClientAdapter.jar svnjavahl.jar 三個檔案拷到/usr/local/ant/lib下
安裝subversion
1.裝subversion,最好之前裝過apr和apr-util,在apache.org網站能下到
http://apr.apache.org/download.cgi
下載apr-1.2.11.tar.gz和apr-util-1.2.10.tar.gz
安裝 apr
# cd <download-directory>
# tar xzvf apr-1.2.11.tar.gz
# cd apr-1.2.11
# ./configure --prefix=/usr/local/apr
# make
# make install
安裝 apr-util
# cd <download-directory>
# tar xzvf apr-util-1.2.10.tar.gz
# cd apr-util-1.2.10
# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
# make
# make install
2. 下載subversion-1.3.2.tar.gz
http://subversion.tigris.org/downloads/subversion-1.3.2.tar.gz
安裝
# cd <download-directory>
# tar xzvf subversion-1.3.2.tar.gz
# cd subversion-1.3.2
#./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
# make
# make install
相關文章
- linux 下安裝 jdkLinuxJDK
- 在Linux下安裝JDKLinuxJDK
- linux下安裝jdk1.8LinuxJDK
- Linux下jdk的安裝解除安裝切換LinuxJDK
- Linux下jdk1.8的下載安裝LinuxJDK
- Linux安裝JDKLinuxJDK
- (Linux)CentOS7下安裝JDK 1.8LinuxCentOSJDK
- Linux下jdk8安裝步驟LinuxJDK
- Linux安裝JDK流程LinuxJDK
- Linux下檢視jdk安裝路徑版本、安裝jdk、配置環境變數LinuxJDK變數
- linux 解除安裝jdk和安裝LinuxJDK
- 分享Linux下安裝jdk8步驟LinuxJDK
- Linux下安裝JDK及環境設定LinuxJDK
- Ubuntu下JDK安裝UbuntuJDK
- 【 Linux 軟體安裝 】- 1 JDK安裝LinuxJDK
- jdk在linux下安裝、配置環境變數JDKLinux變數
- Linux 安裝 JDK17LinuxJDK
- Linux安裝JDK1.8LinuxJDK
- Linux7安裝JDKLinuxJDK
- Linux安裝jdk環境LinuxJDK
- Ant安裝
- Linux(CentOS)安裝JDK1.8LinuxCentOSJDK
- Linux(jdk+tomcat配置安裝)LinuxJDKTomcat
- CentOS Linux7 安裝JDKCentOSLinuxJDK
- Linux系統快速安裝JDKLinuxJDK
- Linux安裝JDK完整步驟LinuxJDK
- Linux伺服器---安裝jdkLinux伺服器JDK
- linux中安裝JDK linux中安裝Tomcat linux中安裝Mysql 及故障解析 linux系統安裝redisLinuxJDKTomcatMySqlRedis
- subversion 安裝各種異常 之 SQLiteSQLite
- jdk的下載與安裝JDK
- CenOS 7下安裝jdk 8JDK
- 【Linux】Centos7.6 安裝JDK 1.8LinuxCentOSJDK
- Linux下Oracle 11.2.0.1 RAC安裝筆記LinuxOracle筆記
- Windows 下JDK綠色免安裝WindowsJDK
- MAC下載JDK及安裝AndroidStudioMacJDKAndroid
- Linux安裝jdk的詳細步驟。LinuxJDK
- Linux上安裝jdk Tomcat mysql redis等LinuxJDKTomcatMySqlRedis
- Linux安裝jdk的詳細步驟LinuxJDK
- Linux實用之Java(JDK)環境安裝LinuxJavaJDK