ftp3

11 wget wget http://ftp.riken.jp/net/apache//httpd/httpd-2.4.12.tar.bz2
15 cd httpd-2.4.12
16 ls -l
17 cd /home
18 la
19 s
20 ls
21 cd software/
22 ls
23 wget https://security.appspot.com/downloads/vsftpd-3.0.2.tar.gz
24 l
25 ls -l
26 gunzip vsftpd-3.0.2.tar.gz
27 ls -l
28 tar -xvf vsftpd-3.0.2.tar
29 ls -l
30 cd vsftpd-3.0.2
31 ls -l
32 vi builddefs.h
33 vi Makefile
34 make
35 ls v*
36 vi Makefile
37 ls -ltr
38 vi builddefs.h
39 make
40 gcc
41 cat /proc/version
42 cat /proc/version
43 which gcc
44 cd /usr
45 find ./ -name gcc
46 pwd
47 cd /hom
48 cd /home
49 ls
50 cd software/
51 ls
52 wget http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.gz
53 ls -ltr
54 gunzip gcc-4.9.2.tar.gz
55 ls -ltr
56 tar xvf gcc-4.9.2.tar
57 ls -ltr
58 vf gcc-4.9.2
59 cd gcc-4.9.2
60 cd gcc-4gcc-4.9.2
61 pwd
62 ./configure
63 yum list
64 yum list | grep ftp
65 ps -ef | grep ftp
66 cat /proc/version
67 cat /etc/redhat-release
68 cd ../
69 ls
70 cd vsftpd-3.0.2
71 ls -ltr
72 make
73 ]
74 make
75 pwd
76 ps -ef
77 ps -ef
78 ps -ef | grep ftp
79 cd /home/
80 ls
81 cd software/cd vs
82 cd software/
83 l
84 ls
85 cd vsftpd-3.0.2
86 ls -ltr
87 s¥ls
88 ls
89 ls *rpm
90 ls
91 cd ../
92 ls
93 ls -ltr
94 mv vsftpd-3.0.2 wk_vsftpd-3.0.2
95 mv vsftpd-3.0.2.tar wk_vsftpd-3.0.2.tar
96 ls -ltr
97 wget http://vault.centos.org/6.6/os/Source/SPackages/vsftpd-2.2.2-12.el6_5.1.src.rpm
98 ls
99 ls -ltr
100 rpm -ivh vsftpd-2.2.2-12.el6_5.1.src.rpm
101 df
102 ls -l vsftpd-2.2.2-12.el6_5.1.src.rpm
103 pwd
104 ls
105 pwd
106 rpm -ivh /home/software/vsftpd-2.2.2-12.el6_5.1.src.rpm
107 ls -l
108 mv vsftpd-2.2.2-12.el6_5.1.src.rpm wk_vsftpd-2.2.2-12.el6_5.1.src.rpm]¥]
109 l
110 ls -l
111 mv wk_vsftpd-2.2.2-12.el6_5.1.src.rpm]] wk_vsftpd-2.2.2-12.el6_5.1.src.rpm
112 ls -ltr
113 wget http://ftp.riken.jp/Linux/centos/6/os/x86_64/Packages/vsftpd-2.2.2-12.el6_5.1.x86_64.rpm
114 ls -l
115 rpm -ivh vsftpd-2.2.2-12.el6_5.1.x86_64.rpm
116 ls -ltr /etc/vsftpd/vsftpd.conf
117 vi /etc/vsftpd/vsftpd.conf
118 cd vi /etc/sysconfig/selinux
119 cd /etc/sysconfig/
120 ls -l
121 ls
122 cp selinux selinux.org
123 pwd
124 vi selinux
125 cp /etc/sysconfig/iptables /etc/sysconfig/iptables.org
126 vi /etc/sysconfig/iptables
127 cat /etc/sysconfig/iptables-config
128 ]
129 cp /etc/sysconfig/iptables-config /etc/sysconfig/iptables-config.org
130 iptables -vnL
131 service iptables start
132 iptables -vnL
133 ps -ef | grep ftp
134 chkconfig --list iptables
135 service vsftpd restart
136 ps -ef | grep ftp
137 reboot
138 ps -ef | grep ftp
139 chkconfig --list vsftpd
140 chkconfig vsftpd on
141 chkconfig --list vsftpd
142 iptables -vnL
143 chkconfig --list iptables
144 chkconfig iptables on
145 chkconfig --list iptables
146 iptables -vnL
147 ps -ef | grep iptables
148 service iptables start
149 ps -ef | grep iptables
150 iptables -vnL
151 ps -ef | grep iptables
152 ps -ef | grep iptable
153 ps -ef | grep ftp
154 service iptables vsftpd
155 service vsftpd start
156 ps -ef | grep ftp
157 ps -ef | grep iptable
158 ps -ef | grep ftp
159 iptables -vnL
160 cat /etc/vsftpd/user_list
161 cat /etc/vsftpd/ftpusers
162 pwd
163 /usr/sbin/useradd -d /home/tamachi -s /bin/tcsh tamachi
164 cd /home/tamachi
165 chown tamachi tamachi
166 ls
167 pwd
168 cd ../
169 chown tamachi tamachi
170 chgrp tamachi tamachi
171 passwd tamachi
172 l
173 su - tamachi
174 cd /etc/
175 ls
176 cd vsftpd/
177 ls
178 vi vsftpd.conf
179 history | grep service
180 service vsftpd restart
181 vi /etc/sysconfig/iptables
182 vi /etc/sysconfig/iptables-config
183 cd /etc/sysconfig/
184 ls -ltr
185 diff iptables-config.org iptables-config
186 vi iptables-config
187 service iptables restart
188 iptables -vnL
189 service vsftpd restart
190 cat >> /etc/vsftpd.conf << EOF
191 background=YES
192 listen=YES
193 nopriv_user=vsftpd
194 secure_chroot_dir=/usr/share/vsftpd/empty
195 EOF
196 cd /home/software/
197 ls
198 cd wk_vsftpd-3.0.2
199 ls
200 make install
201 make install-vsftpd
202 ls -l /usr/local/sbin
203 install -m 755 vsftpd /usr/local/sbin/vsftpd
204 ls -l /usr/local/man
205 ls -l /usr/share/man
206 install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8;
207 install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5;
208 ld ^l
209 ls -l /etc/xinetd.d
210 install -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd
211 vsftpd
212 ps -ef | grep vsftpd
213 service vsftpd restart
214 vi /etc/vsftpd.conf
215 reboot
216 cd /home/
217 ls
218 cd software/
219 ls -ltr
220 cd wk_vsftpd-
221 cd wk_vsftpd-3.0.2
222 ls -ltr
223 find /usr/ -name php.ini
224 which vsftpd
225 find /usr/ -name php.ini
226 find /usr/ -name vsftpd*
227 find / -name vsftpd*
228 ps -ef
229 ls -l /etc/pam.d/vsftpd
230 ls -l /etc/rc.d/init.d/vsftpd
231 ls -l /etc/vsftpd
232 ls -l /etc/logrotate.d/vsftpd
233 ls -l /usr/sbin/vsftpd
234 which vsftpd
235 cd /home
236 ls
237 cd software/
238 ls
239 ls -ltr
240 cd wk_vsftpd-3.0.2
241 ls
242 cp Makefile Makefile.org
243 ls -ltr
244 vi Makefile
245 cat /etc/procinfo
246 cat /proc/cpuinfo
247 vi Makefile
248 cd /etc
249 cp -p init.d/vsftpd init.d/vsftpd.org
250 cp vsftpd/ftpusers vsftpd/ftpusers.org
251 cp vsftpd/user_list vsftpd/user_list.org
252 servie vsftpd stop
253 service vsftpd stop
254 ps -ef | grep ft@
255 ps -ef | grep ftp
256 rpm -e vsftpd
257 cd ~/src
258 pwd
259 cd
260 cd ~
261 pwd
262 cd /home
263 cd ~/src
264 cd /home
265 @wd
266 pwd
267 cd ~/
268 @wd
269 pwd
270 cd src
271 mkdir src
272 cd /home
273 ls
274 cd software/
275 ls
276 cd wk_vsftpd-3.0.2
277 ls
278 pwd
279 vi builddefs.h
280 find / -name vsftpd*
281 vi builddefs.h
282 which vsftpd
283 make
284 vi Makefile
285 make
286403 history
aaaawk_vsftpd-3.0.2]#