[CentOS environment deployment] Java7/Java8 deployment under CentOS

I. Introduction####

  1. CentOS 6+
  2. Java 7+ (The example uses Java8)

Second, the deployment process

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
# (1) FTP to the server after downloading
# (2) After obtaining the download link, use wget command to download
sudo mkdir -p /usr/java 
sudo tar zvxf jdk-8u131-linux-x64.tar.gz -C /usr/java
vi /etc/profile
# Add under export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL

export JAVA_HOME=/usr/java/jdk1.8.0_131
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
source /etc/profile
java -version

Recommended Posts

[CentOS environment deployment] Java7/Java8 deployment under CentOS
FFmpeg environment deployment record under centos7
PPTP environment deployment record under Centos
Django&MySQL environment deployment under Ubuntu 14.04
Build docker environment under Centos6.5
SFTP dual-machine high availability environment deployment record under Centos
RabbitMQ cluster deployment record under Centos6.9
Elasticsearch cluster deployment record under CentOS7
Erlang 20.2 installation and deployment under CentOS 7
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Centos-6.5 installation and deployment of LNMP environment
Zabbix installation and deployment and localization under CentOS
[PHP] Build a PHP operating environment under CentOS
Jenkins installation and deployment tutorial under CentOS 7
Python and scrapy deployment in centos environment
Complete deployment record for LDAP under Centos7.2
CentOS deployment Harbor
Some Centos Python production environment deployment commands
Build Discuz Forum in LNMP Environment under CentOS7
Build LEMP (Linux+Nginx+MySQL+PHP) environment under CentOS 8.1 (detailed tutorial)
Build Dedecms website in LNMP environment under CentOS7
MySQL 8.0 installation and deployment under CentOS, super detailed!
Distributed deployment of Apollo configuration center under CentOS8
Deploy GitBook under CentOS7
Compile Hadoop-2.7.6 under CentOS7.4
CentOS6.7 build LNMP environment
Install mysql5.7 under CentOS7
Hadoop environment construction (centos7)
CentOS server deployment (YUM)
Install ActiveMQ under Centos7
Centos7.6 build LNMP environment
lamp (centos7) installation lamp environment
Install PostgreSQL12 under CentOS7
Install CentOS under VMware
Centos6.9 install npm environment
Deploy JDK+Tomcat8 under CentOS
Install mysql under Centos 7
Configure lamp under centos6.8
Install Jenkins under Centos 7
Redis3 installation under Centos7
Install MariaDB under MariaDB Centos7
Install mysql5.1 under CentOS6.5
Centos7 configure nodejs environment
ubuntu environment deployment project
Configure CentOS7 GPU environment
CentOS 7 build LNMP environment
CentOS7.6 server deployment VNC
Build a basic environment for Java development under Centos7
Environment configuration of JDK, mysql and tomcat under Centos7
Rapid deployment of Kubernetes (k8s) cluster in CentOS7 environment
Xen virtualization combat under CentOS 6.6
Build OpenV** Server under CentOS7
Centos7.4 deployment configuration Elasticsearch5.6 cluster
CentOS 7 install JAVA environment (JDK 1.8)
Build OpenLDAP server under CentOS7
Install python environment under Linux
SkyWalking study notes (CentOS environment)
Redis cluster installation under CentOS
Centos7 set up GitBook environment
CentOS 7.2 deploy Node.js development environment
CentOS install nginx+tomcat+java+mysql operating environment