VMware installs CentOS 7-64

Source: Internet
Author: User

First, the environment

1. Host:Windows ten

2. virtual machine:vmware14 + CentOS 7-64

(1)Vmware14 Baidu Search can be downloaded, such as:

The installation process is a little, self-activating.

(2)CentOS 7-64 download URL (here blue tag Select Install Ali provide image):http://isoredirect.centos.org/ Centos/7/isos/x86_64/centos-7-x86_64-dvd-1708.iso

Second, installation

1. process such as:

Ctrl+alt: Exiting the virtual machine interface

Set up a network

failure:vi/etc/ssh/sshd_config

Let go Port, ListenAddress (2), Permitrootlogin

No more, Baidu

Third, install other software

1.jdk

view:Yum Search Java|grep JDK

Installation:yum install JAVA-1.8.0-OPENJDK

Configuration environment variable:vi/etc/profile(self-Baidu)

Save settings:source/etc/profile

Verification:Java-version

2. installing lrzsz

Yum Install Lrzsz

3. Install Tomcat

/home upload tomcat:rz apache-tomcat-9.0.7.tar.gz(windows Download the good)

decompression:TAR-XZVF apache-tomcat-9.0.7.tar.gz

/home/apache-tomcat-9.0.7 path start:sh bin/startup.sh

View boot log under/home/apache-tomcat-9.0.7 path:tail-f logs/catalina.out

visit:Curl localhost:8080

4. View Firewall (firewall)

View all:firewall-cmd--list-all

View port:firewall-cmd--zone=public--list-ports

Open 8080 port:firewall-cmd--zone=public--add-port=8080/tcp--permanent

Remove 8080 port:firewall-cmd--zone= public--remove-port=80/tcp--permanent

Reload:firewall-cmd--reload

5.windows access to Linux Services

Open Google Chrome in Windows, enter:${ip}:8080

${IP}: for IP in virtual machine

VMware installs CentOS 7-64

Related Article

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.