Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### STUDENT HISTORY DAY 4 SERVER1
- 1 sudo -i
- 2 su - linda
- 3 su -
- 4 sudo -i
- 5 su -
- 6 sudo -i
- 7 ssh root@192.168.4.182
- 8 sudo -i
- 9 podman run -d nginx
- 10 podman login registry.redhat.io
- 11 sudo vim /etc/containers/registries.conf
- 12 podman pull registry.access.redhat.com/ubi8/ubi:latest
- 13 podman ps
- 14 podman images
- 15 podman run httpd
- 16 podman run -it ubuntu
- 17 uname -r
- 18 docker ps
- 19 docker ps -a
- 20 podman run -it ubuntu
- 21 docker ps
- 22 history
- 23 podman info
- 24 sudo /root/countdown 12
- 25 podman images
- 26 podman inspect registry.access.redhat.com/ubi8/ubi
- 27 podman inspect registry.access.redhat.com/ubi8/ubi | less
- 28 sudo podman run -d httpd
- 29 podman ps
- 30 sudo podman ps
- 31 podman run -d registry.access.redhat.com/rhscl/httpd-24-rhel7
- 32 podman run -d -p 8000:80 nginx
- 33 podman port -a
- 34 firewall-cmd --add-port=8000/tcp --permanent
- 35 sudo firewall-cmd restart
- 36 sudo firewall-cmd --restart
- 37 sudo systemctl restart firewalld
- 38 podman run -d mysql
- 39 podman ps
- 40 podman ps -a
- 41 podman logs stupefied_almeida
- 42 podman run -d --name mydb -e MYSQL_ROOT_PASSWORD=password -e MYSQL_USER=bob -e MYSQL_PASSWORD=password -e MYSQL_DATABASE=book -p 3306:3306 mariadb
- 43 podman ps
- 44 podman exec mydb uname -r
- 45 podman exec -it relaxed_northcutt /bin/bash
- 46 podman exec -l cat /etc/redhat-release
- 47 sudo mkdir /webdir
- 48 podman run -d -v /webdir:/webdir:Z nginx
- 49 podman ps
- 50 podman exec -it great_beaver sh
- 51 podman rm great_beaver
- 52 podman rm great_beaver --force
- 53 sudo ls -ldZ /webdir
- 54 sudo -i
- 55 history
- 56 sudo chown student:student /webdir
- 57 podman run -d -v /webdir:/webdir:Z nginx
- 58 podman ps
- 59 podman ps -a
- 60 podman logs priceless_torvalds
- 61 sudo -lZd /webdir
- 62 sudo ls -lZd /webdir
- 63 sudo mkdir /webfiles
- 64 sudo chown student:student /webfiles
- 65 podman run -d -v /webfiles:/webfiles:Z nginx --name=take2
- 66 podman ps
- 67 sudo /root/countdown 113
- 68 sudo /root/countdown 13
- 69 history
- 70 podman run -d -v /webfiles:/webfiles:Z nginx
- 71 podman ps
- 72 exit
- 73 sudo -i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement