Install JDK_Maven_Subversion for CentOS6.4minimal
- /**
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See install JDK
- * @ See [root @ CentOS64 ~] # Cd/
- * @ See [root @ CentOS64/] # mkdirapp
- * @ See [root @ CentOS64 ~] # GroupaddDevelop # Add a Develop group
- * @ See [root @ CentOS64 ~] # Useradd-gDevelopJadyer # create a Jadyer user and assign it to the Develop group
- * @ See [root @ CentOS64 ~] # PasswdJadyer # set or modify the Jadyer User Password
- * @ See [root @ CentOS64/] # chown-zooadyer: Develop/app # change the owner of the/app directory to a Jadyer user and a Develop group.
- * @See[jadyer@centos64software?#tarzxvfjdk-8u40-linux-x64.tar.gz # decompress jdk
- * @ See [Jadyer @ CentOS64software] $ mvjdk1.8.0 _ 40 // app/jdk1.8.0 _ 40 # store the application in the/app directory
- * @ See [root @ CentOS64 ~] # Vi/etc/profile # configure the environment variables and save the configuration in [: x ].
- * @ See # SetJavaEnvironmentVariable
- * @ SeeJAVA_HOME =/app/jdk1.8.0 _ 40
- * @ SeePATH = $ PATH: $ JAVA_HOME/bin
- * @ SeeexportJAVA_HOMEPATH
- * @ See [root @ CentOS64 ~] # Echo $ PATH # view the current PATH
- * @ See [root @ CentOS64 ~] # Source/etc/profile # make the environment variable take effect
- * @ See [root @ CentOS64 ~] # Echo $ PATH # Check the PATH again
- * @ See [root @ CentOS64 ~] # Java-version # verify whether the verification is successful
- * @ See [Jadyer @ CentOS64 ~] $ Java-version # repeated verification (this takes effect only after a common user reconnects to the server)
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See install Maven
- * @ See [Jadyer @ localhost ~] $ Cd/app/
- * @See[Jadyer@localhostapp]$tar-zxvfapache-maven-3.2.5-bin.tar.gz
- * @See[Jadyer@localhostapp]$rm-rfapache-maven-3.2.5-bin.tar.gz
- * @ See [root @ localhostJadyer] # vi/etc/profile
- * @ See # SetMavenEnvironmentVariable
- * @ SeeMAVEN_HOME =/app/apache-maven-3.2.5
- * @ SeePATH = $ PATH: $ MAVEN_HOME/bin
- * @ SeeexportMAVEN_HOMEPATH
- * @ See [root @ localhostJadyer] # source/etc/profile
- * @ See [root @ localhostJadyer] # echo $ PATH
- * @ See [root @ localhostJadyer] # mvn-version
- * @ See [Jadyer @ localhost ~] $ Mvn-version
- * @ See [Jadyer @ localhost ~] $ Cd/app/code/
- * @ See [Jadyer @ localhostcode] $ mkdirMavenRepository
- * @ See [Jadyer @ localhostcode] $ vi/app/apache-maven-3.2.5/conf/settings. xml
- * @ See <localRepository>/app/code/MavenRepository </localRepository>
- * @ See [Jadyer @ localhostcode] $ cp/application/apache-maven-3.2.5/conf/settings. xmlMavenRepository/
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See install Subversion
- * @ Seehttps: // www.open.collab.net/files/documents/60/11125/CollabNetSubversion-client-1.8.13-1.x86_64.rpm
- * @ See [Jadyer @ localhost ~] $ Rpm-qSubversion
- * @ See [Jadyer @ localhost ~] $ Rpm-ivh/app/CollabNetSubversion-client-1.8.13-1.x86_64.rpm
- * @ Seewarning:/app/CollabNetSubversion-client-1.8.13-1.x86_64.rpm: HeaderV3DSA/SHA1Signature, keyID35bcca43: NOKEY
- * @ SeePreparing... ######################################## ### [100%]
- * @ See1: collabNetSubversion-cli ##################################### ###### [100%]
- * @ See [root @ localhostJadyer] # svn -- version
- * @ See [root @ localhostJadyer] # vi/etc/profile
- * @ See # SetSubversionEnvironmentVariable
- * @ SeeSVN_HOME =/opt/CollabNet_Subversion
- * @ SeePATH = $ PATH: $ SVN_HOME/bin
- * @ SeeexportSVN_HOMEPATH
- * @ See [root @ localhostJadyer] # source/etc/profile
- * @ See [root @ localhostJadyer] # svn -- version
- * @ See [Jadyer @ localhost ~] $ Svn -- version
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ Create2015-5-27 3:19:19 pm
- * @ Author Xuan Yu
- */
[Java] view plaincopyprint?
- /**
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See the rpm installation path
- * @ Seerpm the package usually has a default installation path, but there is also a way to update its default installation path, except that not all RPMs allow installation to other paths
- * @ See the following CollabNetSubversion-client-1.8.13-1.x86_64.rpm and jdk-6u45-linux-amd64.rpm as an Example
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See [Jadyer @ localhostapp] $ rpm-qpiCollabNetSubversion-client-1.8.13-1.x86_64.rpm
- * @ Seewarning: CollabNetSubversion-client-1.8.13-1.x86_64.rpm: HeaderV3DSA/SHA1Signature, keyID35bcca43: NOKEY
- * @ SeeName: CollabNetSubversion-clientRelocations :( notrelocatable)
- * @ SeeVersion: 1.8.13Vendor: CollabNet
- * @ SeeRelease: 1 BuildDate: Mon23Mar201502: 49: 36 AMEDT
- * @ SeeInstallDate :( notinstalled) BuildHost: cu128.cloud.maa.collab.net
- * @ SeeGroup: Utilities/SystemSourceRPM: CollabNetSubversion-client-1.8.13-1.src.rpm
- * @ SeeSize: 39281894 License: Proprietary
- * @ SeeSignature: DSA/SHA1, Mon23Mar201502: 49: 51 AMEDT, KeyID80233a5a35bcca43
- * @ SeePackager: Alexander erthomas (AT) <alexander@collab.net>
- * @ SeeURL: http://open.collab.net
- * @ SeeSummary: AConcurrentVersioningsystemsimilartobutbetterthanCVS.
- * @ SeeDescription:
- * @ SeeCollabNetSubversionclientisafreedownloadofopen-sourceSubversion,
- * @ SeecompiledandtestedbyCollabNet. FormoreinformationaboutCollabNet
- * @ SeeSubversion, visittheCollabNetcommunityathttp: // open.collab.net.
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See [Jadyer @ localhostapp] $ rpm-qpijdk-6u45-linux-amd64.rpm
- * @ SeeName: jdkRelocations:/usr/java
- * @ SeeVersion: 1.6.0 _ 45 Vendor: Oracleand/oritsaffiliates.
- * @ SeeRelease: fcsBuildDate: Tue26Mar201307: 54: 12 PMEDT
- * @ SeeInstallDate :( notinstalled) BuildHost: jb6-lin-amd64.sfbay.sun.com
- * @ SeeGroup: Development/ToolsSourceRPM: jdk-1.6.0_45-fcs.src.rpm
- * @ SeeSize: 127250396 License: Copyright (c) 2011, Oracleand/oritsaffiliates. Allrightsreserved. Alsounderotherlicense (s) asshownattheDescriptionfield.
- * @ SeeSignature :( none)
- * @ SeePackager: Too oftware <jre-comments@java.sun.com>
- * @ SeeURL: http://www.oracle.com/technetwork/java/javase/overview/index.html
- * @ SeeSummary: Java (TM) PlatformStandardEditionDevelopmentKit
- * @ SeeDescription:
- * @ SeeTheJavaPlatformStandardEditionDevelopmentKit (JDK) implements desboth
- * @ Seetheruntimeenvironment (Javavirtualmachine, theJavaplatformclasses
- * @ Seeandsupportingfiles) anddevelopmenttools (compilers, debuggers,
- * @ Seetoollibrariesandothertools ).
- * @ See
- * @ SeeTheJDKisadevelopmentenvironmentforbuildingapplications, applets
- * @ SeeandcomponentsthatcanbedeployedwiththeJavaPlatformStandard
- * @ SeeEditionRuntimeEnvironment.
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ See the Relocations parameter of the two methods. We can see that Subversion cannot be relocated, while jdk allows
- * @ See. Therefore, Subversion can only be installed in the default path, while jdk can modify its default installation path/usr/java to another path. The method is as follows:
- * @ See [Jadyer @ localhostapp] $ rpm-ivh -- badreloc -- relocate/usr/java =/app/jdk1.6.0 _ 45jdk-6u45-linux-amd64.rpm
- * @ Seebadreloc is to force the file to the specified location
- * @ Seerelocate install the file from oldpath to newpath
- * @ See Tables -------------------------------------------------------------------------------------------------
- * @ Create2015-5-27 7:08:43 pm
- * @ Author Xuan Yu
- */