1 ll
2 cd Server/
3 ll
4 rpm -Uvh setarch-2*
5 rpm -Uvh make-3*
6 rpm -Uvh glibc-2*
7 rpm -Uvh libaio-0*
8 rpm -Uvh compat-libstdc++-33-3*
9 rpm -Uvh compat-gcc-34-3*
10 rpm -Uvh compat-gcc-34-c++-3*
11 rpm -Uvh gcc-4*
12 rpm -Uvh libXp-1*
13 rpm -Uvh openmotif-2*
14 rpm -Uvh compat-db-4*
15 cd /opt
16 ll
17 mkdir u01
18 ll
19 ln -s /opt/u01/ /u01
20 cd /
21 ll
22 cd u-1
23 cd u01
24 ll
25 mkdir -p /u01/app/oracle/product/10.2.0/db_1
26 chown -R oracle.oinstall /u01
27 chown -R oracle.oinstall /opt/u01
28 cd /etc
29 ll
30 vi redhat-release
31 cd /home/oracle/.bash_profile
32 vi /home/oracle/.bash_profile
33 su - oracle
34 /u01/app/oracle/product/10.2.0/db/root.sh
35 ifconfig
36 cd /opt
37 ll
38 mkdir u02
39 ln -s /opt/u02 /u02
40 cd /
41 ll
42 chown -R oracle:oinstall /opt/u02
43 chown -R oracle:oinstall /u02
44 su - oracle
45 fdisk -l
46 fdisk /dev/sdb
47 fdisk -l
48 partprobe
49 mkfs.ext3 /dev/sdb1
50 mkfs.ext2 /dev/sdb1
51 mke2fs /dev/sdb1
52 mkfs -t ext3 -j /dev/sdb1
53 mkfs -t ext2 -j /dev/sdb1
54 fdisk /dev/sdb
55 fdisk /dev/sdb
56 fdisk -l
57 mkfs.ext3 /dev/sdb1
58 mkdir /opt/newdis
59 mount /dev/sdb1 /opt/newdis/
60 vi /etc/fstab
61 touch test /opt/newdis/
62 cd /opt/newdis/
63 ls
64 ls
65 touch test
66 ls
67 reboot
68 df -lh
69 cd /opt/newdis/
70 ls
71 su - oracle
72 rm -rf u02
73 ll
74 cd /
75 ll
76 rm -rf u02
77 ll
78 ln -s /opt/newdis/u02 /u02
79 ll
80 chown -R oracle:oinstall /u02
81 ll
82 su - oracle
83 chown -R oracle:oinstall /opt/newdis/
84 su - oracle
85 mount 192.168.6.138:/u02/dmp /u02/dmp/
86 cd /u02/dmp/
87 ll
88 ll
89 ll
90 lsnrctl status
91 su - oracle
92 service syslog status
93 netstat -tlnp |grep syslog
94 netstat -an |grep syslog
95 service syslog status
96 clean
97 clear
98 netstat -an |grep syslog
99 clear
100 service syslog status
101 service iptables status
102 last
103 who
104 service iptables status
105 service iptables start
106 service iptables status
107 cd /root/
108 mkdir .ssh
109 cd .ssh/
110 rz
111 cp /root/Identity ./id_rsa
112 ssh-keygen
113 sftp alan@192.168.50.42
114 cd /root/.ssh/
115 ls
116 ssh-keygen
117 ls
118 vi id_rsa.pub
119 ls
120 rm -rf *
121 cp /root/Identity ./id_rsa
122 ls
123 ls
124 sftp alan@192.168.50.40
125 sftp alan@192.168.50.42
126 ls
127 rm -rf known_hosts
128 ls
129 sftp root@192.168.50.42
130 ssh-keygen
131 sftp root@192.168.50.42
132 ssh-keygen
133 sftp root@192.168.50.42
134 ssh-keygen
135 sftp root@192.168.50.42
136 ifconfig
137 init 0
138 ntpdate 192.168.191.240
139 echo "ntpdate 192.168.191.240" >> /etc/rc.local
140 echo "0 12 * * * ntpdate 192.168.191.240" >> /var/spool/cron/root
141 at 18:01
142 last
143 last | less
144 shutdown -h now
145 exit
146 mv ~/master_key ~/.ssh/authorized_keys
147 chmod 600 ~/.ssh/authorized_keys
148 gzip -d hadoop-0.21.0.tar.gz
149 tar -xf hadoop-0.21.0.tar
150 java
151 ll
152 ll /opt/
153 ll /usr/
154 ll
155 ./jdk-6u5-linux-x64.bin
156 chmod +w jdk-6u5-linux-x64.bin
157 ./jdk-6u5-linux-x64.bin
158 ll
159 chmod +x jdk-6u5-linux-x64.bin
160 ./jdk-6u5-linux-x64.bin
161 ll
162 rm jdk-6u5-linux-x64.bin
163 ll
164 java
165 sudo gedit /etc/profile
166 vi /etc/profile
167 java
168 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC Java Home CLASSPATH JRE_HOME
169 java
170 vi /etc/profile
171 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC Java Home CLASSPATH JRE_HOME
172 java
173 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC Java Home CLASSPATH JRE_HOME JAVA_HOME
174 ll
175 vi /etc/profile
176 java
177 reboot
178 echo PATH
179 export
180 echo $PATH
181 mv ~/master_key ~/.ssh/authorized_keys
182 chmod 600 ~/.ssh/authorized_keys
183 vi /etc/profile
184 vi /etc/bashrc
185 jps
186 less /root/hadoop-0.21.0/bin/../logs/hadoop-root-namenode-tibcotest.alan.com.out
187 ll hadoop-0.21.0/logs/hadoop-root-datanode-localhost.localdomain.log
188 less hadoop-0.21.0/logs/hadoop-root-datanode-localhost.localdomain.log
189 rm -rf hadoop-0.21.0/logs/*
190 ll
191 cd hadoop-0.21.0/logs
192 ll
193 less hadoop-root-datanode-localhost.localdomain.log
194 less hadoop-root-tasktracker-localhost.localdomain.log
195 jps
196 less hadoop-root-tasktracker-localhost.localdomain.log
197 cd ..
198 vi conf/mapred-site.xml
199 vi conf/mapred-site.xml
200 jps
201 less hadoop-root-tasktracker-localhost.localdomain.log
202 cd logs
203 less hadoop-root-tasktracker-localhost.localdomain.log
204 cd ..
205 vi conf/core-site.xml
206 jps
207 vi conf/mapred-site.xml
208 jps
209 jps
210 ll /tmp/hadoop-root/dfs/data/current/finalized/
211 vi ll /tmp/hadoop-root/dfs/data/current/finalized/blk_-6267353868788565174
212 vi ll /tmp/hadoop-root/dfs/data/current/finalized/blk_-6267353868788565174_1102.meta
213 less /tmp/hadoop-root/dfs/data/current/finalized/blk_-6267353868788565174_1102.meta
214 less /tmp/hadoop-root/dfs/data/current/finalized/blk_-6267353868788565174
215 cd hadoop-0.21.0
216 ll
217 vi conf/hdfs-site.xml
218 cd /opt
219 mkdir hadoop
220 mkdir hadoop/data1
221 mkdir hadoop/data2
222 ll hadoop/data1/
223 ll hadoop/data1/
224 cd /root/hadoop-0.21.0/conf/
225 ll
226 vi hdfs-site.xml
227 tail -fn500 /root/hadoop-0.21.0/bin/../logs/hadoop-root-tasktracker-localhost.localdomain.out
228 cd ../logs
229 ll
230 tail -fn500 hadoop-root-datanode-localhost.localdomain.log
231 jps
232 vi ../conf/hdfs-site.xml
233 tail -fn500 hadoop-root-datanode-localhost.localdomain.log
234 vi ../conf/hdfs-site.xml
235 tail -fn500 hadoop-root-datanode-localhost.localdomain.log
236 ll /opt/hadoop/data2
237 ll /opt/hadoop/data1
238 rm rm -rf /opt/hadoop/data1/*
239 rm rm -rf /opt/hadoop/data2/*
240 tail -fn500 hadoop-root-datanode-localhost.localdomain.log
241 vi ../conf/hdfs-site.xml
242 mkdir /opt/hadoop/data3
243 cd /root/hadoop-0.21.0
244 cd bin
245 ll
246 less start-dfs.sh
247 cd hadoop-0.21.0/conf
248 vi excludes
249 vi hdfs-site.xml
250 vi excludes
251 rm -rf /opt/hadoop/data/*
252 jps
253 cd hadoop-0.21.0/bin/
254 ll
255 ./hadoop-daemon.sh start datanode
256 ./hadoop
257 sh start-dfs.sh
258 vi start-dfs.sh
259 vi stop-dfs.sh
260 ll
261 vi hadoop-daemon.sh
262 ll
263 sh hadoop-daemon.sh start datanode
264 jps
265 sh hadoop-daemon.sh start datanode
266 jps
267 sh hadoop-daemon.sh stop datanode
268 rm rm -rf /opt/hadoop/data1/*
269 rm -rf /opt/hadoop/data2/*
270 ll /opt/hadoop/
271 ll /opt/hadoop/data3
272 rm -rf /opt/hadoop/data3/*
273 chown -fR hadoop /opt/hadoop
274 su hadoop
275 ll /opt
276 vi /etc/bashrc
277 vi /etc/profile
278 vi /etc/bashrc
279 ll
280 cd /root
281 ll
282 cp -rf jdk1.6.0_05 /opt/
283 cd /opt/
284 ll
285 vi /etc/profile
286 su hadoop
287 vi /etc/bashrc
288 exit
289 gzip -d hadoop-0.20.203.0rc1.tar.gz
290 tar -xvf hadoop-0.20.203.0rc1.tar
291 cd hadoop-0.20.203.0
292 \cp -a ../hadoop-0.21.0/conf/core-site.xml conf/core-site.xml
293 \cp -a ../hadoop-0.21.0/conf/hdfs-site.xml conf/hdfs-site.xml
294 \cp -a ../hadoop-0.21.0/conf/mapred-site.xml conf/mapred-site.xml
295 \cp -a ../hadoop-0.21.0/conf/masters conf/masters
296 \cp -a ../hadoop-0.21.0/conf/slaves conf/slaves
297 jps
298 kill -9 3588
299 cd ..
300 cp -rf hadoop-0.20.203.0 /opt/hadoop
301 useradd hadoop
302 passwd hadoop
303 mkdir ~/.ssh
304 chmod 700 ~/.ssh
305 mv ~/authorized_keys ~/.ssh/
306 chmod 600 ~/.ssh/authorized_keys
307 su hadoop
308 java
309 su hadoop
310 less /etc/profile
311 jps
312 su hadoop
313 cp zookeeper-3.3.3.tar.gz /opt/hadoop/
314 su hadoop
315 vi /etc/profile
316 cd
317 cp hbase-0.90.3.tar.gz /opt/hadoop/
318 su hadoop
319 \cp -a hbase-site.xml hdfs-site.xml hbase-env.sh regionservers /opt/hadoop/hbase/conf/
320 chown -fR hadoop /opt/hadoop/
321 df
322 cd /opt
323 ll
324 rm -rf full.dmp
325 jps
326 ps -ef |grep 13026
327 ps -ef |grep 13026
328 cp /opt/hadoop/zookeeper-3.3.3/conf/zoo.cfg /opt/jdk1.6.0_05/lib
329 zookeeper-3.3.3/bin/zkServer.sh stop
330 su hadoop
331 su hadoop
332 cp hbase-*.xml /opt/hadoop/hbase/conf/
333 rm -rf /opt/hadoop/hbase/conf/hbase-default.xml
334 cp hbase-*.xml /opt/hadoop/hbase/conf/
335 vi /etc/hosts
336 less /etc/bashrc
337 su hadoop
338 su hadoop
339 vi /etc/hosts
340 vi /etc/hosts
341 jps
342 vi /etc/hosts
343 vi etc/hosts
344 vi /etc/hosts
345 vi /opt/hadoop/hbase/conf/hbase-site.xml
346 jps
347 kill -9 23754
348 vi /etc/hosts
349 jps
350 kill -9 23987
351 jps
352 kill -9 24355
353 jps
354 jps
355 kill -9 24682 24585
356 jps
357 kill -9 24887 24984
358 jps
359 kill -9 HQuorumPeer HRegionServer
360 kill -9 25286 25185
361 vi /opt/hadoop/hbase/conf/hbase-site.xml
362 jps
363 kill -9 25582 25485
364 su hadoop
365 vi /etc/sysctl.conf
366 reboot
367 cat /proc/sys/net/ipv6/conf/all/disable_ipv6
368 jps
369 vi /etc/bashrc
370 vi /etc/hosts
371 jps
372 kill -9 5014 5111
373 su hadoop
374 less /opt/hadoop/hadoop-0.20.203.0/conf/hdfs-site.xml
375 less /opt/hadoop/hadoop-0.20.203.0/conf/core-site.xml
376 jps
377 kill -9 12414 12317
378 vi /opt/hadoop/hadoop-0.20.203.0/conf/core-site.xml
379 jps
380 kill -9 19312
381 vi /etc/profile
382 jps
383 kill -9 19563 19472
384 su hadoop
385 vi /etc/profile
386 su hadoop
387 jps
388 su hadoop
389 ll
390 su hadoop
391 jps
392 vi /etc/profile
393 vi /etc/profile
394 exit
395 jps
396 kill -9 17930
397 jps
398 jps
399 kill -9 20659
400 jps
401 jps
402 kill -9 29834 29935
403 su hadoop
404 su hadoop
405 su hadoop
406 which java
407 mkdir /opt/oracle
408 mv apache-tomcat-6.0.30_V1.4.zip /opt/oracle/
409 cd /opt/oracle/
410 ll
411 unzip apache-tomcat-6.0.30_V1.4.zip
412 ll
413 cd tomcatTemplate/
414 ll
415 cd bin
416 ll
417 chmod +x *.sh
418 ./createInstance.sh
419 ./createInstance.sh -h
420 ll ../..
421 cd ../../tomcat
422 ll
423 cd ..
424 rm -rf tomcat
425 cd tomcatTemplate/bin
426 cd ../../
427 cp tomcatTemplate/ tomact-sso
428 cp -rf tomcatTemplate/ tomact-sso
429 ll
430 mv tomact-sso tomcat-sso
431 ll
432 cd tomcat-sso
433 cd bin
434 ll
435 cd ..
436 cd ..
437 rm -rf tomcat-sso
438 ll
439 cd tomcatTemplate/bin
440 sh createInstance.sh tomcatServer47-0
441 cd ../..
442 ll
443 cd tomcat
444 ll
445 cd tomcatServer47-0/
446 ll
447 less conf/catalina.properties
448 cd ..
449 cd bin
450 ll
451 cd tomcatServer47-0/
452 ll
453 cd bin
454 ll
455 vi resource.properties
456 ./createResource.sh
457 cd
458 mv if-sso-token-server.war /opt/oracle/tomcat/tomcatServer47-0/webapps/
459 cd /opt/oracle/tomcat/tomcatServer47-0/bin
460 ./catalina.sh start
461 tail -fn100 ../logs/catalina.out
462 tail -fn100 ../logs/localhost.2011-09-07.log
463 ./catalina.sh stop
464 ./catalina.sh start
465 ./catalina.sh stop
466 ./catalina.sh start
467 ./catalina.sh stop
468 ./catalina.sh start
469 mv if-sso-token-server.war /opt/oracle/tomcat/tomcatServer47-0/webapps/
470 rm -rf /opt/oracle/tomcat/tomcatServer47-0/webapps/if-sso-token-server
471 less /nfs/envconfig/pmd/jms.properties
472 ll
473 mkdir /nfs
474 ll
475 cd /nfs
476 ll
477 mkdir envconfig/pmd
478 mkdir envconfig
479 mkdir envconfig/pmd
480 vi /nfs/envconfig/pmd/jms.properties
481 vi /nfs/envconfig/pmd/jms.properties
482 vi /nfs/envconfig/pmd/orm.properties
483 tail -fn100 /opt/oracle/tomcat/tomcatServer47-0/logs/localhost.2011-09-07.log
484 tail -fn100 /opt/log/sso.token.server.log
485 ps -ef|grep tomcat
486 ps -ef|grep tomcat
487 cd /opt/oracle/tomcat/tomcatServer47-0/
488 ll
489 ll webapps/
490 cd /opt/oracle/
491 ls
492 cd tomcat
493 ls
494 cd tomcatServer47-0/
495 ls
496 cd conf
497 ls
498 less context.xml
499 cat /etc/redhat-release
500 exit
501 ls
502 cd opt
503 ls
504 cd /opt/oracle/
505 ls
506 cd tomcat
507 ls
508 cd tomcatServer47-0/
509 ls
510 cd webapps/
511 ls
512 cd ..
513 ls
514 cd conf
515 ls
516 less context.xml
517 cd ..
518 ls
519 cd /opt
520 ls
521 pwd
522 cd /opt
523 ls
524 cd oracle/bea/
525 cd oracle/
526 ls
527 cd ..
528 cd bea
529 cd /opt
530 ls
531 cd oracle/
532 ls
533 cd tomcat
534 ls
535 cd tomcatServer47-0/
536 ls
537 cd webapps/
538 ls
539 cd ..
540 ls
541 cd conf
542 ls
543 less context.xml
544 cd /opt/
545 ls
546 cd oracle/
547 ls
548 cd tomcat/tomcatServer47-0/
549 cd webapps/
550 ls
551 ls ..
552 history
553 cd /opt/oracle/
554 ls
555 cd tomcat
556 ls
557 cd ..
558 ls
559 cd tomcatTemplate/
560 ls
561 cd bin
562 ls
563 sh createInstance.sh tomcatServer47-1
564 cd ../../
565 ls
566 cd tomcat
567 ls
568 ll
569 cd ..
570 ls
571 ll
572 history