Encountered during installation of various software problems under Linux

1. maven installation process, discovered modify the profile file, ls command can not be used, Internet search found:
Here Insert Picture Description
2. Install jdk in Linux, you need to configure the environment variables, Hershey jdk installed after the installation of Tomcat, did not give Tomcat configuration environment variable, catalinahome have a (relatively doubt), maven configuration environment variable.
FIG:
Here Insert Picture Description
#set Java Environment
Export the JAVA_HOME = / usr / Java / jdk1.8.0_211
Export the CLASSPATH = .: J A V A H O M E / j r e / l i b / r t . j a r : JAVA_HOME/jre/lib/rt.jar: JAVA_HOME/lib/dt.jar: J A V A H O M E / l i b / t o o l s . j a r e x p o r t M A V E N H O M E = / u s r / l o c a l / m a v e n / a p a c h e m a v e n 3.6.1 e x p o r t P A T H = JAVA_HOME/lib/tools.jar export MAVEN_HOME=/usr/local/maven/apache-maven-3.6.1 export PATH= PATH: J A V A H O M E / b i n : JAVA_HOME/bin: MAVEN_HOME/bin

Guess you like

Origin blog.csdn.net/wcc178399/article/details/91064961