VirtualBox install centos7

In this lesson, we will learn to use vbox to install centos7 and configure the network.

VirtualBox download address https://www.virtualbox.org/

  1. New virtual computer

  2. Choose red hat 64 bit

  1. RAM 4G

  1. Hard disk 20G

  1. Start the virtual machine and select the system CD

  1. Choose a language

  1. Installation location disk partition

  1. Set root password

  2. Wait for the installation to succeed

  3. Centos7 configuration network

  4. Network selection bridge network card

  5. After the installation is complete, our centos does not support network access

You can enter the command dhclient to automatically obtain an IP address, and then use the command ip addr to view the IP.

or

 cd /etc/sysconfig/network-scripts/
 Vi   ifcfg-enp0s3 
 service network restart
  1. Port configuration

View open ports

firewall-cmd --list-ports

Add port

 firewall-cmd --zone=public--add-port=22/tcp --permanent  
 firewall-cmd --zone=public--add-port=80/tcp --permanent

Command meaning:

--Zone #scope

--Add-port=80/tcp #Add port, the format is: port/communication protocol

--Permanent #Permanent effect, invalid after restart without this parameter

Restart firewall

 firewall-cmd --reload
  1. Use xshell to connect to centos

Download xshell to install the student version

Recommended Posts

VirtualBox install centos7
VirtualBox install CentOS system
CentOS 6.X install VirtualBox-5.1
1.5 Install Centos7
install virtualbox on centos server
Centos6 install Python2.7.13
Centos7.3 install nginx
CentOS install Redmine
Centos7 install Python 3.6.
CentOS7 install MySQL
How to install Virtualbox on CentOS 8
Centos7 install protobuf
CentOS7 install GlusterFS
CentOS 7.4 install Zabbix 3.4
Centos6.5 install Tomcat
CentOS install Python 3.6
Vmware install CentOS6
centos7 install docker-ce 18.01.0
CentOS 7.2 install MariaDB
CentOS 7 install Hadoop 3.0.0
Centos7 install Python2.7
Centos 7.6 install seleniu
CentOS 7.3 install Zabbix3
Centos7 install LAMP+PHPmyadmin
CentOS install mysql
CentOS install openjdk 1.8
CENTOS6.5 install CDH5.12.1 (1)
CentOS install PHP
CentOS6 install mist.io
Centos7 install Docker
CentOS7 install mysql
centOs install rabbitMQ
CentOS 7 install MySQL 5.6
Centos7 install Nginx
Centos7 install docker18
Centos install Python3
centos7 install docker
CentOS install jdk
centos7 install nginx-rtmp
CentOS8 install MySQL8.0
Centos6.3 install KVM
CentOS7 install mysql8
CentOS 7 install Java 1.8
CentOS8 install fastdfs6.06
CentOS 7 install Gitlab
Centos 7 install PostgreSQL
CentOS7 install MySQL8
CentOS 6 install Docker
centos 6.5 install zabbix 4.4
Centos8 install Docker
CentOS6.8 install python2.7
CentOS install nodejs 8
CentOS6.5 install GNS3
centos 7.5 install mysql5.7.17
Centos7 install MySQL8.0-manual
CentOS7 install Kubernetes 1.16.3
centos7 install lamp
Install centos7 and connect
Centos7 install docker-18.x original
Centos7 YUM install MariaDB 10.0
CentOS 8 install ZABBIX4.4 guide