centos7 install jdk

setp1: remove default java

[[email protected] soft]$ rpm -qa | grep java
java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64
python-javapackages-3.4.1-6.el7_0.noarch
tzdata-java-2015a-1.el7.noarch
javapackages-tools-3.4.1-6.el7_0.noarch
java-1.7.0-openjdk-headless-1.7.0.75-2.5.4.2.el7_0.x86_64

[[email protected] soft]# rpm -e --nodeps java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64

step2:install

时间: 2024-10-29 03:37:14

centos7 install jdk的相关文章

YARN环境搭建 之 二:CentOS7.0 JDK配置

Hadoop是Java写的,他无法使用Linux预安装的OpenJDK,因此安装hadoop前需要先安装JDK(1.6以上)   原材料:在Oracle官网下载的32位JDK:     说明: 1.CentOS 7.0系统现在只有64位的,但是,Hadoop一般支持32位的,在64位环境下有事会有Warning出现,避免真的有神马问题,选择i586的JDK(即32位的),当然,64位的CentOS 7 肯定是兼容32位JDK的,记住:64位系统肯定兼容32位的软件,32位系统不能兼容64位软件.

Centos7安装JDK+部署Tomcat8

Centos7下JDK+Tomcat的部署: 1.安装JDK 1.1 通过以下命令获得java JDK列表 yum -y list java 1.2 通过yum安装JDK yum -y install java-1.8.0-openjdk* 等待安装完成 ****通过yum默认安装的路径为/usr/lib/jvm/java-版本号(如/usr/lib/jvm/java-1.8.0)**** 2.安装Tomcat 2.1.在Tomcat官网下载Tomcat8的gz压缩包(附:https://tom

How to install JDK (Java Development Kit) on Linux

This tutorial will guide you on how to install JDK (Java Development Kit) on Linux. Since I use Centos 5.4 x86_64 in everyday life, this guide is showing you how to install JDK in Centos 5.4 64bit. It must work in any other Linux distro such as Slack

CentOS7 Install Shipyard

# 采集木jj 原文:http://www.cnblogs.com/caoguo/p/5735189.html # CentOS7 Install Shipyard# yum install docker# systemctl restart docker# docker login -u user-p password -e sample.aliyun.com registry.aliyuncs.com # 上面docker加速一大段实际就下面这一句# vi /etc/sysconfig/do

ubuntu install jdk

1.Add the PPA: $ sudo add-apt-repository ppa:webupd8team/java 2.Update the repo index: $ sudo apt-get update 3.install jdk: Install Java 8 $ sudo apt-get install oracle-java8-installer Or, install Java 7: $ sudo apt-get install oracle-java7-installer

Centos7 install Openstack - (第四节)添加计算服务(Nova)

Centos7 install Openstack - (第四节)添加计算服务(Nova) 我的blog地址:http://www.cnblogs.com/caoguo 该文根据openstack官方文档配置 官方文档地址: http://docs.openstack.org/juno/install-guide/install/yum/content/# 0x01. Install and configure controller node (在控制节点安装配置一下内容) 一) 配置基本环境

CentOS7 Install Consul

Centos7 Install Consul 原文链接:http://www.cnblogs.com/caoguo/p/5959962.html 1) 环境 192.168.217.158 consul-1 192.168.217.159 consul-2 192.168.217.160 consul-3 192.168.217.161 agent-1 2) 安装 # yum install -y unzip # wget https://releases.hashicorp.com/consu

centos7 install httpd

[1]Install Httpd for Centos7-media # yum --enablerepo=centos7-media -y install httpd Installed:   httpd.x86_64 0:2.4.6-18.el7.centos [2]start httpd,开机启动 # systemctl start httpd.service # systemctl enable httpd.service ln -s '/usr/lib/systemd/system/h

centos7 install lnmp

centos7 install lnmp yum install epel-releaseyum install php php-fpm nginx mariadb-devel mariadb-server mariadb test php 模块 vim /etc/nginx/nginx.confnotice:在location 下面添加这一行就可以 location ~* \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FI