- Execute
vagrant up
intask1/
folder - Open
localhost:8888
in browser
- Execute
vagrant up
intask2/
folder - Execute
vagrant ssh centos
andvagrant ssh ubuntu
in two different terminals
- Execute
vagrant up
intask3/
folder - Execute
vagrant ssh ubuntu
- Execute
sudo -i
- Execute
tail -f /var/log/sysinfo.log
- Execute
vagrant up
intask4/
folder - Execute
vagrant ssh ubuntu
Useful commands
su [adminuser | poweruser]
ls -l softlink
id
whoami
cd /home/adminuser
- by poweruser
- Execute
vagrant up
intask5/
folder - Execute
vagrant ssh
- Execute
touch folder1/file
to create file in folder1 - Execute
ls [folder1 | folder2]
- Execute
vagrant up
intask6/
folder - Execute
vagrant ssh
lsblk
pvscan
- list of physical disks with it's Volume Grouplvscan
mount
- mounted tomsdf -h
- R_PORT (Remote Port)
- L_PORT (Local Port)
- SERVER
ssh -A -p [R_PORT] [SERVER]
- enter to the vm via portssh -A -D8899 -p [R_PORT] [SERVER]
- local port forwardingssh -R 1[R_PORT]:localhost:[L_PORT] -p [R_PORT] [SERVER]
- remote port forwardingbmon
- package trafic- Open in browser
[SERVER without domain]:1[R_PORT]
to see localhost content from remote
- Execute
vagrant up
intask8/
folder - Execute
vagrant ssh
- Open the following links: