This shows you the differences between two versions of the page.
|
isc:info:virtualmachine [2025/10/11 16:32] florin.stancu [Local VM] |
isc:info:virtualmachine [2025/10/11 16:41] (current) florin.stancu [Local VM] |
||
|---|---|---|---|
| Line 68: | Line 68: | ||
| ===== Local VM ===== | ===== Local VM ===== | ||
| - | You can find an already-built VM for the ISC labs, together with the source code, on GitHub: | + | You can find a downloadable VM for the ISC labs, together with the source code, on GitHub: |
| https://github.com/cs-pub-ro/ISC-lab-vm/releases | https://github.com/cs-pub-ro/ISC-lab-vm/releases | ||
| Line 92: | Line 92: | ||
| * For VirtualBox, we must manually add a port forwarding rule so we can access the machine via SSH from the host; | * For VirtualBox, we must manually add a port forwarding rule so we can access the machine via SSH from the host; | ||
| * With the virtual machine turned off, open **Settings -> Network -> Advanced -> Port Forwarding** and add the following rule: | * With the virtual machine turned off, open **Settings -> Network -> Advanced -> Port Forwarding** and add the following rule: | ||
| - | {{ :rl:labs:port_forward_virtual_box.png?600 | Port forwarding for SSH access from host machine }} | + | {{ :isc:info:port_forward_virtual_box.png?600 | Port forwarding for SSH access from host machine }} |
| * From the physical system, open a terminal and initiate an SSH session using:<code bash> | * From the physical system, open a terminal and initiate an SSH session using:<code bash> | ||
| student@PC:~$ ssh -p 10022 student@localhost | student@PC:~$ ssh -p 10022 student@localhost | ||
| Line 99: | Line 99: | ||
| <note> | <note> | ||
| - | Access accounts for the local virtual machine (the ''host'' station) are (''username:password''): | + | The access credentials for the local virtual machine (the ''host'' station) are (//syntax: ''username:password''//): |
| * ''student:student'' | * ''student:student'' | ||
| * ''root:student'' | * ''root:student'' | ||
| - | By default, you can connect via SSH only using the ''student'' user, then switch to ''root'' using the command ''sudo su''. | + | By default, you can connect via SSH only using the ''student'' user; you can then switch to ''root'' using the command ''sudo su''. |
| </note> | </note> | ||