bash-3.1# history

最近的系统 centos 5 , 害怕自己记不住了,就偷懒把history 贴出来。家里的电脑换回ubuntu 的 gutsy,感觉就是舒服,十二分的舒服。

做一件事情,并做好它。

bash-3.1# history
1 ls
2 ls -all
3 reboot
4 cat /etc/issue
5 tail /etc/yum.conf
6 cat /etc/yum.repos.d/CentOS-Base.repo
7 cat $basearch
8 echo $basearch
9 echo basearch
10 cat /etc/yum.repos.d/CentOS-Base.repo
11 basearch
12 cat /etc/yum.repos.d/CentOS-Media.repo
13 cat /etc/yum.repos.d/CentOS-Base.repo
14 exit
15 cd /etc/yum.repos.d/
16 ls
17 ls -all
18 head CentOS-Base.repo
21 head -100 CentOS-Base.repo
22 yum update
23 ls
24 cp CentOS-Base.repo CentOS
25 ls /usr/bin
26 nano
27 ls
28 nano CentOS-Base.repo
29 yum update
33 nano CentOS-Base.repo
34 yum update
35 nano CentOS-Base.repo
36 yum update
37 nano CentOS-Base.repo
38 yum update
39 yum update
40 yum install gcc
41 yum install gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel

42 yum update
43 cd /usr/local/src
44 ls
45 wget http://www.boutell.com/gd/http/gd-2.0.35.tar.gz
46 wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
47 tar zxvf gd-2.0.33.tar.gz
48 cd gd-2.0.33
49 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/gd2 –mandir=/usr/share/man
50 make && make install
51 make
52 yum install make
53 make && make install
54 make && make install
55 pwd
56 cd ../
57 ls
58 wget http://cronolog.org/patches/cronolog-1.7.0-beta.tar.gz
59 tar xzvf cronolog-1.7.0-beta.tar.gz
60 cd cronolog-1.7.0
61 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/cronolog && make && make install
62 cd ..
63 ls

64 wget http://mirror.provenscaling.com/mysql/enterprise/source/5.0/mysql-5.0.46.tar.gz
65 tar zxvf mysql-5.0.46.tar.gz
66 cd mysql-5.0.46
67 vi vi sql/mysqld.cc
68 ls
69 vi sql/
70 ls
71 vi sql/mysqld.cc
72 ls
73 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/mysql –localstatedir=/var/lib/mysql –with-comment=Source –with-server-suffix=-enterprise-gpl –with-mysqld-user=mysql –without-debug –with-big-tables –with-charset=utf8 –with-collation=utf8_general_ci –with-extra-charsets=all –with-pthread –enable-static –enable-thread-safe-client –with-client-ldflags=-all-static –with-mysqld-ldflags=-all-static –enable-assembler –without-innodb –without-ndb-debug –without-isam –enable-local-infile –with-readline –with-raid
74 make && make install
75 mysql
76 cd /usr/local/src
77 wget http://cn2.php.net/get/php-5.2.5.tar.bz2/from/au2.php.net/mirror
78 wget http://www.hardened-php.net/suhosin/_media/suhosin-patch-5.2.5-0.9.6.2.patch.gz
79 gunzip suhosin-patch-5.2.5-0.9.6.2.patch.gz
80 tar jxvf php-5.2.5.tar.bz2
81 cd php-5.2.5
82 patch -p 1 -i ../ suhosin-patch-5.2.5-0.9.6.2.patch
83 yum install patch
84 patch -p 1 -i ../ suhosin-patch-5.2.5-0.9.6.2.patch
85 patch -p 1 -i ../suhosin-patch-5.2.5-0.9.6.2.patch
86 ./buildconf
87 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with-pear=/usr/share/php –with-zlib-dir –with-bz2 –with-libxml-dir=/usr –with-gd=/usr/local/gd2 –enable-gd-native-ttf –enable-gd-jis-conv –with-freetype-dir –with-jpeg-dir –with-png-dir –with-ttf=shared,/usr –enable-mbstring –with-mysql=/usr/local/mysql –with-mysqli=/usr/local/mysql/bin/mysql_config –with-config-file-path=/etc –with-iconv –disable-ipv6 –enable-static –enable-maintainer-zts –enable-zend-multibyte –enable-inline-optimization –enable-zend-multibyte –enable-sockets –enable-soap –with-openssl –with-gettext –enable-suhosin
88 make && make install
89 ls
90 cd /usr/scr
91 cd /usr/src
92 ls
93 wget
94 ls
95 cd /
96 ls
97 cd root/
98 ls
99 cd ..
100 ls
101 cd sys/
102 ls
103 cd kernel/
104 ls
105 cd ../
106 vi /etc/grub.conf
107 tail /etc/grub.conf
130 ls
131 cat /etc/yum.repos.d/CentOS-Base.repo
132 yum update
133 yum update
134 cat /etc/yum.repos.d/CentOS-Base.repo
135 yum update
136 top
137 ls
138 yum install vim
139 yum install vi
140 vi
141 yum list | grep vi
142 yum install vim*
143 vi
144 ls
145 top
146 cd /usr/local/src
147 wget http://www.apache.org/dist/httpd/httpd-2.2.6.tar.bz2
148 tar jxvf httpd-2.2.6.tar.bz2
149 cd httpd-2.2.6
150 cd srclib/apr
151 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/apr –enable-threads –enable-other-child –enable-static
152 make && make install
153 cd ../apr-util
154 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/apr-util –with-apr=/usr/local/apr/ –with-mysql=/usr/local/mysql
155 make && make install
156 cd /usr/local/src/httpd-2.2.6
157 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/apache2 –enable-mods-shared=all –with-mysql=/usr/local/mysql –enable-cache –enable-file-cache –enable-mem-cache –enable-disk-cache –enable-static-support –enable-static-htpasswd –enable-static-htdigest –enable-static-rotatelogs –enable-static-logresolve –enable-static-htdbm –enable-static-ab –enable-static-checkgid –disable-cgid –disable-cgi –with-apr=/usr/local/apr/ –with-apr-util=/usr/local/apr-util/ –enable-ssl –with-ssl=/usr/include/openssl –with-pcre
158 useradd mysql
159 cd /usr/local/mysql
160 bin/mysql_install_db –user=mysql
161 chown -R root:mysql .
162 chown -R mysql /var/lib/mysql
163 chgrp -R mysql .
164 cp share/mysql/my-medium.cnf /etc/my.cnf
165 cp share/mysql/mysql.server /etc/rc.d/init.d/mysqld
166 chmod 755 /etc/rc.d/init.d/mysqld
167 chkconfig –add mysqld
168 echo “/usr/local/mysql/lib” >> /etc/ld.so.conf && ldconfig
169 vi /etc/my.cnf
170 /etc/rc.d/init.d/mysqld start
171 bin/mysqladmin -u root password “xxxx”
172 mysql
173 mysqld
174 cd ../
175 ls
176 cd ../
177 ls
178 cd /usr/local/src/httpd-2.2.6
179 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/apache2 –enable-mods-shared=all –with-mysql=/usr/local/mysql –enable-cache –enable-file-cache –enable-mem-cache –enable-disk-cache –enable-static-support –enable-static-htpasswd –enable-static-htdigest –enable-static-rotatelogs –enable-static-logresolve –enable-static-htdbm –enable-static-ab –enable-static-checkgid –disable-cgid –disable-cgi –with-apr=/usr/local/apr/ –with-apr-util=/usr/local/apr-util/ –enable-ssl –with-ssl=/usr/include/openssl –with-pcre
180 make && make install
181 cp /usr/local/apache2/bin/apachectl /etc/rc.d/init.d/httpd
182 vi /etc/rc.d/init.d/httpd
183 chkconfig –add httpd
184 vi /etc/rc.d/init.d/httpd
185 chkconfig –add httpd
186 chkconfig httpd on
187 /etc/rc.d/init.d/httpd
188 /etc/rc.d/init.d/httpd
189 cd /usr/local/src/
190 wget http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE16.tar.bz2
191 tar jxvf squid-2.6.STABLE16.tar.bz2
192 cd squid-2.6.STABLE16
193 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –prefix=/usr/local/squid –enable-async-io=500 –with-maxfd=65536 –disable-delay-pools –disable-mem-gen-trace –disable-useragent-log –enable-kill-parent-hack –disable-arp-acl –enable-epoll –disable-ident-lookups –enable-snmp –enable-large-cache-files –with-large-files –with-pthreads –enable-underscore –enable-storeio=”aufs,coss,diskd,ufs” –enable-err-language=”Simplify_Chinese” –enable-default-err-languages=”Simplify_Chinese”
194 make && make install
195 /usr/local/mysql/bin/mysql -u root -p
196 ls
197 cd /
198 ls
200 cd var
201 ls
202 cd ../
203 cd home
204 ls
205 cd var
206 cd /var
207 mkdir www
208 mkdir *.*.*.com
209 ls
210 cd www/
211 vi index.php
212 vi index.php
213 cd /usr/local/src
214 wget http://downloads.zend.com/optimizer/3.3.0/ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz
215 tar xzvf ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz
216 ./ZendOptimizer-3.3.0-linux-glibc21-i386/install.sh
217 cd /usr/local/src
218 wget http://bart.eaccelerator.net/source/0.9.5.2/eaccelerator-0.9.5.2.tar.bz2
219 tar jxvf eaccelerator-0.9.5.2.tar.bz2
220 cd eaccelerator-0.9.5.2
221 export PHP_PREFIX=”/usr/local/php”
222 $PHP_PREFIX/bin/phpize
223 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config
224 make & make install
225 make
226 make installl
227 make install
228 make
229 CHOST=”i686-pc-linux-gnu” CFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” CXXFLAGS=”-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer” ./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config
230 make
231 ./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config
232 make
233 vi Makefile
234 make
235 ls
236 eaccelerator.lo
237 rm eaccelerator.lo
238 make
239 rm optimize.lo
240 make
241 rm loader.lo
242 make
243 rm *.lo
244 make
245 make install
246 vi /etc/php.ini
247 mkdir /tmp/eaccelerator
248 chmod 0777 /tmp/eaccelerator
249 /etc/rc.d/init.d/httpd restart
250 cp /usr/local/squid/etc/squid.conf /usr/local/squid/etc/squid.conf.bak
251 vi /usr/local/squid/etc/squid.conf
252 cd /usr/local/squid/etc/
253 ls
254 rm squid.conf
255 vi squid.conf.
256 vi squid.conf
257 mkdir /usr/local/squid/var/cache
258 chown -R nobody:nobody /usr/local/squid/var/cache
259 chown -R nobody:nobody /usr/local/squid/var/logs/
260 chmod 777 /usr/local/squid/var/cache
261 /usr/local/squid/sbin/squid -z
262 vi squid.conf
263 /usr/local/squid/sbin/squid -z
264 vi squid.conf
265 /usr/local/squid/sbin/squid -z
266 vi squid.conf
267 /usr/local/squid/sbin/squid -z
268 /usr/local/squid/sbin/squid -NCd1
269 vi squid.conf
270 /usr/local/squid/sbin/squid -NCd1
271 vi squid.conf
272 /usr/local/squid/sbin/squid -NCd1
273 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
274 /usr/local/squid/sbin/squid -NCd1
275 /usr/local/squid/sbin/squid -NCd1
276 vi squid.conf
281 /usr/local/squid/sbin/squid -NCd1
286 ping *.*.*.61
287 ./bin/RunCache &
288 ls
289 cd ..
290 ls
291 ./bin/RunCache &
292 chown nobody:nobody /usr/local/squid/var/squid.out
293 chown nobody:nobody /usr/local/squid/var/squid.pid
294 ./bin/RunCache &
295 cd /usr/local/src
296 wget http://monkey.org/~provos/libevent-1.3e.tar.gz
297 tar zxvf libevent-1.3e.tar.gz
298 cd libevent-1.3e
299 ./configure –prefix=/usr/ && make && make install
300 top -u nobody
301 pwd
302 cd ../
303 cd memcached-1.2.2
304 ls
305 vi memcached.c
306 ls
307 ./configure –prefix=/usr/local/memcached –with-libevent=/usr/
308 make
309 vi memcached.c
310 ./configure –prefix=/usr/local/memcached –with-libevent=/usr/
311 make
312 make install
313 cd ../
314 ls
315 tar zxvf memcached-1.2.2.tar.gz
316 cd memcached-1.2.2
317 ./configure –prefix=/usr/local/memcached –with-libevent=/usr/ && make && make install
318 make
319 cd ../
320 ls
321 rm -rf memcached-1.2.2
322 tar zxvf memcached-1.2.2.tar.gz
323 cd memcached-1.2.2
324 ./configure –prefix=/usr/local/memcached –with-libevent=/usr/ && make && make install
325 cd /usr/local
326 ls
327 cd apache2/
328 ls
329 cd conf
330 ls
331 vi httpd.conf
332 ls
333 cd extra/
334 ls
335 vi httpd-vhosts.conf
336 /etc/rc.d/init.d/httpd restart
337 pwd
338 cd ../
339 ls
340 vi httpd.conf
341 ls
342 cd ../
343 ls
344 cd logs/
345 ls
346 ls -all
347 tail error_log
348 cat error_log
349 cat access_log
350 ls
351 cd ../
352 ls
353 cd conf/
354 ls
355 vi httpd.conf
356 ls
357 vi extra/httpd-vhosts.conf
358 /etc/rc.d/init.d/httpd restart
359 vi extra/httpd-vhosts.conf
360 /etc/rc.d/init.d/httpd restart
361 top
362 /etc/rc.d/init.d/httpd restart
363 history
364 cd /usr/local/src/php-5.2.5
365 make && make test && make install
366 php
367 /usr/local/php/bin/php
368 /usr/local/php/bin/php -v
369 cp php.ini-recommended /etc/php.ini
370 vi /usr/local/apache2/conf/httpd.conf
371 /usr/local/apache2/bin/apachectl restart
372 /usr/local/apache2/bin/apachectl start
373 /usr/local/apache2/bin/apachectl restart
374 yum install re2c
375 yum list | re2c
376 yum list | grep re2c
377 yum list | grep re
378 chown nobody:nobody /usr/local/squid/var/squid.out
379 chown nobody:nobody /usr/local/squid/var/squid.pid
380 vi /etc/rc.d/rc.local
381 pwd
382 cd ../
383 ls
384 wget http://danga.com/memcached/dist/memcached-1.2.2.tar.gz
385 tar zxvf memcached-1.2.2.tar.gz
386 cd memcached-1.2.2
387 ./configure –prefix=/usr/local/memcached –with-libevent=/usr/ && make && make install
388 ./configure –prefix=/usr/local/memcached –with-libevent=/usr/ && make && make install
389 cd ..
390 pwd
391 wget http://pecl.php.net/get/memcache-2.2.0.tgz
392 tar zxvf memcache-2.2.0.tgz
393 cd memcache
394 cd memcache-2.2.0
395 export PHP_PREFIX=/usr/local/php
396 $PHP_PREFIX/bin/phpize
397 ./configure –enable-memcache –with-zlib-dir –with-php-config=$PHP_PREFIX/bin/php-config
398 make && make install
399 vi /etc/php.ini
400 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 10000 -u nobody -m 128
403 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 10000 -u nobody -m 12
404 /etc/rc.d/init.d/httpd restart
412 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 10000 -u nobody -m 12
413 top -u nobody
414 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 10000 -u nobody -m 30
415 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 20000 -u nobody -m 30
416 vi /etc/rc.local
417 cd /usr/share/ssl/misc
418 cd /usr/share/ss
419 cd /usr/share/ssl
420 cd /var/www/
421 wget http://nchc.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.1-all-languages-utf-8-only.tar.gz
422 tar zxvf phpMyAdmin-2.11.1-all-languages-utf-8-only.tar.gz
423 ls
424 rm phpMyAdmin-2.11.1-all-languages-utf-8-only.tar.gz
425 mv phpMyAdmin-2.11.1-all-languages-utf-8-only/ phpmyadmin
426 cd phpmyadmin/
427 cd libraries
428 vi config.default.php
429 vi config.default.php
430 vi config.default.php
431 ls
432 top
433 ls
434 cd ../
435 ls
436 cd ..
437 ls
438 mkdir *.cn
439 pwd
440 mkdir *.*.*.com
441 mv phpmyadmin/ *.*.*.com/
442 ls
443 mv *.cn.zip *.cn
444 cd *.cn/
445 ls
454 yum install unzip
455 unzip *.cn.zip
456 ls
457 chmod 000 *.cn.zip
458 ls
459 ls -all
460 vi .htaccess
461 pwd
462 ls
463 cd ../
464 ls
465 mv index.php *.*.*.com/
466 ls
467 jpwd
468 pwd
469 ls
470 unzip biz.zip
471 ls -all -h
472 mysql
473 /usr/local/mysql/bin/mysql -u root -p
474 ls
475 cd *.cn/
476 ls
477 vi config.php
478 ls
479 rm config.php
480 cd include/
481 ls
482 vi config.php
483 vi /etc/php.ini
484 vi /etc/php.ini
485 ls
486 vi config.php
487 cd ..
488 ls
489 vi index.php
490 top
491 ls
492 cd /var/www
493 dir
494 mkdir aaa.com
495 mkdir bbb.com
496 cd fff.cn
497 cd *.cn
498 ls
499 mv .htaccess htaccess
500 /etc/rc.d/init.d/httpd restart
501 ls
502 mv *.cn.zip ../
503 ls
504 vi business.php
505 vi include/config.php
506 ls
507 sftp siko@bt.com
508 top
509 cd /var/www
510 wget ccc.com.cn/aaa.com.sql.gz
511 wget ccc.com.cn/aaa.sql.gz
512 ls
513 mkdir sql
514 mv biz.* sql
515 mv *.sql.gz sql
516 cd sql
517 ls
518 wget ccc.com.cn/fff.sql.gz
519 cd ..
520 mkdir data
521 ls
522 cp site.zip data
523 unzip site.zip
524 ls
525 mv site.zip data/
526 ls
527 cd fff.com/
528 ls
529 rm .htaccess
530 /etc/rc.d/init.d/httpd restart
531 cd ../
532 mkdir ddd.org.cn
533 rm .htaccess
534 /etc/rc.d/init.d/httpd restart
535 vi fff.com/config.inc.php
536 ls
537 cd fff.com/
538 ls
539 ls -all
552 cd forumdata/
553 dir
554 ls
555 ls -all
556 cd cache/
557 ls
558 rm *
559 ls
560 cd ../../
561 ls
562 cd ../aaa.com/
563 ls
564 vi config.inc.php
565 ls
566 chmod 777 forumdata/
567 chmod 777 forumdata/cache/
568 rm forumdata/cache/*
569 whereis ebiz
570 whereis mysql
571 cd /usr/local/mysql/
572 ls
573 cd bin
574 ls
575 mysql
576 ./mysql
577 ./mysql -h ccc.com.cn -u root -p
578 find ebiz
579 cd
580 ls -all
581 hostname
582 ls
583 ls
584 cd ../
585 ls
586 vi /etc/selinux/config
587 vi /etc/my.cnf
588 cd /usr/local/src
589 ls
590 /usr/local/memcached/bin/memcached -l 192.168.9.139 -d -p 10000 -u nobody -m 128
591 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 10000 -u nobody -m 128
592 /usr/local/memcached/bin/memcached -l *.*.*.61 -d -p 10000 -u root -m 128
594 top -U root
595 q
596 q
597 vi /etc/rc.d/rc.local
598 pwd
599 date
600 cd
601 mkdir cron
602 cd cron/
603 vi squid.sh
604 chmod +x squid.sh
605 ls
606 ls -all
607 ./squid.sh
608 ps aux | grep -i squid | grep -v grep|awk ‘{print $2}’
609 ps aux | grep -i squid | grep -v grep|awk ‘{print $2}’
610 top
611 qq
612 /usr/local/squid/bin/RunCache &
613 /usr/local/squid/sbin/squid -z
614 /usr/local/squid/sbin/squid -D
615 vi vi /usr/local/squid/etc/squid.conf
616 vi /usr/local/squid/etc/squid.conf
617 “/usr/local/squid/bin/RunCache &”
618 /usr/local/squid/bin/RunCache &
619 usr/local/squid/sbin/squid -NCd1
620 /usr/local/squid/sbin/squid -NCd1
621 vi /usr/local/squid/etc/squid.conf
622 /usr/local/squid/sbin/squid -NCd1
623 /usr/local/squid/sbin/squid -NCd1
624 vi /usr/local/squid/etc/squid.conf
625 /usr/local/squid/sbin/squid -NCd1
626 ping *.*.*.61
628 ipconfig
629 ifconfig
630 /usr/local/squid/sbin/squid -D
631 ls /usr/local/squid
632 ls /usr/local/squid/var/logs/
633 ls /usr/local/squid/var/logs/ -all
634 cat /usr/local/squid/var/logs/cache.log
635 ls
636 ls
637 ls
638 ls
639 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
640 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
641 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
642 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
643 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
644 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
645 cat /usr/local/squid/var/logs/access.log
646 cat /usr/local/squid/var/logs/access.log
647 ls
648 vi /etc/rc.d/rc.local
649 reboot
650 top
651 exit
652 top
653 ls
654 cd /var/www/ddd.org.cn/
655 ls
656 mkdir images
657 ls
658 rm m*
659 ls
663 top
664 cd /var/www/sql
665 /usr/local/mysql/bin/mysql
666 /usr/local/mysql/bin/mysql -p
667 /etc/rc.d/init.d/httpd restart
668 /etc/rc.d/init.d/httpd restart
669 cd /var/www/eee.com.cn/include/
670 ls
671 cat > config.php
672 cat config.php
673 cat “” >config.php
674 vi config.php
685 yum update
686 cat /etc/host
687 cat /etc/hosts
688 vi /usr/local/squid/etc/squid.conf
689 /usr/local/squid/sbin/squid -NCd1
690 ps
691 ps aux
692 df -hi
693 /usr/local/squid/sbin/squid -z
694 /usr/local/squid/sbin/squid -NCd1
695 lsof
696 lsof
697 lof
698 netstatus
699 net
700 status
701 vi /usr/local/squid/etc/squid.conf
702 yum update
703 /usr/local/squid/sbin/squid -NCd1
704 vi /usr/local/squid/etc/squid.conf
705 vi /usr/local/squid/etc/squid.conf
706 vi /usr/local/squid/etc/squid.conf
707 reboot
708 top
709 ls
710 vi /usr/local/squid/etc/quid.conf
711 vi /usr/local/squid/etc/squid.conf
712 ls
713 cd /usr/share/ssl/misc
714 yum update
715 yum update
716 yum list | grep ssl
717 whereis ssl
718 ca
721 cd /var/www
722 ls
723 mkdir ccc.com.cn
724 cd ccc.com.cn/
732 cd
733 cd /var/www/
734 dir
755 ls
756 cd sql
757 ls
758 unzip ebiz.zip
759 ls
760 cd ../
761 ls
762 cd *.cn
763 ls
764 cd include/
765 vi config.php
766 top
767 /usr/local/squid/sbin/squid -NCd1
768 ping 127.0.0.1
775 cat /usr/local/squid/var/logs/access.log |grep TCP_MEM_HIT
776 cat /usr/local/squid/var/logs/access.log
777 top
778 ifconfig
779 reboot
780 yum update
781 top
782 cat /etc/issue
783 cat /etc/passwd
784 cat /var/log/maillog
785 cat /var/log/secure
786 tail /var/log/secure
787 vi /usr/local/apache2/conf/extra/httpd-vhosts.conf
788 /etc/rc.d/init.d/httpd restart
789 exit
790 top
791 tail /var/log/secure
792 cat /var/log/lastlog
793 cat > /var/log/lastlog
794 cat /var/log/lastlog
795 tail -100 /var/log/secure
796 tail /var/log/messages
797 yum update
798 mysqldump -h *.*.*.* -u ymier_design77 -p ymier_design77 > design77_bbs.sql
799 php
800 ruby
801 yum install ruby
802 yum list | grep ruby
803 yum install ruby*
804 yum update
805 top
806 cd
807 ls -all
808 cd .ssh/
809 ls
810 ls -all
811 tail known_hosts
812 cd ../
813 ls
814 ls -all
815 ls -all -h
816 tail /var/local/apache/logs
817 ls /var/local/apache
818 ls /var/local/apache2
819 tail /usr/local/apache2/logs/access_log
820 tail /usr/local/apache2/logs/error_log
821 date
822 tail /usr/local/apache2/logs/error_log
823 top
828 exit
829 top
830 top
831 cd /var/www/*.*.*.com/
832 ls -all
833 /usr/local/php/bin/php b.php
834 ls /etc/
835 ls /etc/ -all
836 cat /etc/php.ini
837 ls /etc/
838 /usr/local/php/bin/php b.php
839 ls /usr/local/php/lib/php/extensions/no-debug-zts-20060613/
840 ls /usr/local/php/lib/php/extensions/no-debug-zts-20060613/ -all
841 cd /usr/local/src/
842 wget http://pecl.php.net/get/memcache-2.2.1.tgz
843 tar zxvf memcache-2.2.1.tgz
844 ls
845 cd php-5.2.5
846 cd ../memcache-2.2.1
847 export PHP_PREFIX=/usr/local/php
848 $PHP_PREFIX/bin/phpize
849 ./configure –enable-memcache –with-zlib-dir –with-php-config=$PHP_PREFIX/bin/php-config
850 make && make install
851 cd ../php-5.2.5
852 ‘./configure’ ‘–prefix=/usr/local/php’ ‘–with-apxs2=/usr/local/apache2/bin/apxs’ ‘–with-pear=/usr/share/php’ ‘–with-zlib-dir’ ‘–with-bz2’ ‘–with-libxml-dir=/usr’ ‘–with-gd=/usr/local/gd2’ ‘–enable-gd-native-ttf’ ‘–enable-gd-jis-conv’ ‘–with-freetype-dir’ ‘–with-jpeg-dir’ ‘–with-png-dir’ ‘–with-ttf=shared,/usr’ ‘–enable-mbstring’ ‘–with-mysql=/usr/local/mysql’ ‘–with-mysqli=/usr/local/mysql/bin/mysql_config’ ‘–with-config-file-path=/etc’ ‘–with-iconv’ ‘–disable-ipv6’ ‘–enable-static’ ‘–enable-maintainer-zts’ ‘–enable-zend-multibyte’ ‘–enable-inline-optimization’ ‘–enable-zend-multibyte’ ‘–enable-sockets’ ‘–enable-soap’ ‘–with-openssl’ ‘–with-gettext’ ‘–enable-suhosin’ –enable-memcache[=/usr/local/memcached]
853 ‘./configure’ ‘–prefix=/usr/local/php’ ‘–with-apxs2=/usr/local/apache2/bin/apxs’ ‘–with-pear=/usr/share/php’ ‘–with-zlib-dir’ ‘–with-bz2’ ‘–with-libxml-dir=/usr’ ‘–with-gd=/usr/local/gd2’ ‘–enable-gd-native-ttf’ ‘–enable-gd-jis-conv’ ‘–with-freetype-dir’ ‘–with-jpeg-dir’ ‘–with-png-dir’ ‘–with-ttf=shared,/usr’ ‘–enable-mbstring’ ‘–with-mysql=/usr/local/mysql’ ‘–with-mysqli=/usr/local/mysql/bin/mysql_config’ ‘–with-config-file-path=/etc’ ‘–with-iconv’ ‘–disable-ipv6’ ‘–enable-static’ ‘–enable-maintainer-zts’ ‘–enable-zend-multibyte’ ‘–enable-inline-optimization’ ‘–enable-zend-multibyte’ ‘–enable-sockets’ ‘–enable-soap’ ‘–with-openssl’ ‘–with-gettext’ ‘–enable-suhosin’ –enable-memcache=/usr/local/memcached
854 make && make install
855 /etc/rc.d/init.d/httpd restart
856 /etc/rc.d/init.d/httpd restart
857 /etc/rc.d/init.d/httpd start
858 cd /var/www/*.*.*.com/
859 /usr/local/php/bin/php b.php
860 vi /etc/php.ini
861 vi /etc/php.ini
862 cat /var/rc.d/rc.local
863 cat /etc/rc.d/rc.local
864 /usr/local/memcached/bin/memcached -l 127.0.0.1 -d -p 10000 -u root -m 80
865 top
866 /etc/rc.d/init.d/httpd stop
867 top
868 vi /etc/php.ini
869 tp[; ;
870 top
871 ls /etc/
872 ls /etc/ -all
873 /etc/rc.d/init.d/httpd start
874 /usr/local/php/bin/php /var/www/*.*.*.com/b.php
875 /etc/rc.d/init.d/httpd restart
876 /usr/local/php/bin/php /var/www/*.*.*.com/b.php
877 /etc/rc.d/init.d/httpd restart
878 /usr/local/php/bin/
879 /usr/local/php/bin/php /var/www/*.*.*.com/b.php
880 top -u root
881 kill 17788
882 tail /etc/rc.d/rc.local
883 /usr/local/memcached/bin/memcached -l 127.0.0.1 -d -p 11211 -u root -m 80 -P /tmp/memcached.pid
884 tail /usr/local/apache2/logs/error_log
885 tail /usr/local/apache2/logs/error_log
886 cd /var/www/*.*.*.com/
887 ls
888 ls -all
889 chmod 777 b.php
890 ls -all
891 tail /usr/local/apache2/logs/error_log
892 tail /usr/local/apache2/logs/error_log
893 tail /usr/local/apache2/logs/error_log
894 ls -all
895 vi /etc/rc.d/rc.local
896 tail /usr/local/apache2/logs/error_log
897 top
898 ls
899 cd ../*.cn
900 ls
901 cd include/
902 vi config.php
903 cd ../
904 vi category.php
905 vi include/config.php
906 ls
907 chmod 777 b.php
908 tail /usr/local/apache2/logs/access_log
909 ls /usr/local/apache2/logs/
914 tail /usr/local/apache2/logs/access_log
915 tail /usr/local/apache2/logs/error_log
919 top
920 exit
921 top
922 ls
923 service
924 service –status-all
925 /etc/rc.d/init.d/httpd start
926 top
927 chkconfig –add httpd
928 chkconfig httpd on
929 date
930 reboot
931 exit
932 mysql -u root -p
933 /usr/local/mysql/bin/mysql -u root -p
934 top
935 top
942 history

Leave a Reply

Your email address will not be published. Required fields are marked *