当前位置:网站首页>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 )
边栏推荐
- One picture to achieve the selected effect
- Yanjiehua, editor in chief of Business Review: how to view the management trend of business in the future?
- A new paradigm for large model application: unified feature representation optimization (UFO)
- Feature Engineering in simple terms – a practice guide based on openmldb (Part 1)
- Does redis transaction support acid?
- Sonar series: continuous scanning through Jenkins integrated sonarqube (IV)
- SaaS privatization deployment scheme
- Huawei fast application access advertising service development guide
- CSDN sign in cash reward
- Web components series (11) -- realizing the reusability of mycard
猜你喜欢

Impact of Huawei application transfer and application claim on user identification
Cloud development practice of the small program for brushing questions in the postgraduate entrance examination - page design and production (home page of the question bank, ranking page, my)

H5 application conversion fast application
Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part I)

Teach you how to add custom controls to a map

Pcl+vs2019 configuration and some source code test cases and demos
Tencent music knowledge map search practice
MySQL installation tutorial

Barrier of cursor application scenario
2022 "gold, silver and four" is a must for job hopping. You must know 100 questions in 2022 intermediate and advanced Android interview to realize your big factory dream
随机推荐
Corporate finance formula_ P1_ Accounting statement and cash flow
An unusual interview question: why doesn't the database connection pool adopt IO multiplexing?
Instant aesthetics of the Centennial Olympic Games: beauty in the air, condensed in minutes and seconds - Alibaba cloud video cloud AI editorial department "cloud smart scissors"
This is a simple and cool way to make large screen chart linkage. Smartbi will teach you
Chrome plugin installation
Remember to deploy selenium crawler on the server
Those high-frequency and real software test interview questions sorted out by the test director in 7 days, come to get
DICOM to NII
The error log of vscode connecting to the server shows the problem of "insufficient permission". Directly use root to connect
[machine learning] machine learning from zero to mastery -- teach you to understand the principle of decision tree
Reasons for network timeout app flash back
Redis thread level reentrant distributed lock (different unique IDs can be locked cyclically)
App battery historian master
Uncover n core 'black magic' of Presto + alluxio
Boomfilter learning
Does redis transaction support acid?
Record the training process
[harmonyos] [arkui] how can Hongmeng ETS call pa
Redis common principles interview
Install and initialize MySQL (under Windows)