1 hostname
2 vim /etc/hostname
3 hostname
4 vim /etc/sysconfig/network-scripts/ifcfg-ens33
5 service network restart
6 vim /etc/hosts
7 firewall-cmd --state
8 systemctl stop firewall.service
9 systemctl disabled firewall.service
10 systemctl disable firewall.service
11 systemctl stop firewall.service
12 systemctl disable firewall.service
13 ifconfig
14 92.168.2.100 hadoop100
15 ping 192.168.2.100
16 ping hadoop100
17 shutdown now
18 ifconfig
19 ping 192.168.2.1
20 vim /etc/sysconfig/network-scripts/ifcfg-ens33
21 vim /etc/hosts
22 ping www.baidu.com
23 ping 192.168.2.1
24 halt
25 yum install -y make fuse gcc kernel-devel kernel-headers kernel "kernel-devel-uname-r == $(uname -r)"
26 ln -s /usr/sr
27 ln -s /usr/src/kernels/3.10.0-1127.19.1.el7.x86_64/include/generated/uapi/linux/version.h /usr/src/kernels/3.10.0-1127.19.1.el7.x86_64/include/linux/version.h
28 ll
29 cp VMwareTools-10.1.6-5214329.tar.gz ~
30 cd
31 ll
32 tar -xzvf VMwareTools-10.1.6-5214329.tar.gz
33 LL
34 ll
35 cd vmware-tools-distrib/
36 ll
37 ./vmware-install.pl
38 halt
39 cd /opt/
40 ll
41 rh
42 cd rh
43 ls
44 ls -al
45 cd /opt/
46 touch module
47 ll
48 cd module
49 cd rh
50 pwd
51 vim rh
52 rpm -qa
53 rpm -qa | grep -i httpd
54 yum install -y httpd
55 service httpd start
56 history
57 systemctl status httpd.service
58 ifconfig
59 cd /var/www/html
60 pwd
61 ll
62 mkdir image
63 cd image
64 ll
65 history
66 cd /etc/yum.
67 cd /etc/yum
68 cd /etc/yum/
69 pwd
70 ll
71 cd pluginconf.d/
72 ll
73 vim fastestmirror.conf
74 find / -name timedhosts.txt
75 vim
76 cd /opt/module/jdk1.8.0_144/
77 ll
78 pwd
79 cd
80 cd /home/
81 ll
82 cd
83 cd alex
84 cd alex/
85 cd /alex/
86 su alex
87 su - alex
88 vim /etc/sudoers
89 su - alse
90 su - alex
91 cd ../module
92 ll
105 vim /etc/profile
106 history
107 cd /opt/
108 cd module
109 vim /etc/profile
110 ll
111 source /etc/profile
112 java -version
113 rpm -qa | grep -i java
114 vim /etc/profile
115 rpm -qa | grep -i java
116 java -version
117 his
118 history