Linux mount ISO file installation file

Source: Internet
Author: User

1. First, create the file as a mount point
mkdir/File name/

2.mount/iso/rhel-server-7.3-x86_64-dvd.iso/dir/
Mount the image under the/iso directory on the/dir/file

  3.   cd /etc/yum.repos.d/              进入文件

4.   rm -fr *                                     删除目录下所有文件

    5.vim yum.repo                         编辑文件内容

 6.  rhe17.3]                                  说明    name=rhe17.3                       名称    baseurl=file:///rhe17.3           位置    gpgcheck=0                           

7.yum clean all                         清除记录

8.yum search jdk                      搜索有关jdk的文件


9.yum Install java-1.6.0-openjdk.x86_64 installs this software

Y confirm installation, d for download, N for cancel installation


10.yum install-y java-1.6.0-openjdk.x86_64 Skip asking for direct installation


11.yum Remove java-1.6.0-openjdk.x86_64 Delete this software


Enter Y to confirm the deletion

Linux mount ISO file installation file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.