Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
fedora13 minimal -> fedora14 32bit jenkins env
1 sudo su -
2 sudo /sbin/service sshd restart
6 vi pubkey.txt
8 sudo /sbin/service sshd status
11 mkdir -p .ssh
12 chmod 700 .ssh/
13 mv pubkey.txt .ssh/authorized_keys
14 chmod 600 .ssh/authorized_keys
15 sudo less /etc/ssh/sshd_config
17 sudo vi /etc/ssh/sshd_config
18 sudo /sbin/service sshd restart
19 sudo yum update
20 sudo yum update rpm
21 sudo yum clean all
23 sudo reboot
25 sudo yum install preupgrade
// start updating OS
26 LANG=C preupgrade-cli
27 sudo su -
28 exit
// end updating OS
29 pwd
31 sudo yum install git
34 mkdir -p work
265 sudo yum list java*
266 sudo yum install java-1.6.0-openjdk
267 java -version
276 which java
277 java -version
35 cd work/
36 curl -O -L http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-linux-i586-rpm.bin
37 java -version
38 sudo sh jdk-6u26-linux-i586-rpm.bin
39 java -version
40 which java
41 javac -version
42 javaws
43 vi /etc/profile
44 sudo vi /etc/profile
45 source /etc/profile
99 man iptables
101 sudo yum list *man*
102 sudo yum install man-pages
110 sudo yum install man-db
111 man ls
112 man iptables
229 alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_26/jre/bin/java 20000
231 alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.6.0_26/jre/bin/javaws 20000
234 alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/jdk1.6.0_26/jre/lib/i386/libnpjp2.so 20000
237 alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_26/bin/javac 20000
238 alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_26/bin/jar 20000
46 curl -L -O http://dl.google.com/android/android-sdk_r11-linux_x86.tgz
47 tar -xvzf android-sdk_r11-linux_x86.tgz
50 sudo mv android-sdk-linux_x86/ /opt/android-sdk
51 chmod -R a+w /opt/android-sdk
52 sudo vi /etc/profile
53 source /etc/profile
54 android --help
56 android update sdk -u
60 sudo curl -L http://pkg.jenkins-ci.org/redhat/jenkins.repo -o /etc/yum.repos.d/jenkins.repo
61 less /etc/yum.repos.d/jenkins.repo
62 sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
63 sudo yum install wget
64 sudo yum install jenkins
65 sudo /sbin/service jenkins
66 sudo /sbin/service jenkins status
67 sudo /sbin/service jenkins start
68 sudo chkconfig
69 sudo yum install postfix
72 sudo less /var/log/jenkins/jenkins.log
75 sudo yum install lsof
76 sudo lsof -i
79 sudo yum install nc
80 nc -z localhost 80
81 nc -z localhost 8080
82 nc -z example.com 80
83 sudo /sbin/ifconfig
84 nc -z 127.0.0.1 80
85 nc -z 127.0.0.1 8080
88 sudo /sbin/chkconfig --list
89 sudo /sbin/service iptables
90 sudo /sbin/service iptables status
91 sudo yum install ntp
92 sudo /sbin/service ntpd
93 sudo /sbin/service ntpd status
94 sudo /sbin/service ntpd start
95 sudo /sbin/chkconfig
96 sudo /sbin/chkconfig ntpd on
98 date
117 ps auxww|grep jenkins
118 sudo /sbin/service jenkins restart
120 sudo less /etc/sysconfig/iptables
121 sudo /sbin/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
122 sudo /sbin/service iptables status
123 sudo less /var/log/secure
124 ps auxww|grep jenkins
127 sudo less /var/log/jenkins/jenkins.log
128 sudo /sbin/service jenkins status
129 sudo /sbin/service jenkins stop
130 sudo /sbin/service jenkins start
131 sudo less /var/log/jenkins/jenkins.log
182 sudo su -s /bin/bash - jenkins
183 ps auxww|grep jenkins
184 sudo /sbin/service iptables status
185 free
192 cd work/
193 wget http://localhost:8080 -O jk.txt
194 less jk.txt
195 sudo less /var/log/jenkins/jenkins.log
196 ps auxww|grep stone
197 ps auxww|grep jvm
198 sudo /sbin/service jenkins stop
199 sudo su -s /bin/bash - jenkins
204 sudo less /etc/sysconfig/jenkins
239 sudo su -
286 sudo yum install nginx
287 sudo /sbin/service nginx
288 sudo /sbin/service nginx configtest
289 sudo /sbin/service nginx status
290 sudo /sbin/service nginx start
291 sudo /sbin/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
295 sudo /sbin/iptables -D INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
298 /sbin/iptables --help
299 sudo /sbin/iptables -I INPUT 4 -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
301 sudo /sbin/iptables -D INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
303 sudo /sbin/iptables -I INPUT 5 -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
305 sudo /sbin/iptables -I INPUT 5 -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
307 cd /etc/nginx/
309 less nginx.conf
311 cd conf.d/
313 less virtual.conf
314 less ssl.conf
315 sudo touch jenkins32.sane.jp.conf
316 sudo vi jenkins32.sane.jp.conf
317 sudo /sbin/service nginx
318 sudo /sbin/service nginx configtest
319 sudo /sbin/service nginx reload
320 ps auxww|grep nginx
322 sudo /sbin/service iptables status
324 sudo /sbin/service iptables save
326 sudo less /etc/sysconfig/iptables
327 sudo /sbin/service iptables status
328 sudo /sbin/service iptables reload
332 date
333 date|mail foo@example.com
334 sudo yum list postfix
335 which sendmail
336 ps auxww|grep postfix
337 ps auxww|grep sendmail
338 sudo /sbin/service sendmail status
339 sudo /sbin/service postfix
340 sudo /sbin/service postfix status
341 sudo /sbin/service sendmail stop
342 sudo /sbin/service postfix start
343 sudo /sbin/chkconfig --list
344 sudo yum remove sendmail
345 /sbin/chkconfig --list
346 /sbin/chkconfig postfix on
347 sudo /sbin/chkconfig postfix on
348 /sbin/chkconfig --list
349 less /etc/init.d/postfix
350 sudo /usr/sbin/alternatives --config mta
351 sudo yum install sendmail
352 /sbin/chkconfig --list
353 sudo /usr/sbin/alternatives --config mta
354* /sbin/chkconfig --li
355 sudo /sbin/chkconfig sendmail off
356 /sbin/chkconfig --list
357 ps auxww|grep sendmail
358 ps auxww|grep postfix
359 date |mail foo@example.com
360 mail
364 sudo yum list mail*
365 sudo yum install mailx
366 date|mail foo@example.com
367 sudo less /var/log/maillog
Owner

sanemat commented Jul 2, 2011

.This is not actual, but maybe real.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment