CentOS7 basic configuration

CentOS7

Install VMwareTools

1. Click to reinstall VM-tool, and then find the compressed file VMwareTools-10.2.0...tar.gz,Copy to the desktop, unzip the compressed file to the desktop
2. Enter the terminal, switch to the desktop, find the file vmware-tools-distirb, enter this file
3. su root switch to root user,./carried out.pl可carried out文件,后面选择全部按Enter或者Y即可,当出现Enjoy  -The Vmware team is installed successfully

Open ssh service###

  1. Install OpenSSH service (openssh is installed by default in CentOS system)
 yum install openssh-server -y

  1. Configure the OpenSSH service (the default configuration is already working)

The main configuration file of OpenSSH: /etc/ssh/sshd_config

Common configuration options:

Port=22 Set the port number of SSH to 22(The default port number is 22)

Protocol 2 Enable SSH version 2 protocol

ListenAddress 192.168.0.222 Set the address that the service listens to

DenyUsers user1 user2 foo Users denied access(Separated by spaces)

AllowUsers root osmond vivek(Separated by spaces)

PermitRootLogin no prohibit root user login

PermitEmptyPasswords no User login requires password authentication

PasswordAuthentication yes enables password authentication

  1. Restart the OpenSSH service

service sshd restart

  1. The client connects to the server remotely via ssh

ssh username@hostname(hostIP)

Such as: ssh [email protected]

Disclaimer: This article is original, the author is a game, please keep this statement and the attached article link when reprinting: http://www.duiyi.xyz/centos7%e5%9f%ba%e6%9c%ac%e9%85%8d%e7%bd%ae/

Recommended Posts

CentOS7 basic configuration
Centos basic commands
CentOS 8 install Git and basic configuration
CentOS7.0 network configuration
CentOS 7.0 network configuration
Centos MySQL8 configuration
Xfs configuration on centos7
Centos kernel compilation configuration
Mysql8.0.15 installation configuration (centos7)
Centos7 firewalld firewall basic operation
Centos mysql installation and configuration
CentOS 8 (2)
Centos7.4 deployment configuration Elasticsearch5.6 cluster
Centos7 installation and configuration prometheus
CentOS installation and configuration cmake
CentOS 7 user account configuration original
Centos7.5 installation and configuration MongoDB4.0.4
CentOS 7 installation and configuration PPTP
CentOS mysql configuration master-slave replication
CentOS 8 (1)
Implementation of CentOS8.0 Network Configuration
CentOS 7 Redis 5.0.8 sentinel mode configuration
CentOS8 network card configuration file
Centos7 installation and configuration of Jenkins
Centos7 hadoop cluster installation and configuration
CentOS configuration git server in VirtualBox
CentOS7.2 and Nginx configuration virtual host
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Detailed examples of Centos6 network configuration
Java-JDK installation and configuration under CentOS
CentOS 7 Tomcat service installation and configuration
Centos 7 RAID 5 detailed explanation and configuration
CentOS configuration swap exchange area method
CentOS NTP server installation and configuration
Centos7 mysql database installation and configuration
Tomcat configuration JMX in centos 6.5 environment
centos7 python3.7+vi
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Centos7.5 configuration java environment installation tomcat explanation
Five minutes to learn centos configuration gitlab
Installation and configuration of redis under centos7
CentOS + Python3.6+
CentOS + Jenkins
Centos7 hive stand-alone mode installation and configuration
1.5 Install Centos7
2019-07-09 CentOS7 installation
centos7_1708 installation
CentOS8 yum/dnf configuration method of domestic sources
Centos 7.5 python3.6
Linux CentOS regularly run script configuration method
Centos7 configuration host name and IP address
Installation and configuration of JDK in CentOS 7 system
Some basic optimizations of Centos6.9 system (updated on 2018/04/19)
CentOS 6.5 system installation and configuration graphic tutorial (detailed graphic)
The basic configuration and interface beautification of Ubuntu
CentOS7 and Docker configuration Chinese character set problem
CentOS 7 installation and configuration graphic tutorials under VMware10
Centos7.6 dual network card configuration and switching test
Install svn and configuration through yum under CentOS
Installation and configuration of rsync server under CentOS 6.5