Learning CentOS7 (1) from 0, learning centos7
First, let's start with a few introductions ..
Java developers always feel that their technological advances are slow...
Recently, I saw my colleagues share their experiences on the forum... The aura in my mind is: Good memory is not as bad as a pen, please try it ~
Okay. It's officially started .. The command line after centos 7 is different from the previous version. We recommend that you add "centos 7" to google or Baidu"
Preparations:
1. download the latest version of vmware .. (My obsessive-compulsive disorder. I like new things ..) The installation steps are omitted ..
Address to: https://download3.vmware.com/software/wkst/file/VMware-workstation-full-12.1.1-3770994.exe
Just find an activation code or something. Http://beikeit.com/post-514.html
The serial numbers are generally common. If the registration fails, uninstall them and download the latest official version to reinstall them.
Any version of shell iTPermanent KEY registration KEY:
5A02H-AU243-TZJ49-GTC7K-3C61N
AG1N8-DZZ53-484QP-0YN5C-QQ0F2
GG59U-DVZD5-M854Y-NYN7C-P3KW4
AA39H-61W50-H8DCY-1MM79-N2RZ4
UU148-6VF44-M80JY-YYMQV-WF89D
2. Go to the centos7 official website to download the latest version of OS. We recommend that you use thunder or QQ to download it. Otherwise, a single thread will be suspended...
Address: https://www.centos.org/download/
Just choose one. I chose CentOS-7-x86_64-DVD-1511.iso.
3. Install centos In the vm and follow the steps Baidu google. (Omnipotent)
4. Install ssh, reference: http://blog.csdn.net/cyuyan112233/article/details/50190927
[1] disable selinux and restart reboot !!!!
Vi/etc/selinux/config
[2] disable the firewall and disable it. I have the ability to use iptables rules by myself. I have no time to close it and disable it now.
Systemctl stop firewalld
Systemctl disable firewalld
[3] set the network .. In this step, Baidu .. Different virtual machines are connected to different networks...
4. Start the sshd service
Systemctl restart sshd. service
Basically, the initial configuration is complete. You can use a local ssh tool to connect to it .. In addition, if you do not know your own IP address, you can use the ifconfig-a command to view it.
Summary: although I have been working for a few years, I still have some contact with linux systems... Come on.