1 ip a 2 yum install wget -y 3 shutdown -h now 4 clear 5 yum install httpd 6 clear 7 yum install squid -y 8 yum list 9 yum list | wc -l 10 ip a 11 shutdown -h now 12 yum list 13 echo "Olá" > /dev/pts/0 14 echo "http://casanasserala.duckdns.org:8080/aula/" > /dev/pts/0 15 df -h 16 clear 17 fdisk -l 18 clear 19 fdisk -l /dev/sdb 20 fdisk -l /dev/sda 21 clear 22 fdisk /dev/sdb 23 clear 24 fdisk /dev/sda 25 fdisk /dev/sdb 26 clear 27 fdisk -l /dev/sdb 28 mkfs.ext4 /dev/sdb1 29 clear 30 mkfs.fat /dev/sdb2 31 mkfs.ext3 /dev/sdb2 32 mkfs.fat /dev/sdb3 33 cat /etc/filesystems 34 vi /etc/fstab 35 clear 36 pwd 37 mkdir disco 38 mount -t ext4 /dev/sdb1 /root/disco/ 39 df -h 40 mkfs.fat /dev/sdb3 41 mkdir disco2 42 mount -t fat /dev/sdb3 /root/disco2 43 mount -t vfat /dev/sdb3 /root/disco2 44 df -h 45 cd disco 46 ls 47 touch jasdfkljasd 48 ls -l 49 cd ../disco2 50 ls 51 ls -l 52 echo dsfgsaa > fdsgsdf 53 cd .. 54 umount /root/disco 55 umount /root/disco2 56 clear 57 mount /dev/sdb1 /root/disco 58 mount /dev/sdb3 /root/disco2 59 df -h 60 fdisk -l 61 clear 62 fdisk 63 fdisk /dev/sdb 64 df -lh 65 df -hT 66 clear 67 fdisk -l 68 clear 69 mkdir disco3 70 mount /dev/sdc1 /root/disco3 71 df -hT 72 cd disco3 73 ls -l 74 fdisk -l 75 clear 76 cat /etc/mtab 77 cd .. 78 clear 79 wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/8.1.2020-04-22/Everything/x86_64/Packages/o/openvpn-2.4.8-1.el8.x86_64.rpm 80 clear 81 ls -l 82 rpm -ivh openvpn-2.4.8-1.el8.x86_64.rpm 83 wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/8.3.2021-05-20/Everything/x86_64/Packages/p/pkcs11-helper-1.22-7.el8.x86_64.rpm 84 cleare 85 clear 86 ls -l 87 rpm -ivh pkcs11-helper-1.22-7.el8.x86_64.rpm 88 rpm -ivh openvpn-2.4.8-1.el8.x86_64.rpm 89 dnf 90 clear 91 rpm -qa 92 clear 93 rpm -qa | wc -l 94 rpm -qa | grep openvpn 95 wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/8.2.2020-11-04/Everything/x86_64/Packages/o/openvpn-2.4.9-1.el8.x86_64.rpm 96 clear 97 rpm -Uvh openvpn-2.4.9-1.el8.x86_64.rpm 98 rpm -qa | grep openvpn 99 rpm -qli openvpn-2.4.9-1.el8.x86_64 100 clear 101 rpm -qli openvpn-2.4.9-1.el8.x86_64 | less 102 cd /etc/ 103 ls -l 104 rpm -qf terminfo 105 rpm -qf yum 106 rpm -qf yum.conf 107 clear 108 vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 109 yum install httpd 110 yum install dhcpd 111 yum install dhcp-server 112 clear 113 yum install dhcp-server 114 clear 115 yum install snmp-libs -y 116 yum install snmpd-libs -y 117 clear 118 yum install mariadb -y 119 clear 120 yum remove httpd -y 121 clear 122 yum search openvpn] 123 yum search openvpn 124 yum search httpd 125 clear 126 yum search apache 127 clear 128 yum list 129 yum list | wc -l 130 clear 131 yum list | grep squid 132 yum list squid 133 fdisk /dev/sdb 134 shutdown -h now 135 ifconfig 136 clear 137 ifconfig enp0s8 138 ifconfig enp0s8 down 139 ifconfig 140 clear 141 ifconfig 142 ifconfig enp0s8 up 143 ifconfig 144 clear 145 ifconfig enp0s8 146 ifconfig enp0s8 192.168.15.25 netmask 255.255.255.0 147 ifconfig enp0s8 148 ifconfig enp0s8:1 192.168.23.25 netmask 255.255.255.0 149 ifconfig enp0s8 150 clear 151 ifconfig enp0s8 152 ifconfig enp0s8:1 192.168.23.25 netmask 255.255.255.0 153 ifconfig 154 clear 155 vi /etc/resolv.conf 156 cat /etc/resolv.conf 157 vi /etc/resolv.conf 158 ping uol.com.br 159 vi /etc/resolv.conf 160 clear 161 ping uol.com.br 162 cat /etc/resolv.conf 163 clear 164 shutodown -h now 165 shutdown -h now 166 ifconfig 167 clear 168 ifconfig 169 clear 170 ifconfig enp0s8 171 ifconfig enp0s8 down 172 ifconfig 173 clear 174 ifconfig enp0s8 up 175 ifconfig 176 clear 177 ifconfig enp0s8 down 178 ifconfig enp0s8 up 179 ifconfig enp0s8 180 echo "08:00:27:2a:9a:db" > mac.txt 181 cat mac.txt 182 ifconfig enp0s8 down 183 ifconfig enp0s8 hw ether 00:d0:d0:67:2c:05 184 ifconfig enp0s8 up 185 ifconfig enp0s8 186 cat mac.txt 187 ifconfig enp0s8 hw ether 08:00:27:2a:9a:db 188 ifconfig 189 clear 190 ifconfig 191 ifconfig enp0s8 192.168.100.1 netmask 255.255.255.0 192 clear 193 ifconfig 194 ifconfig enp0s8:1 10.0.0.1 netmask 255.0.0.0 195 ifconfig 196 clear 197 cat /etc/resolv.conf 198 cat /etc/sysconfig/network-scripts/ifcfg-enp0s3 199 clear 200 cat /etc/resolv.conf 201 host uol.com.br 202 host www.uol.com.br 203 clear 204 ping uol.com.br 205 cat /etc/resolv.conf 206 vi /etc/resolv.conf 207 ping uol.com.br 208 vi /etc/resolv.conf 209 clear 210 echo "1" > /proc/sys/net/ipv4/ip_forward 211 ip ad 212 clear 213 echo "1" > /proc/sys/net/ipv4/ip_forward 214 ifconfig enp0s8 192.168.0.1 netmask 255.255.255.0 215 ifconfig 216 clear 217 echo "1" > /proc/sys/net/ipv4/ip_forward 218 ifconfig enp0s8 192.168.0.1 netmask 255.255.255.0 219 ping 192.168.1.1 220 route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.200.172 221 ping 192.168.1.1 222 clear 223 ip link show 224 ip l show 225 ip l 226 clear 227 ip l 228 ip address show 229 clear 230 ip ad show 231 ip addr show 232 clear 233 ip a 234 clear 235 ip -4 a 236 ip -6 a 237 clear 238 ip a 239 ip link set enp0s8 down 240 ip a 241 clear 242 ip link set enp0s8 up 243 ip a enp0s8 244 ip a show enp0s8 245 systemctl restart network 246 systemctl restart networking 247 cat /etc/sysconfig/network-scripts/ifcfg-enp0s3 248 clear 249 systemctl restart NetworkManager 250 ip a 251 clear 252 systemctl restart NetworkManager.service 253 ip a 254 NetworkManager restart 255 ip a 256 clear 257 yum install ntsysv -y 258 nstat 259 ntsysv 260 NetworkManager 261 NetworkManager --help 262 clear 263 ip link set enp0s3 down 264 ip addr ls enp0s3 265 clear 266 ip route show 267 ip a 268 clear 269 route -n 270 clear 271 ip route add 192.168.1.0/24 via 192.168.200.172 dev enp0s3 272 ip route show 273 ping 192.168.1.1 274 clear 275 ip route add 192.168.1.0/24 via 192.168.200.172 dev enp0s3 276 , 277 timedatctl 278 timedatectl 279 timedatectl 280 sudo timedatectl set-timezone "America/Rio_Branco" 281 date 282 timedatectl 283 sudo timedatectl set-timezone "Americas/Rio_Branco" 284 date 285 clear 286 sudo timedatectl set-timezone "America/Rio_Branco" 287 date 288 date --help 289 clear 290 date 05231405 291 clear 292 timedatectl 293 sudo timedatectl set-timezone "America/Rio_Branco" 294 clear 295 route -n 296 route 297 init 6 298 ip a 299 ifconfig 300 d 301 ip a 302 ip link set enp0s3 up 303 route 304 route -n 305 clear 306 echo "1" > /proc/sys/net/ipv4/ip_forward 307 clear 308 echo "1" > /proc/sys/net/ipv4/ip_forward 309 cat /proc/sys/net/ipv4/ip_forward 310 ifconfig enp0s8 192.168.0.1 netmask 255.255.255.0 311 ifconfig 312 cler 313 clear 314 pinf 192.168.1.1 315 ping 192.168.1.1 316 route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.200.235 317 route -n 318 ping 192.168.1.1 319 cleatr 320 clear 321 ping 192.168.1.1 322 clear 323 ifconfig enp0s8 192.168.0.1 netmask 255.255.255.0 324 route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.200.235 325 ifconfig 326 clear 327 ifconfig enp0s8 192.168.0.1 netmask 255.255.255.0 328 route add -net 192.168.13.0 netmask 255.255.255.0 gw 192.168.200.241 329 route -n 330 ping 192.168.13.1 331 clear 332 tracepath 192.168.13.1 333 ping 192.168.13.1 334 ping 192.168.13.16 335 route add -net 192.168.16.0 netmask 255.255.255.0 gw 192.168.200.229 336 ping 192.168.16.1 337 clear 338 route add -net 192.168.13.0 netmask 255.255.255.0 gw 192.168.200.241 339 clear 340 ifconfig enp0s8 192.168.0.1 netmask 255.255.255.0 341 route add -net 192.168.13.0 netmask 255.255.255.0 gw 192.168.200.241 342 clear 343 ip link show 344 ip l 345 clear 346 ip addr show 347 clear 348 ip address show 349 clear 350 ip a 351 clear 352 ip a 353 ip l set enp0s8 down 354 ip a 355 clear 356 ip l set enp0s8 up 357 ip a 358 clear 359 ifconfig 360 ifconfig enp0s8 down 361 ifconfig 362 clear 363 ifconfig 364 ifconfig enp0s8 up 365 ifconfig 366 clear 367 ip a show enp0s3 368 ip a show lo] 369 ip a show lo 370 clear 371 ip -s l show enp0s3 372 ip -s l show enp0s8 373 clear 374 ip a show enp0s8 375 ip a add 192.168.99.1/24 dev enp0s8 376 ip a show enp0s8 377 ip a del 192.168.0.1/24 dev enp0s8 378 ip a show enp0s8 379 clear 380 ip link set enp0s8 name eth0 381 ip l set enp0s8 down 382 ip link set enp0s8 name eth0 383 ip l set enp0s8 up 384 ip l set eth0 up 385 ip a show eth0 386 ip route show 387 route -n 388 init 0 389 ip a show enp0s8 390 ip neigh 391 ping 192.168.100.253 392 ip neigh 393 clear 394 ip neigh 395 clear 396 ip neugh 397 ip neigh 398 ip neigh show dev enp0s3 399 ip a 400 ip l set enp0s3 promisc on 401 ip a 402 ip neigh 403 clear 404 ip l set enp0s3 promisc off 405 ip neigh 406 clear 407 ifconfig 408 ip a 409 clear 410 cd /etc/sysconfig/network-scripts/ 411 ls -l 412 vi ifcfg-enp0s3 413 ip a 414 ifconfig 415 vi ifcfg-enp0s8 416 clear 417 ls -la 418 init 6 419 ifconfig 420 clear 421 vi /etc/hostname 422 vi /etc/sysconfig/network 423 clear 424 vi /etc/hostname 425 vi /etc/sysconfig/network 426 cat /etc/hostname 427 cat /etc/sysconfig/network 428 init 6 429 exit 430 ip a 431 clear 432 cat /etc/hostname 433 cat /etc/sysconfig/network 434 clear 435 ss -s 436 ss -ltn 437 ss -ltpu 438 clear 439 ss -o state established '(dport = :22 or sport = :22)' 440 ss -o state established '( dport = :22 or sport = :22)' 441 ss -o state established '( dport = :22 or sport = :22 )' 442 clear 443 ss -o state established '( dport = :22 or sport = :22 )' 444 ss -on state established '( dport = :22 or sport = :22 )' 445 clear 446 ss -on state established '( dport = :22 or sport = :22 )' 447 ss -ltpu 448 ss -ltpun 449 clear 450 vi /etc/ssh/sshd_config 451 systemctl sshd restart 452 systemctl ssh restart 453 systemctl restart sshd 454 service sshd restart 455 init 6 456 ss -ltpun 457 vi /etc/ssh/sshd_config 458 init 6 459 dmesg 460 dmesg | grep ssh 461 vi /etc/ssh/sshd_config 462 vi /etc/selinux/config 463 int 6 464 init 6 465 vi /etc/selinux/config 466 ss -ltpun 467 ifconfig 468 iptables -I INPUT -j ACCEPT 469 vi /etc/ssh/sshd_config 470 init 6 471 iptables -L 472 ntsysv 473 vi /etc/ssh/sshd_config 474 init 6 475 ss -ltpun 476 ntsysv 477 iptables -L 478 clear 479 ss -on state established '( dport = :22 or sport = :22 )' 480 ss -on state established '( dport = :2222 or sport = :2222 )' 481 clear 482 ip a 483 ip l set mtu 9000 enp0s8 484 ip a show enp0s8 485 cleart 486 clear 487 ip neigh 488 ping 192.168.200.235 489 ip neigh 490 ping clear 491 clear 492 ip neight 493 ip neigh 494 ping 192.168.200.221 495 ip neigh 496 clear 497 ip help 498 clear 499 ip addr help 500 clear 501 ip link help 502 clear 503 ip a show enp0s8 504 ip l set enp0s8 promisc on 505 ip a show enp0s8 506 clear 507 cd /etc/sysconfig/network-scripts/ 508 ls -l 509 vi ifcfg-enp0s3 510 vi ifcfg-enp0s8 511 ifconfig 512 init 6 513 nmtui 514 ifconfig 515 init 6 516 ifconfig 517 systemctl network restart 518 systemctl restart network 519 systemctl restart network-online.target 520 systemctl status network-online.target 521 cd /etc/sysconfig/network-scripts/ 522 vi ifcfg-enp0s8 523 systemctl status network-online.target 524 systemctl restart network-online.target 525 ifconfig 526 service network restart 527 clear 528 vi /etc/hostname 529 cat /etc/hostname 530 vi /etc/sysconfig/network 531 cat /etc/sysconfig/network 532 clear 533 nmtui 534 ntsysv 535 yum install ntsysv -y 536 clear 537 vi /etc/selinux/config 538 cat /etc/sysconfig/network-scripts/ifcfg-enp0s8 539 ntsysv 540 clear 541 systemctl disabled firewalld.service 542 exit 543 ls 544 sexsdfsdf 545 sdfsdfsdf 546 exit 547 ss -on state established '(dport = :2222 or sport = :2222 )' 548 ss -on state established '( dport = :2222 or sport = :2222 )' 549 exit 550 exit 551 [ 552 exit 553 cd /etc/sysconfig/network-scripts/ 554 vi ifcfg-enp0s3 555 vi ifcfg-enp0s8 556 clear 557 ss -s 558 clear 559 ss -ltn 560 ss -ltpun 561 clear 562 ss -o state established '( dport=:22 or sport=:22 )' 563 ss -o state established '( dport = :22 or sport = :22 )' 564 ss -o state established '( dport = :2222 or sport = :2222)' 565 ss -o state established '( dport = :2222 or sport = :2222 )' 566 ss -on state established '( dport = :2222 or sport = :2222 )' 567 clear 568 ss -on state established '( dport = :2222 or sport = :2222 )' 569 init 0 570 ls -l 571 ifconfig 572 clear 573 ping 192.168.99.20 574 ping 192.168.99.10 575 ping 192.168.99.20 576 ifconfig enp0s8 192.168.0.10 netmask 255.255.255.0 577 ifconfig 578 clear 579 ifconfig enp0s8 192.168.99.10 netmask 255.255.255.0 580 ping 192.168.99.20 581 ifconfig 582 ping 192.168.99.20 583 ping 192.168.0.20 584 route -n 585 clear 586 ifconfig enp0s8 192.168.99.10 netmask 255.255.255.0 dev enp0s8 587 ping 192.168.0.20 588 route -n 589 ifconfig 590 ifconfig enp0s8 192.168.99.10 netmask 255.255.255.0 dev enp0s8 591 ifconfig 592 ifconfig enp0s8 192.168.0.10 netmask 255.255.255.0 dev enp0s8 593 ifconfig 594 clear 595 ifconfig enp0s8 192.168.0.10 netmask 255.255.255.0 596 ifconfig 597 route -n 598 ifconfig enp0s8 192.168.99.10 netmask 255.255.255.0 599 ping 192.168.99.20 600 neght 601 nei 602 ping 8.8.8.8 603 ip a 604 init 0 605 yum install dhcp -y 606 ping www.uol.com.br 607 vi /etc/resolv.conf 608 ping www.uol.com.br 609 vi /etc/resolv.conf 610 clear 611 yum install dhcp-server -y 612 clear 613 vi /etc/dhcp/dhcpd.conf 614 systemctl start dhcpd 615 systemctl status dhcpd.service 616 vi /etc/dhcp/dhcpd.conf 617 systemctl start dhcpd 618 systemctl status dhcpd 619 vi /etc/dhcp/dhcpd.conf 620 clear 621 yum install rsyslog -y 622 clear 623 ntsysv 624 init 6 625 ip a 626 ifconfig enp0s9 192.168.99.11 netmask 255.255.255.0 627 ifconfig 628 ping 192.168.99.2 629 ping 192.168.99.20 630 systemctl status dhcpd 631 ifconfig 632 clear 633 nmtui 634 clear 635 touch /etc/sysconfig/network-scripts/ifcfg-enp0s9 636 nmtui 637 cd /etc/sysconfig/network-scripts/ 638 cat ifcfg-enp0s8 639 cat ifcfg-enp0s8 > ifcfg-enp0s9 640 vi ifcfg-enp0s9 641 init 6 642 ifconfig 643 systemctl status dhcpd 644 init 0 645 clear 646 vi /etc/sysconfig/network-scripts/ifcfg-enp0s9 647 cat /var/log/messages | grep dhcp 648 clear 649 cat /var/log/messages | grep dhcp 650 clear 651 cat /var/log/messages | grep dhcp 652 ifconfig 653 cd /etc/sysconfig/network-scripts/ 654 ls 655 clea 656 clear 657 ls -l 658 mv ifcfg-enp0s8 ifcfg-enp0s9 /root/ 659 ls -l 660 pwd 661 clear 662 cd /etc/sysconfig/network-scripts/ 663 mv ifcfg-enp0s8 /root/ 664 ls -l 665 init 0 666 ifconfig 667 clear 668 nmtui 669 clear 670 ifconfig 671 clear 672 vi /etc/sysconfig/network-scripts/ifcfg-enp0s8 673 cat /etc/sysconfig/network-scripts/ifcfg-enp0s8 674 init 6 675 ifconfig 676 clear 677 journalctl -xe 678 celar 679 clear 680 vi /etc/sysconfig/network-scripts/ifcfg-enp0s8 681 ping 192.168.0.10 682 clear 683 vi /etc/resolv.conf 684 cat /etc/resolv.conf 685 clear 686 systemctl status 687 clear 688 systemctl status | grep cron 689 systemctl status 690 clear 691 systemctl stop crond 692 systemctl status crond 693 systemctl start crond 694 systemctl status crond 695 clear 696 systemctl restart crond 697 rm -fr /etc/dhcp/dhcpd.conf 698 clear 699 vi /etc/dhcp/dhcpd.conf 700 ifconfig 701 ifconfig enp0s8:1 192.168.99.1 netmask 255.255.255.0 702 ifconfig 703 vi /etc/dhcp/dhcpd.conf 704 clear 705 systemctl start dhcpd 706 systemctl status dhcpd 707 clear 708 vi /etc/dhcp/dhcpd.conf 709 systemctl restart dhcpd 710 journalctl -xe 711 vi /etc/dhcp/dhcpd.conf 712 clear 713 ntsysv 714 init 6 715 systemctl status dhcpd 716 clear 717 cat /var/log/messages | grep dhcp 718 ´clear 719 clear 720 tail -f /var/log/messages | grep dhcp 721 echo "1" > /proc/sys/net/ipv4/ip_forward 722 iptables -t nat -I POSTROUTING -j MASQUERADE 723 vi /etc/selinux/config 724 init 0 725 vi /etc/ssh/sshd_config 726 adduser nasserala 727 passwd nasserala 728 systemctl restart sshd 729 clear 730 adduser seila 731 passwd seila 732 vi /etc/ssh/sshd_config 733 clear 734 vi /etc/selinux/config 735 ntsysv 736 vi /etc/ssh/sshd_config 737 scp -P 2222 nasserala@nasserala.duckdns.org:/home/nasserala/* /home/nasserala/ 738 vi /etc/resolv.conf 739 scp -P 2222 nasserala@nasserala.duckdns.org:/home/nasserala/* /home/nasserala/ 740 ls 741 scp -P 2222 ntfs-3g-2022.10.3-1.el8.x86_64.rpm nasserala@nasserala.duckdns.org:/home/nasserala 742 adduser vilmar 743 clear 744 passwd vilmar 745 systemctl restart sshd 746 clear 747 cd /home/vilmar/ 748 vi vascao.txt 749 ls -l 750 chmod 777 vascao.txt 751 ls -l 752 ifconfig 753 clear 754 ifconfig enp0s3 755 pwd 756 ls -l 757 ifconfig 758 root 759 ifconfig 760 init 0 761 ifconfig 762 cd /etc/sysconfig/network-scripts/ 763 ls 764 mv ifcfg-enp0s3 ifcfg-enp0s9 765 vi ifcfg-enp0s9 766 int 6 767 init 6 768 ifconfig 769 nmtui 770 cd /etc/sysconfig/network-scripts/ 771 vi ifcfg-enp0s9 772 inin t6 773 init 6 774 ifconfig 775 cd /home/vilmar/ 776 ls -l 777 cat Hino_do_Vasco_da_Gama.txt 778 clear 779 ssh -p 2222 nasserala@nasserala.duckdns.org "ls -l /root" 780 vi /etc/resolv.conf 781 ssh -p 2222 nasserala@nasserala.duckdns.org "ls -l /root" 782 ping uol.com.br 783 vi /etc/resolv.conf 784 ping uol.com.br 785 ping 8.8.8.8 786 ping 192.168.200.1 787 route -n 788 ping 192.168.200.1 789 nmtui 790 systemctl restart netmorkmaneger 791 systemctl status 792 systemctl restart NetworkManager 793 ping 192.168.200.1 794 ping 192.168.200.170 795 ping 8.8.8.8 796 ping 192.168.200.1 797 tracepath 192.168.200.1 798 ping 192.168.200.1 799 init 0 800 ifconfig 801 vi /etc/ssh/sshd_config 802 ifconfig 803 history 804 yum remove httpd php vsftpd -y 805 rm -fr /etc/httpd 806 rm -fr /var/www/html 807 clear 808 ifconfig 809 init 6 810 pwd 811 cat .ssh/known_hosts 812 ls -l 813 clear 814 ls -la 815 clear 816 vi /etc/ssh/sshd_config 817 systemctl restart sshd 818 clear 819 ssh -p 2222 nasserala@nasserala.duckdns.org 820 clear 821 pwd 822 ls -l 823 scp -P 2222 mac.txt nasserala@nasserala.duckdns.org:/home/nasserala 824 vi /etc/resolv.conf 825 scp -P 2222 mac.txt nasserala@nasserala.duckdns.org:/home/nasserala 826 clear 827 ssh -p 2222 nasserala@nasserala.duckdns.org "ls -l /home/nasserala" 828 scp -P 2222 nasserala@nasserala.duckdns.org:/home/nasserala/ntfs-3g-2022.10.3-1.el8.x86_64.rpm . 829 ls -l 830 clear 831 cat /etc/selinux/config 832 ntsysv 833 procura ---> firewalld (DESMARCAR) 834 yum install httpd php vsftpd -y 835 clear 836 cat /etc/resolv.conf 837 systemctl start httpd 838 systemctl status httpd 839 clear 840 cd /var/www/html/ 841 pwd 842 vi index.html 843 systemctl enable httpd 844 rm index.html 845 rm -fr index.html 846 cleare 847 clear 848 vi /etc/httpd/conf/httpd.conf 849 systemctl restart httpd 850 systemctl status httpd 851 clear 852 vi /var/www/html/.htaccess 853 vi /usr/local/bin/replica.sh 854 /usr/local/bin/replica.sh 855 cat /var/www/html/.htpasswd 856 crontab -e 857 vi /usr/local/bin/replica.sh 858 /usr/local/bin/replica.sh 859 vi /var/www/html/.htaccess 860 cat /var/www/html/.htpasswd 861 vi /usr/local/bin/replica.sh 862 /usr/local/bin/replica.sh 863 vi /usr/local/bin/replica.sh 864 clear 865 cat /usr/local/bin/replica.sh 866 crobt-l 867 crontab -l 868 find / -name replica.sh 869 clear 870 yum install vsftpd -y 871 systemctl start vsftpd 872 systemctl status vsftpd 873 clear 874 cat /etc/passwd 875 clear 876 cd /home/nasserala/ 877 ls -l 878 pwd 879 systemctl enable vsftpd 880 history 881 history > arq_01.06.23.txt