1 ls
2 cd /
3 ls
4 adduser eric
5 passwd eric
6 su eric
7 reboot
8 su eric
9 cd /home/
10 ls
11 cd eric/
12 ls
13 cd software/
14 ls
15 ll
16 wget http://mirrors.163.com/fedora/updates/20/x86_64/samba-4.1.6-1.fc20.x86_64.rpm
17 wget http://mirrors.163.com/fedora/updates/20/x86_64/samba-client-4.1.6-1.fc20.x86_64.rpm
18 wget http://mirrors.163.com/fedora/updates/20/x86_64/samba-common-4.1.6-1.fc20.x86_64.rpm
19 ls
20 ll
21 rpm -i samba-4.1.6-1.fc20.x86_64.rpm samba-client-4.1.6-1.fc20.x86_64.rpm samba-common-4.1.6-1.fc20.x86_64.rpm
22 ls
23 rm -rf samba-*
24 ls
25 ll
26 cd ..
27 ls
28 cd software/
29 s
30 ls
31 mkdir lnmp
32 ls
33 cd lnmp/
34 ls
35 cd ..
36 ls
37 rm -rf lnmp/
38 ls
39 cd /
40 ls
41 cd data/
42 ls
43 cd software/
44 ls
45 cd ..
46 ls
47 ifconfig
48 ps aux | grep ssh
49 ps -e | grep ssh
50 ifconfig
51 ifconfig 192.168.22.130
52 ifconfig eno16777736 192.168.22.130
53 ifconfig
54 service network restart
55 systemctl restart network.service
56 ifconfig
57 ping baidu.com
58 yum search yum-fastest
59 yum install
60 ifconfig
61 ifconfig eno16777736 192.168.22.130
62 ifconfig
63 cd /
64 ls
65 cd /data/
66 ls
67 cd tar/
68 ls
69 cd ..
70 rm -rf tar/
71 ls
72 mkdir software
73 ls
74 cd software/
75 ls
76 mkdir libs
77 cd ..
78 ls
79 cd data/
80 ls
81 mkdir -p apps/libs
82 cd ..
83 ls
84 vi /etc/yum.repos.d/fedira.repo
85 vi /etc/yum.repos.d/fedora.repo
86 ls
87 cd /etc/yum.repos.d/
88 ls
89 cd /opt/
90 ls
91 cd tar/
92 ls
93 cd ..
94 s
95 ls
96 rm -rf tar/
97 ls
98 cd /home/
99 ls
100 cd eric/
101 ls
102 mkdir software
103 cd software
104 ls
105 wget http://download1.rpmfusion.org/free/fedora/releases/20/Everything/x86_64/os/rpmfusion-free-release-20-1.noarch.rpm
106 wget http://download1.rpmfusion.org/nonfree/fedora/releases/20/Everything/x86_64/os/rpmfusion-nonfree-release-20-1.noarch.rpm
107 yum search yum-fast
108 ls
109 rpm --help
110 ls
111 rpm -ivh rpmfusion-free-release-20-1.noarch.rpm
112 rpm -ivh rpmfusion-nonfree-release-20-1.noarch.rpm
113 cd /etc/yum.repos.d/
114 ls
115 yum search yum-fast
116 yum clean all
117 yum makecache
118 cd /home/eric/
119 ls
120 cd software/
121 ls
122 wget http://mirrors.163.com/fedora/updates/20/x86_64/yum-plugin-fastestmirror-1.1.31-20.fc20.noarch.rpm
123 ls
124 rpm -ivh yum-plugin-fastestmirror-1.1.31-20.fc20.noarch.rpm
125 yum search
126 yum search yum-fastest
127 wget http://mirrors.163.com/.help/fedora-163.repo
128 ls
129 mv fedora-163.repo /etc/yum.repos.d/
130 cd /etc/yum.repos.d/
131 ls
132 wget http://mirrors.163.com/.help/fedora-updates-163.repo
133 wget http://mirrors.sohu.com/help/fedora-sohu.repo
134 wget http://mirrors.sohu.com/help/fedora-updates-sohu.repo
135 wget http://lug.ustc.edu.cn/wiki/_export/code/mirrors/help/fedora?codeblock=0
136 wget http://lug.ustc.edu.cn/wiki/_export/code/mirrors/help/fedora?codeblock=1
137 ls
138 ll
139 yum makecache
140 ls
141 rm -rf fedora\?codeblock\=
142 ls
143 ll
144 rm -rf fedora\?codeblock\=0
145 ls
146 rm -rf fedora\?codeblock\=1
147 ls
148 yum makecache
149 yum search samba
150 yum install samba.x86_64
151 yum install alex
152 cd /
153 ls
154 cd /data/
155 ls
156 cd wwwroot/
157 ls
158 cd ..
159 ls
160 cd etc/
161 ls
162 cd ..
163 ls
164 rm -rf data/
165 s
166 cd opt/
167 ls
168 cd tar/
169 ls
170 cd ..
171 cd ll
172 cd /
173 netstat -tunlp | grep 27017
174 whereis mongodb
175 cd /usr/
176 ls
177 cd local/
178 ls
179 cd mog
180 cd mongodb/
181 ls
182 cd ..
183 ls
184 cd mongodb/
185 ls
186 ./bin/mongod --help
187 ./bin/mongod --shutdown
188 ./bin/mongo
189 ./bin/mongod --help
190 ps -ef | grep mongo
191 ps -el | grep mongo
192 ps -ef | grep mongo
193 killall 2634
194 kill -9 2634
195 ps -ef | grep mongo
196 cd ..
197 ls
198 cd local/
199 ls
200 rm -rf mongodb/
201 ls
202 cd /
203 ls
204 mkdir -p data/tar
205 ls
206 chmod 777 -R data/
207 ls
208 cd data/
209 ls
210 vim a.txt
211 vi a.txt
212 ls
213 rm -rf a.txt
214 ls
215 cd ..
216 ls
217 rpm -qa samba
218 yum search samba
219 vim /etc/sysconfig/selinux
220 vi /etc/sysconfig/selinux
221 yum install yum-fastestmirror yum-downloadonly -y
222 yum install yum-fastestmirror yum-downloadonly --help
223 yum install yum-fastestmirror yum-downloadonly --skip-broken
224 ps -ef | grep yum
225 kill -9 36744
226 yum install yum-fastestmirror --downloadonly --skip-broken -y
227 cd /
228 ls
229 cd data/
230 ls
231 cd software/
232 ls
233 cd ..
234 cd /
235 systemctl stop firewalld.service
236 systemctl disable firewalld.service
237 netstat -tunpl
238 yum install -y gd-devel
239 cd /etc/pki/rpm-gpg/
240 ls
241 cp -l RPM-GPG-KEY-fedora-20-x86_64 RPM-GPG-KEY-fedora-x86_64
242 ll
243 yum install -y gd-devel
244 rpm -qa | grep samba
245 yum install samba.x86_64 -y
246 ls
247 cd /data/
248 ls
249 cd ..
250 ls
251 vi /etc/samba/smb.conf
252 id eric
253 smbpasswd -a eric
254 ls
255 ll
256 chmod 777 -R data/
257 service smb start
258 service nmb start
259 netstat -tunpl | grep smb
260 ifconfig
261 vi /etc/samba/smb.conf
262 vi /etc/selinux/config
263 setup
264 ifconfig
265 netstat -tunpl
266 rpm -qa | grep samba
267 vi /etc/samba/smb.conf
268 service smb stop
269 netstat -tunpl | grep smb
270 service smb start
271 ls
272 chmod 777 -R data/
273 iptables --help
274 iptables -F
275 ntsysv
276 ifconfig
277 ping 192.168.1.100
278 shutdown -h now
279 cd /
280 ls
281 cat /etc/issue
282 cd /opt/da
283 cd /opt/
284 ls
285 cd /
286 ls
287 ifconfig
288 dhclient --help
289 ls
290 mkdir -p /data/wwwroot
291 chmod 777 -R /data/
292 ls
293 cd /data/
294 ls
295 cd ..
296 ls
297 cd /data/wwwroot/
298 ls
299 cd ..
300 ls
301 mkdir etc
302 chmod 777 -R etc/
303 ls
304 cd /usr/local/
305 ls
306 rpm -qa rzsz
307 yum search rzsz
308 yum install lrzsz.x86_64
309 rz
310 cd /opt/
311 ls
312 mkdir tar
313 chmod 777 -R tar/
314 ls
315 cd tar/
316 rz
317 ls
318 tar -zxf mongodb-linux-x86_64-2.6.1.tgz
319 ls
320 mv mongodb-linux-x86_64-2.6.1 /usr/local/mongodb
321 cd /usr/local/mod
322 cd /usr/local/mongodb/
323 ls
324 ./bin/mongod --help
325 ./bin/mongod -h
326 ls
327 cd ..
328 ls
329 cd mongodb/
330 ls
331 mkdir data
332 mkdir log
333 chmod 777 -R data/ log/
334 ls
335 ./bin/mongod --fork --dbpath data/
336 ./bin/mongod --fork --dbpath data/ --logpath data/mongodb.log
337 ls
338 cd data/
339 ls
340 cd ..
341 ps -e | grep mongod
342 ls
343 cd log/
344 ls
345 cd ..
346 ls
347 cd data/
348 ls
349 cd ..
350 ls
351 ls data/
352 ./bin/mongod --fork --dbpath data/
353 ./bin/mongod --fork --dbpath data/ --logpath log/mongo.db
354 ps -e | mongod
355 ps -e | mongo
356 ps -e
357 kill 2482
358 ps -e
359 kill -all 2575
360 kill -9 2575
361 ps -e
362 ./bin/mongod --fork --dbpath data/ --dblog log/mongod.log
363 ./bin/mongod --fork --dbpath data/
364 ./bin/mongod --fork --dbpath data/ --logpath log/mongod.log
365 ls
366 ./bin/mongod --help
367 ./bin/mongod -h
368 ping baidu.com
369 ping 192.168.1.104
370 iptables -F
371 netstat -tunpl | grep smb
372 service start smb
373 service start nmb
374 ifconfig
375 vi /etc/samba/smb.conf
376 cd /
377 ls
378 netstat -tunpl
379 systemctl stop firewall.service
380 systemctl --help
381 ps -ef | grep samba
382 ps -ef | grep sm
383 ps -ef | grep sm
384 whereis samba
385 rpm -ivh | grep samba
386 rpm -qa | grep samba
387 yum install samba
388 shutdown -h now
389 init 3
390 ifconfig
391 ping baidu.com
392 init 0
393 vi /etc/inittab
394 init 3
395 cd /data/software/php-5.5.12/
396 ./configure --prefix=/data/apps/php --with-config-file-path=/data/etc/ --with-freetype-dir=/data/apps/libs/ --with-jpeg-dir=/data/apps/libs/ --with-png-dir=/data/apps/libs/ --with-mcrypt=/data/apps/libs --with-mhash=/data/apps/libs --enable-bcmath --enable-fpm --enable-gd-native-ttf --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-zip --disable-rpath
397 ./configure --prefix=/data/apps/php --with-config-file-path=/data/etc/ --with-freetype-dir=/data/apps/libs/ --with-jpeg-dir=/data/apps/libs/ --with-png-dir=/data/apps/libs/ --with-mcrypt=/data/apps/libs --with-mhash=/data/apps/libs --enable-bcmath --enable-fpm --enable-gd-native-ttf --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-zip --disable-rpath --with-zlib --with-libxml-dir=/usr/ --with-xmlrpc --with-curl --enable-maintainer-zts
398 yum install -y libxml2-devel
399 ./configure --prefix=/data/apps/php --with-config-file-path=/data/etc/ --with-freetype-dir=/data/apps/libs/ --with-jpeg-dir=/data/apps/libs/ --with-png-dir=/data/apps/libs/ --with-mcrypt=/data/apps/libs --with-mhash=/data/apps/libs --enable-bcmath --enable-fpm --enable-gd-native-ttf --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-zip --disable-rpath --with-zlib --with-libxml-dir=/usr/ --with-xmlrpc --with-curl --enable-maintainer-zts
400 yum install -y libcurl
401 ./configure --prefix=/data/apps/php --with-config-file-path=/data/etc/ --with-freetype-dir=/data/apps/libs/ --with-jpeg-dir=/data/apps/libs/ --with-png-dir=/data/apps/libs/ --with-mcrypt=/data/apps/libs --with-mhash=/data/apps/libs --enable-bcmath --enable-fpm --enable-gd-native-ttf --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-zip --disable-rpath --with-zlib --with-libxml-dir=/usr/ --with-xmlrpc --with-curl --enable-maintainer-zts --with-openssl
402 ./configure --prefix=/data/apps/php --with-config-file-path=/data/etc/ --with-freetype-dir=/data/apps/libs/ --with-jpeg-dir=/data/apps/libs/ --with-png-dir=/data/apps/libs/ --with-mcrypt=/data/apps/libs --with-mhash=/data/apps/libs --enable-bcmath --enable-fpm --enable-gd-native-ttf --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-zip --disable-rpath --with-zlib --with-libxml-dir=/usr/ --with-xmlrpc --with-curl=/data/apps/curl --enable-maintainer-zts --with-openssl
403 make && make install
404 mkdir -p /data/etc
405 mv php.ini-development /data/etc/php.ini
406 vi /data/etc/php.ini
407 cd /data/apps/php/
408 ls
409 cd etc/
410 ls
411 mv php-fpm.conf.default php-fpm.conf
412 vi php-fpm.conf
413 cd ..
414 ls
415 sbin/php-fpm
416 netstat -tunpl | grep php
417 vi /data/apps/nginx/conf/nginx.conf
418 ls
419 /data/apps/nginx/sbin/nginx -s reload
420 ls
421 cd ..
422 ls
423 cd ..
424 ls
425 cd software/
426 ls
427 cd libs/
428 ls
429 cd mong
430 tar -zxf mongo-1.5.2.tgz
431 cd mog
432 cd mongo-1.5.2/
433 ls
434 /data/apps/php/bin/phpize
435 ./configure --with-php-config=/data/apps/php/bin/php-config
436 make && make install
437 vi /data/etc/php.ini
438 kill -USR2 `cat /var/run/php-fpm.pid`
439 ln -s /data/apps/php/lib/php/extensions/no-debug-zts-20121212/ /data/etc/ext
440 cd /data/etc/ext/
441 ls
442 vi /data/etc/php.ini
443 kill -USR2 `cat /var/run/php-fp.pid`
444 kill -USR2 `cat /var/run/php-fpm.pid`
445 cd /data/
446 ls
447 cd /
448 ls
449 cd /data/
450 ls
451 cd wwwroot/
452 ls
453 vim index.php
454 vi index.ph
455 vi index.php
456 cd ..
457 ls
458 cd apps/
459 ls
460 cd libs/
461 ls
462 cd ../../software/
463 ls
464 vi tar1.sh
465 ls
466 cd pcre-8.32/
467 l
468 ls
469 ./configure --prefix=/data/apps/pcre
470 make && make install
471 ls
472 cd ..
473 ls
474 cd nginx-1.5.2/
475 ls
476 groupadd www
477 useradd -g www www
478 ./configure --prefix=/data/apps/nginx --user=www --group=www --with-pcre=/data/software/pcre-8.32 --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module
479 yum install openssl-devel openssl -y
480 ./configure --prefix=/data/apps/nginx --user=www --group=www --with-pcre=/data/software/pcre-8.32 --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module
481 make && make install
482 cd ..
483 vi /data/apps/nginx/conf/nginx.conf
484 /data/apps/nginx/sbin/nginx -c /data/apps/nginx/conf/nginx.conf
485 netstat -tunlp | grep 80
486 ls
487 cd redis-2.8.9/
488 ls
489 cd ..
490 ls
491 cd libs/
492 ls
493 cd freetype-2.4.12/
494 ./configure --prefix=/data/apps/libs/
495 make && make install
496 cd //
497 cd /data/software/libs/
498 ls
499 cd libpng-1.6.2/
500 ./configure --prefix=/data/apps/libs/
501 make && make install
502 cd ..
503 ls
504 cd jpeg-9/
505 ./configure --prefix=/data/apps/libs/ --enable-static --enable-shared
506 make && make install
507 cd ..
508 ls
509 cd mhash-0.9.9.9/
510 ./configure --prefix=/data/apps/libs/
511 make && make install
512 ls
513 cd ..
514 ls
515 cd libmcrypt-2.5.8/
516 ./configure --prefix=/data/apps/libs/
517 make && make install
518 ls
519 cd libltdl/
520 ./configure --prefix=/data/apps/libs/ --enable-ltdl-install
521 make && make install
522 ls
523 cd ..
524 vi /etc/ld.so.conf
525 ldconfig
526 ls
527 cd ..
528 ls
529 cd libs/
530 ls
531 cd mcrypt-2.6.8/
532 ./configure --prefix=/data/apps/libs/ --with-libmcrypt-prefix=/data/apps/libs
533 export LDFLAGS="-L/data/apps/libs/lib -L/usr/lib"
534 export CFLAGS="-I/data/apps/libs/include -I/usr/include"
535 ./configure --prefix=/data/apps/libs/ --with-libmcrypt-prefix=/data/apps/libs
536 make && make install
537 ls
538 cd ..
539 ls
540 cd ..
541 ls
542 cd php-5.5.12/
543 ./configure --help
544 cd /data/software/
545 ls
546 cd libs/
547 ls
548 cd curl-7.37.0/
549 ls
550 ./configure --prefix=/data/apps/curl
551 make && make install
552 init 0
553 netstat -tunpl
554 cd /data/
555 ls
556 cd sfo
557 ls
558 cd apps/
559 ls
560 cd nginx/
561 ls
562 cd ..
563 ls
564 cd software/
565 ls
566 ps -ef | grep smb
567 ps aux | grep smb
568 rpm -qa | grep samba
569 vi /etc/samba/smb.conf
570 ls /etc/ | grep smb*
571 ls /etc/ | grep sa*
572 cat /etc/passwd | more
573 id lnmp
574 vi /etc/samba/smb.conf
575 id lnmp
576 id eric
577 service smb start
578 service nmb start
579 ps -ef | grep samba
580 ps -ef | grep smb
581 vi /etc/selinux/config
582 iptables --status
583 iptables -h
584 iptables -list
585 iptables --list
586 ifconfig
587 groupadd mysql
588 useradd -g mysql mysql
589 ls
590 cd mysql-5.6.10-linux-glibc2.5-x86_64/
591 ls
592 ./scripts/mysql_install_db --help
593 ./scripts/mysql_install_db --user=mysql
594 cd ..
595 ls
596 cd mysql-5.6.10-linux-glibc2.5-x86_64/
597 ls
598 cd ..
599 ls
600 cd .
601 cd ..
602 ls
603 cd my
604 cd software/mysql-5.6.10-linux-glibc2.5-x86_64/
605 ls
606 ./bin/mysqld_safe
607 ./bin/mysqld_safe &
608 ./bin/mysql
609 ls
610 cd data/
611 ls
612 cd ..
613 ls
614 vi /etc/samba/smb.conf
615 ifconfig
616 top
617 top -n
618 top -a
619 top -hv
620 top -h
621 top --help
622 man top
623 cd /
624 usl
625 ls
626 netstat -tunpl | grep 3306
627 ls
628 cd /data/
629 ls
630 df
631 df -h
632 python
633 history
lnmp源码安装的linux历史操作记录
最新推荐文章于 2023-08-11 15:57:18 发布