-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_history
739 lines (734 loc) · 15.2 KB
/
.bash_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
ls
ls -ln
cd Documentos
ls
ls-ln
ls -ln
cd..
cd..clear
clear
ls
id
exito
exit
sudo apt-get update
docker
clear
sudo apt-get install apt-transport-https ca-certificates curl \
clear
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install docker-ce
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
uname -a
sudo apt-get install docker-ce
sudo docker run hello-world
sudo groupadd docker
sudo usermod -aG docker labredes-11
logout
exit
docker
docker run hello-world
clear
docker ls
docker image ls
clear
mkdir proyect
cd proyect
git clone https://github.com/romariom99/1er-Docuwiki.git
ls
cd 1er-Docuwiki/
nano Dockerfile
docker build -t wiki-image .
docker image ls
docker image ls -a
nano Dockerfile
docker build -t wiki-image .
docker image ls
docker run -d -p 80:80 --name docuservice wiki-image
git hub add .
git add .
git commit -a -m "primer docker"
git commit -a -m "primer docker"clear
clear
cd
cd proyect/1er-Docuwiki/
ls
nano Dockerfile
docker image ls
docker rm wiki-image
docker stop wiki-image
docker stop 65e7125956b6
docker stop 65e7125956b6
docker ps
docker stop d6df
docker rm 65e7125956b6
docker rmi 65e7125956b6
docker ps
docker container -a
docker container ls -a
docker rmi d6df
docker rm d6df
docker rmi 65e7
docker build -t wiki-image .
docker run -t -p 80:80 --name wiki-sercive docuwiki
docker run -t -p 80:80 --name wiki-sercive wiki-image
docker run -d -p 80:80 --name wiki-sercive wiki-image
docker container ls
docker ps
clear
git config --global user.name "ROMARIO"
git config --global user.email [email protected]
git add .
git commit -a -m "primer dokuwiki"
git push
git pull
docker ps
docker stop wiki-image
docker container stop wiki-image
clear
docker ps
docker stop 404f6feae2e3
docker rm 404f6feae2e3
docker version
docker container ls
docker container ls -a
l
ls
mkdir dockerp
cd dockerp
nano dockerfile
docker container ls -a
docker stop 6fc35
docker container ls -a
docker stop mystifying_mclean
docker container ls -a
ls
cd ..
ls
cd desktop
ls
cd Escritorio/
ls
cd dockerp
ls
nano dockerfile
docker build -t dockerfile .
nano dockerfile
docker build -t dockerfile .
nano dockerfile
docker build -t dockerfile .
nano dockerfile
nano dockerfile
docker build -t dockerfile .
nano dockerfile
docker build -t dockerfile .
nano dockerfile
docker build -t dockerfile .
nano dockerfile
docker build -t dockerfile .
docker ps
docker ls .a
docker ls -a
docker container ls -a
docker run --name dockerpersonalizado dockerfile
docker ls
docker container l
docker container -l
docker container ls
docker stop
docker stop container dockerpersonalizado
docker stop dockerpersonalizado
docker ls
docker container ls
docker run -p 8080:80 dockerpersonalizado -D FOREGROUND
nano dockerfile
cd Escritorio/
cd dockerp/
docker run -p 8080:80 dockerpersonalizado
docker container ls -a
docker run -p 8080:80 dockerfile
cd Escritorio/
cd dockerp/
docker run --detach dockerfile
docker ps
docker exec -it 81d294405639 /bin/bash
docker exec -it 81d294405630 /bin/bash
docker stop 809da
docker ps
docker exec -it 81d294405630 /bin/bash
docker stop 81d29
docker container ls -a
docker system prune
docker build -t dockerpersonalizado .
docker exec -it dockerpersonalizado /bin/bash
docker ps
docker ls -a
docker container ls -a
docker container ls
docker images
docker ps -a
docker system prune -a
docker build -t dockerpersonalizado .
docker ps
docker ps -a
docker image
docker images
nano Dockerfile
docker build -t dockerpersonalizado .
docker images -a
nano Dockerfile
docker build -t dockerpersonalizado .
docker run -d -p 8080:80 dockerpersonalizado
nano Dockerfile
docker run -d -p 80:80 dockerpersonalizado
docker ps
docker ps -a
nano Dockerfile
cd Escritorio/
cd dockerp
nano Dockerfile
docker run -d -p 80:80 dockerpersonalizado
nano Dockerfile
docker run -d -p 80:80 dockerpersonalizado
docker start -d -p 80:80 dockerpersonalizado
docker start --help
docker start -p 8080:80 dockerpersonalizado
docker start
docker man start
nano Dockerfile
docker start -p 8080:80 dockerpersonalizado
docker run -d -p 80:80 dockerpersonalizado
docker run -d -p 8080:80 dockerpersonalizado
docker exec -i -t dockerpersonalizado /bin/bash
docker exec -i -t /bin/bash
docker ps
docker ps -a
nano Dockerfile
docker run -d -p 8080:80 dockerpersonalizado
docker run -d -p 80:80 --name my_wiki
docker run -d -p 80:80 --name dockerpersonalizado
docker run -d -p 80:80 dockerpersonalizado
docker exec -it dockerpersonalizado /bin/bash
docker ps
docker ps -a
docker exec -it f9a80b /bin/bash
docker start dockerpersonalizado
docker run dockerpersonalizado
docker ps
docker run -t -d --name mydocker dockerpersonalizado
docker ps
docker exec -it mydocker /bin/bash
dpcler stop mydocker
docker stop mydocker
docker ps
docker ps -a
docker build -t dokuwiki .
docker run -d -p 80:80 dokuwiki
docker ps
docker stop dokuwiki
docker stop 350a1e
docker ps
cd ..
cd Escritorio/
cd dockerp
docker run -it dockerpersonalizado bash
nano Dockerfile
docker run -it dockerpersonalizado bash
nano Dockerfile
docker run -d -p 80:80 dockerpersonalizado
docker run -it dockerpersonalizado bash
docker run -d -p 80:80 dockerpersonalizado
ls
nano Dockerfile
docker run -d -p 80:80 dockerpersonalizado
docker ps
docker version
docoker pull mprasil/dokuwiki
docker pull mprasil/dokuwiki
docker build -t 80:80 --name my_wiki mprasil/dokuwiki
docker build -d -p 80:80 --name my_wiki mprasil/dokuwiki
docker run -d -p 80:80 --name my_wiki mprasil/dokuwiki
docker exec -t my_wiki
docker ps
docker stop my_wiki
ls
cd Escritorio/
mkdir docker
cd docker
nano Docker file
ls
cat Dockerfile
clear
Docker build -t dokuwikI .
docker build -t dokuwikI .
docker build -t dokerper .
nano Dockerfile
docker build -t dokerper .
nano Dockerfile
docker build -t dokerper .
nano Dockerfile
docker build -t dokerper .
docker run -d -p --name prueba_wiki 39c5d84a0b4d
docker run -d -p 80:80 --name prueba_wiki 39c5d84a0b4d
docker ps
docker build -f /path/to/a/Dockerfile .
docker build -f /home/labredes-11/Escritorio/docker/Dockerfile .
docker run -d -p 80:80 --name prueba_wiki 39c5d84a0b4
docker stop 1e94ed89b604ef76f33637732e83a5ecbbe6dda1b759b3b0802b49ceecde3a81
docker rm 1e94ed89b604ef76f33637732e83a5ecbbe6dda1b759b3b0802b49ceecde3a81
docker run -d -p 80:80 --name prueba_wiki 39c5d84a0b4
nano DockerfileD
nano Dockerfile
docker run -d -p 80:80 --name prueba_wiki mprasil/dokuwiki
docker stop 6de399aada35a266fe51ecb749edcd1cac62412a67582fab909b84485a01a6c6
docker rm 6de399aada35a266fe51ecb749edcd1cac62412a67582fab909b84485a01a6c6
docker run -d -p 80:80 --name prueba_wiki mprasil/dokuwiki
docker exec -i -t prueba_wiki /bin/bash
ls
cat Dockerfile
cd .
pwd
cd .
pwd
cd ..
pwd
clear
ls -lh
docker image ls
docker ps
docker stop mprasil/dokuwiki
docker stop 5da2dfbddd3f
docker rm 5da2dfbddd3f
docker rmi dokuwiki
docker rmi -f dokuwiki
docker image ls
docker rmi $(ls)
docker rm $(ls)
docker rmi -f $(ls)
docker run -t --help
cd
apt-get install google-chrome-stable
sudo apt-get install google-chrome-stable
cd doku
ls -lh
cd P
cd proyect/
ls
cd 1er-Docuwiki/
ls
docker ps
docker ps -a
doker image ls
docker image ls
docker -t wiki-image .
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker stop 560ad49a44cd
docker rm 560ad49a44cd
docker rmi wiki-image
cd
mkdir Romario
cd Romario/
git clone https://github.com/romariom99/dokuwiki-2.git
ls
cd dokuwiki-2/
ls
nano Dockerfile
docker buil -t wiki-image .
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
docker image ls
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
nano Dockerfile
docker stop wiki-service
docker rm wiki-service
docker rmi wiki-image
docker image ls
docker buil -t wiki-image .
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker stop wiki-service
ls
add .
git add .
git commit -a -m "dokukiki-partiendo de cero"
+
1
git commit
git push
ls
nano Dockerfile
docker build -t imagen-wiki .
docker run -d -p 80:80 --name servicio-wiki imagen-wiki
docker ps
docekr stop && rm servicio-wiki
docekr stop && docker rm servicio-wiki
docekr stop servicio-wiki
docker stop servicio-wiki
docker rm servicio-wiki
docker rmi wiki-image
imagen-wiki
docker rmi imagen-wiki
docker image ls
docker buil -t prueba-wiki .
docker build -t prueba-wiki .
docker run -d -p 80:80 --name servicio prueba-wiki
docker ps
docker stop servicio
nano Dockerfile
docker build -t prueba-2 .
nano Dockerfile
docker ps
docker ps -a
docker stop $(ps -a)
docker rmi $(ls)
docker image ls
docker rmi prueba-wiki
docker stop 1fc2677b0ec2
docker rmi $(ls)
docker rmi prueba-wiki
nano Dockerfile
ls
nano Dockerfile
cd
rmdir -r Romario/
rmdir -rf Romario/
pwd
rm -rf Romario/
cd Romario
ls
ls -lh
mkdir Romario
cd Romario/
git clone https://github.com/romariom99/dokuwiki-2.git
ls
cd dokuwiki-2/
ls
nano Dockerfile
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker ps -a
docker stop wiki-service
docker rm wiki-service
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker stop wiki-service
docker rm wiki-service
docker ls
docker image ls
docker rmi prueba-wiki
docker stop $(ls)
docker rm wiki-service
docker ps
docker ps -a
docker rm 1fc2677b0ec2
docker stop $(ps -a)
docker rm $(ps -a)
docker rm -f $(ps -a)
clear
docker ps
cd
ls -lh
cd Proyect
cd proyect
ls
cd 1er-Docuwiki/
ls
docker buil -t wiki-image .
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker run -d -p 90:80 --name wiki-service1 wiki-image
docker stop wiki-service1
docker rm wiki-service1
docker rmi wiki-image
docker ps
docker stop wiki-service
docker ps
docker rmi wiki-image
docker rm wiki-service
docker rmi wiki-image
cd
rm -r proyect/
rm -rf proyect/
cd Romario/
cd dokuwiki-2/
nano Dockerfile
docekr image ls
docker image ls
docker rmi prueba-wiki
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
docker image ls
nano Dockerfile
docker build -t wiki-image .
docker run -d -p 90:80 --name wiki-service wiki-image
docker ps
docker stop wiki-service
docker run wiki-service
docker run wiki-service:latest
docker run wiki-service
docker start wiki-service
docker ps
docker stop wiki-service
docker rm wiki-service
docker rmi wiki-image
nano Dockerfile
docker ps
docker image ls
docker ps -a
docker stop wiki-service
docker image ls
docker rmi 66d9
docker stop 1df80c282c1d
docker rmi 66d9
docker run -d -p 90:80 --name wiki-service wiki-image
nano Dockerfile
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker stop wiki-service
docker ps -a
docker rm d5f327fc8303
docker start mprasil/dokuwiki
docker start my_wiki
docker ps
docker stop my_wiki
docker rm my_wiki
docker rmi 9144
docker rmi 38ad
docker rmi 38adc3b874b6
docker image ls
docker rmi wiki-image
docker image ls
docker rmi $(ls)
docker rmi -f $(ls)
docker image ls
docker rm 66d982ecf0c6
docker rmi 2a40f6a93242
docker ps
sudo service apache2 status
nano Dockerfile
docker image ls
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker ps -a
docker start wiki-service
docker ps
docker rmi wiki-image
docker stop wiki-service
docker rm wiki-service
docker rmi wiki-image
cd
rm -rf Romario/
ls -lh
mekdir
mkdir Romario
cd Romario/
git clone https://github.com/romariom99/dokuwiki-2.git
cd dokuwiki-2/
nano Dockerfile
docker image ls
docker clear
nano Dockerfile
docker build -t wiki-image .
nano Dockerfile
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
docker stop wiki-image
docker stop wiki-service
docker ps
docker rm wiki-service
docker rmi wiki-image
docker image ls
git add .
git commit -a -m ""
git commit -a -m "dokuwiki"
git push
docker image ls
nano Dockerfile
docker image ls
docker build -t wiki-image .
docker run -d -p 80:80 --name wiki-service wiki-image
docker ps
service php status
service apache2 status
service wiki-service status
service wiki-image status
service apache2 status
docker wiki-image wiki-service /bin/bash
docker wiki-service /bin/bash
docker ps
docker 812790afc582 /bin/bash
docker exec 812790afc582 /bin/bash
docker -i -t exec 812790afc582 /bin/bash
clear
ocker exec -i -t wiki-image /bin/bash
ocker exec -t wiki-image /bin/bash
docker container run -it wiki-image /bin/sh
docker ps
docker stop $ ps
docker stop $(ps)
docker stop 812790afc582
docker stop 1eb1a32f652a
docker start wiki-service
docker container -it wiki-service /bin/bash
docker container -t wiki-service /bin/bash
docker container run -it wiki-service /bin/bash
docker ps
docker start wiki-image
docker start wiki-service
docker container run -it wiki-service /bin/bash
docker container run -it wiki-image /bin/bash
halt
ls -lh
rm --help
rm -r Romario/
rm -rf Romario/
docker-compose
sudo apt-get install docker-compose
sudo usermod -aG docker$USER
sudo usermod -aG docker$ USER
sudo usermod -aG docker $USER
sudo reboot
ls -lh
git clone https://github.com/romariom99/dokuwiki-2.git
ls
cd dokuwiki-2/
ls
nano docker-compose.yml
docker-compose up
ls
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
sudo apt install docker docker-compose
docker-compose -v
sudo apt-get update
sudo apt-get install docker-compose:2.2
clear
nano docker-compose.yml
docker-compose up
docker-compose -v
nano docker-compose.yml
docker-compose update
rm docker-compose
docker-compose migrate-to-2
docker-compose migrate-to-labels
docker-compose -v
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
docker-compose --2
docker-compose --migrate-to-labels
sudo apt install docker-compose
ls
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
clear
nano docker-compose.yml
docker-compose up
nano docker-compose.yml
docker-compose up
docker ps
ls
git clone https://github.com/romariom99/dokuwiki-2.git
git clone https://github.com/romariom99/dokuwiki-compose.git
ls -lh
cp -r dokuwiki-2 dokuwiki-compose/
cd dokuwiki-compose/
ls
cd
ls -lh
cd dokuwiki-2
ls
cd
cp -r dokuwiki-2 dokuwiki-compose/
cp -r dokuwiki-compose dokuwiki-2
cd dokuwiki-compose/
ls
rm -rf dokuwiki-2/
ls
cd .
cd ..
cd dokuwiki-2
ls
rm -r dokuwiki-compose/
n
rm -rf dokuwiki-compose/
ls
cd ..
clear
ls -lh
cp ./dokuwiki-2/* ./dokuwiki-compose/
cp -r ./dokuwiki-2/* ./dokuwiki-compose/
cd dokuwiki-compose/
ls
cd ..
cd dokuwiki-2
ls
cd
mkdir prueba
cp -r dokuwiki-2 prueba
cd prueba
ls
cd
ls
rm -r prueba/
d
rm -rf prueba/
ls
cd dokuwiki-2
docker ps
docker stop 485ff1d53a90
docker rm 485ff1d53a90
cd ..
pwd
cd dokuwiki-compose/
git add.
git add .
git commit -m "primer intento"
git push
ls
nano docker-compose.yml
docker-compose up
cd
cd dokuwiki-2
ls
nano Dockerfile
cd
cd dokuwiki-2
nano Dockerfile