当前位置:网站首页>Install JDK, MySQL and nexus under Linux (tar package installation)
Install JDK, MySQL and nexus under Linux (tar package installation)
2022-06-25 20:41:00 【As high as the wind】
One 、 install jdk
1、 download tar package

2、 Download a XManager Tools , Download address http://download.csdn.net/download/gp3056/10175828, After specific installation , make new connection , Then connect , Select the green icon shown below , Transfer files

3、 decompression
tar -zxvf jdk-8u151-linux-i586.tar.gz -C /usr/local
4、 Configure environment variables
vi /etc/profile
Add at the end :
#set java environment
export JAVA_HOME=/usr/local/jdk1.8.0_151
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
5、 check
Run again source /etc/profile Let the changes take effect
java -version

If appear
/lib/ld-linux.so.2: bad ELF interpreter: There is no file or directory , Probably because 64 It's installed in the middle of the system 32 Bit program
terms of settlement :
perform yum install glibc.i686
Two 、 install maven
1、 download

2、 decompression
tar -zxvf apache-maven-3.5.2-bin.tar.gz -C /usr/local
3、 Configure environment variables
vi /etc/profile
Add... At the end
#set maven environment
export MAVEN_HOME=/usr/local/apache-maven-3.5.2
export PATH=$PATH:$MAVEN_HOME/bin
4、 check
source /etc/profile
mvn -version

3、 ... and 、 install nexus Build a private service
Download address :https://www.sonatype.com/download-oss-sonatype
1、 decompression
cd /usr/local
mkdir nexus
tar -zxvf nexus-2.14.5-02-bundle.tar.gz -C /usr/local/nexus
2、 Configure environment variables
vi /usr/local/nexus/nexus-2.14.5-02/bin/nexus
take #RUN_AS_USER= Change to RUN_AS_USER=root
3、 check
/usr/local/nexus/nexus-2.14.5-02/bin/nexus start

The default login password is admin admin123
If the browser cannot be accessed, the firewall must be turned on , Run the following code to close :
systemctl stop firewalld.service # stop it firewall
systemctl disable firewalld.service # prohibit firewall Boot up
firewall-cmd --state # View the default firewall status ( Show... When off notrunning, It will show running)
( This article is for reference )
边栏推荐
- Share several Threat Intelligence platforms
- Understanding C language structure pointer
- [machine learning] machine learning from zero to mastery -- teaching you how to use decision tree to predict contact lens types
- Inventory - those automated test interview questions you can't help but know
- very good
- Connect the local browser to the laboratory server through mobaxterm
- Talking about the foundation of function test today
- 201604-4 test title: Game (BFS search maze)
- Chrome plugin installation
- Lantern Festival, learning at the right time! Novice training camp attacks again, learning buff continues to fill up
猜你喜欢

One picture to achieve the selected effect
How to play one to many in JPA?

Connect the local browser to the laboratory server through mobaxterm
New generation engineers teach you how to play with alluxio + ml (Part 2)
"Space guard soldier" based on propeller -- geosynchronous geostationary orbit space target detection system
2022 oceanbase technical essay contest officially opened | come and release your force

Swin UNET reading notes

Redis core principle and design idea

SQL statement select summary
Interviewer: why does TCP shake hands three times and break up four times? Most people can't answer!
随机推荐
Exploration of advanced document editor design in online Era
How does zhiting home cloud and home assistant access homekit respectively? What is the difference between them?
2020-11-14-Alexnet
Splunk series: Splunk data import (II)
Expand and check the specified node when loading ztree
Solution to big noise of OBS screen recording software
Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing
laf. JS - open source cloud development framework (readme.md)
Delete the page specified in PDF and merge pdf
206. reverse linked list (insert, iteration and recursion)
Record some questions about MySQL (DNS reverse resolution in Linux)
Lantern Festival, learning at the right time! Novice training camp attacks again, learning buff continues to fill up
Section 13: simplify your code with Lombok
Impact of Huawei application transfer and application claim on user identification
An unusual interview question: why doesn't the database connection pool adopt IO multiplexing?
[opencv] opencv from introduction to mastery -- detailed explanation of input and output XML and yaml files
Understanding C language structure pointer
6. exception handling
DICOM to NII
Live broadcast preview | front line experts invite you to talk: the value of data science enabling multiple application scenarios