A. Install the JDK
1. First, go to the official website to download linux version of the JDK
2. Place the downloaded archive into linux jdk the opt folder
3. decompression tar -xzvf jdk-8u211-linux-x64.tar.gz
4. Type ls and then view the directory folder will be able to see the familiar jdk1.8.0_211 files
5. Modify etc folder below the profile file, similar to the windows configuration environment variable
The following code to the end
JAVA_HOME=/opt/jdk1.8.0_211
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar
export PATH JAVA_HOME CLASSPATH
6. Enter the source / etc / profile to validate the configuration
7. Enter java -version java version View
Jdk on this end of the installation
2.tomcat
3.redis
4.activemq
1. First, go to the official website to download activemq archive
2. The compressed copy to opt directory linux environment, the process proceeds to opt directory, unzip
3. Unzip
4. decompressed file into the folder after
5. Go to the bin directory
6. Start activemq
Start command execution: ./ activemq start
Close command execution: ./ activemq.stop
View status: ./ activemq.status
7. After booting into management background
http://192.168.152.128:8161/admin
If it is installed successfully landed on the
The default port management is activemq 8161, stated the following address how to modify the port https://blog.csdn.net/qq_21683643/article/details/80662285
8. If the startup occur when the port is occupied then execute the following command
netstat -tlnp
kill pid号