services:eecsvm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:eecsvm [2025/02/25 15:41] – [Access Your EECS Home Directory From Inside Your VM] jas | services:eecsvm [2025/05/30 11:58] (current) – [VM Images] jas | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== EECSVM Service ====== | ====== EECSVM Service ====== | ||
- | The EECSVM service | + | The EECSVM service |
- | ** IMPORTANT NOTE: During EECSVM test phase, please login to ea75-ea78 | + | Users will use [[https:// |
- | Users will use [[https:// | + | These lab workstations support EECSVM service: |
- | The current machine configurations in Lassonde Building labs include: | + | ^ Lab ^ Cores per Workstation ^ Memory ^ |
+ | | LAS1002 | ||
+ | | LAS1002b | 6 | 16 GB | | ||
+ | | LAS1004 | ||
+ | | LAS1006 | ||
+ | | WSC105 | ||
+ | | WSC106 | ||
+ | | WSC108 | ||
- | ^ Lab ^ Processor | + | (*) LAS1006 hosts (ea01-ea78) appear in remotelab, and can be used remotely. |
- | | LAS1002 | + | |
- | | LAS1002b | Core i7-8700T | 6 cores | 16 GB memory | | + | |
- | | LAS1004 | + | |
- | | LAS1006 | + | |
- | The advantage of relying on lab machines | + | The following servers are available in remotelab |
- | **NOTE: Due to Microsoft restrictions, | + | ^ Server ^ Cores per Server ^ Memory ^ |
+ | | rose | 20 | 256 GB | | ||
+ | | ruby | 20 | 256 GB | | ||
+ | | scarlet | 24 | 256 GB | | ||
- | (*) While the lab machines in LAS1006 | + | **NOTE: Due to Microsoft restrictions, |
===== Check If You Have Access ===== | ===== Check If You Have Access ===== | ||
Line 27: | Line 33: | ||
< | < | ||
% eecsvm access | % eecsvm access | ||
+ | |||
You have access to EECSVM service. | You have access to EECSVM service. | ||
+ | |||
</ | </ | ||
+ | If you see, "You do not have access to EECSVM service.", | ||
+ | |||
+ | If you see, " | ||
+ | | ||
===== List Available Virtual Machines ===== | ===== List Available Virtual Machines ===== | ||
Line 35: | Line 47: | ||
< | < | ||
- | % eecsvm list available | + | % eecsvm list vms |
- | + | ||
- | Available VMs To Install: | + | |
3482-w24-win10 | 3482-w24-win10 | ||
4421 | 4421 | ||
flarevm | flarevm | ||
- | kali-linux-2024.4-virtualbox-amd64 | + | kali-linux-2025.1c (alias: kali) |
metasploitable2 | metasploitable2 | ||
- | metasploitable3 | + | metasploitable3-ubuntu14 |
+ | metasploitable3-win2k8 | ||
SEED-Ubuntu20.04 | SEED-Ubuntu20.04 | ||
- | ubuntu-24.04.2-server | + | ubuntu-24.04.2-lts-server |
+ | windows11 | ||
+ | </ | ||
+ | |||
+ | ===== List Available Virtual Machine Bundles ===== | ||
+ | |||
+ | If you are enrolled in a course to which multiple virtual machines will be installed, a VM bundle has likely already been created for the course. | ||
+ | |||
+ | To list available virtual machine bundles: | ||
+ | |||
+ | < | ||
+ | % eecsvm list bundles | ||
+ | |||
+ | eecs3481-alomari: | ||
+ | | ||
+ | |||
+ | eecs3482-alomari: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
- | Available VM Bundles To Install: | + | eecs3482-rts: |
+ | | ||
+ | | ||
+ | | ||
- | security1 | + | eecs4484-alomari: |
+ | | ||
+ | | ||
</ | </ | ||
- | Single VMs can be available (such as Ubuntu), or a VM bundle | + | For example, you can see that the "eecs3482-alomari" bundle |
===== Install A Virtual Machine ===== | ===== Install A Virtual Machine ===== | ||
Line 60: | Line 96: | ||
< | < | ||
- | % eecsvm install ubuntu-24.04.2-server | + | % eecsvm install ubuntu-24.04.2-lts-server |
- | Installing | + | |
- | Virtual machine ' | + | ubuntu-24.04.2-lts-server |
- | UUID: f93a7c04-cc83-4956-936b-b9794f3a1b93 | + | Virtual machine ' |
- | Settings file: '/ | + | UUID: 3d9d73f1-f655-453a-8555-aa38f84fd350 |
+ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 1040c942-aea6-4b48-bca4-07547f4a222e | + | Medium created. UUID: eebee866-d94d-4751-81ad-f538962e14be |
</ | </ | ||
- | Ubuntu server is installed immediately. | + | Ubuntu server is installed immediately. It takes very little time. |
+ | In the listing of available VMs, you can see that ubuntu-24.04.2-lts-server is also aliased to just " | ||
+ | |||
+ | < | ||
+ | % eecsvm install ubuntu | ||
+ | |||
+ | ubuntu VM: | ||
+ | Virtual machine ' | ||
+ | UUID: 69d452a3-d2d5-4f93-98ac-65c6ce921884 | ||
+ | Settings file: '/ | ||
+ | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
+ | Medium created. UUID: 5e33e04b-53c2-4e60-b17b-0669b9a390dc | ||
+ | |||
+ | </ | ||
===== Installing a Virtual Machine Multiple Times ===== | ===== Installing a Virtual Machine Multiple Times ===== | ||
- | If you need to install multiple copies of the same VM (say, 3 copies of Ubuntu), then you can give each install its own name: | + | If you need to install multiple copies of the same virtual machine |
< | < | ||
- | % eecsvm install ubuntu-24.04.2-server | + | % eecsvm install ubuntu ubuntu1 |
- | Installing ubuntu1 ... | + | |
+ | ubuntu VM: | ||
Virtual machine ' | Virtual machine ' | ||
- | UUID: 53a44de9-3a68-488b-ad27-e73a365061bf | + | UUID: 8ccb442a-4e77-4b01-bf04-20573072de7e |
Settings file: '/ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 05972878-a145-4b8d-bbc5-9ffa1c0492b6 | + | Medium created. UUID: 354c50c3-d424-4582-881d-60fcd2623092 |
- | % eecsvm install ubuntu-24.04.2-server | + | % eecsvm install ubuntu ubuntu2 |
- | Installing ubuntu2 ... | + | |
+ | ubuntu VM: | ||
Virtual machine ' | Virtual machine ' | ||
- | UUID: 7257af04-747d-4040-bbc2-d4c51e808300 | + | UUID: ab673026-1ba9-4166-82b0-dcc7da5c35d0 |
Settings file: '/ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 66180e9a-f0c0-4dc3-bbc5-c17a1337e0cc | + | Medium created. UUID: 42d86496-d566-4f19-b8ab-68a42e07fdd6 |
- | % eecsvm install ubuntu-24.04.2-server | + | % eecsvm install ubuntu ubuntu3 |
- | Installing ubuntu3 ... | + | |
+ | ubuntu VM: | ||
Virtual machine ' | Virtual machine ' | ||
- | UUID: 9d27ce5e-d2a9-4db0-b15e-720aaa896e45 | + | UUID: 61aeaf0e-b0a7-4e17-9efc-702e312f1040 |
Settings file: '/ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 5b277adf-a72d-4bcd-92d9-1ba4249291a5 | + | Medium created. UUID: e9456026-7214-4ed0-b7d2-4be551af7fa8 |
</ | </ | ||
- | ==== Optional Installation Options ==== | + | ==== Optional |
- | Other options which you can use when installing a vm with " | + | Other options which you can use when installing a virtual machine |
- | * -f = force the install to overwrite a previous | + | * --force Force install |
- | * --immutable | + | * --immutable |
- | * --netname | + | * --netname |
For example, to overwrite a previous Ubuntu install, and to create an immutable VM which uses the network name " | For example, to overwrite a previous Ubuntu install, and to create an immutable VM which uses the network name " | ||
< | < | ||
- | % eecsvm install -f --immutable --netname mynet ubuntu-24.04.2-server | + | % eecsvm install --force |
- | Installing ubuntu1 ... | + | |
+ | ubuntu VM: | ||
Virtual machine ' | Virtual machine ' | ||
- | UUID: 69b51513-ef2e-4b40-99ec-24f88abe20e3 | + | UUID: 3565008e-f109-486a-b47d-dc6b4df96d66 |
- | Settings file: '/ | + | Settings file: '/ |
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 16e12d00-4933-43c9-8eb0-53e1bb4106ad | + | Medium created. UUID: 34f31b21-f166-40c5-ae14-9a8b619ac5f8 |
+ | </ | ||
+ | |||
+ | If you haven' | ||
+ | |||
+ | < | ||
+ | % eecsvm install --immutable --netname mynet ubuntu ubuntu1 | ||
+ | |||
+ | ubuntu VM: | ||
+ | error: VM ubuntu1 already exists. | ||
</ | </ | ||
===== Installing a Virtual Machine Bundle ===== | ===== Installing a Virtual Machine Bundle ===== | ||
- | To install a virtual machine bundle, pass the bundle name to the " | + | To install a virtual machine bundle, pass the bundle name to the " |
< | < | ||
- | % eecsvm installbundle | + | % eecsvm installbundle |
- | Installing bundle | + | Installing bundle |
- | Installing | + | kali-linux-2025.1c VM: |
Virtual machine ' | Virtual machine ' | ||
- | UUID: 282a38e4-3c50-44dc-8790-f9ee1f1fffbb | + | UUID: cbecf8ce-82d8-4a57-902b-fab703cba247 |
Settings file: '/ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: e11d9fa2-b85e-4d8a-81ce-c490b31f1020 | + | Medium created. UUID: fc52bb41-15d1-4e50-ae17-5bcfb3ffbf0a |
- | Installing metasploitable2 ... | + | |
- | Virtual machine 'metasploitable2' is created and registered. | + | SEED-Ubuntu20.04 VM: |
- | UUID: b0006681-f4be-4dd8-852e-c4f5f71a365e | + | Virtual machine 'seed' is created and registered. |
- | Settings file: '/ | + | UUID: 4bf8a938-5763-4a49-bb34-d0e11b0e9037 |
+ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 53df409e-a87b-4cbe-ae31-f93ea3374208 | + | Medium created. UUID: 44f7da66-2b92-4a46-8df2-89c05a067200 |
- | Installing | + | |
- | Virtual machine ' | + | metasploitable3-ubuntu14 VM: |
- | UUID: 22565bc6-42e8-43ff-a034-0f058f578022 | + | Virtual machine ' |
- | Settings file: '/ | + | UUID: aa47dfd9-4d31-4a73-9a3f-528eb0e15de0 |
+ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 265021f3-6245-42fa-bd9d-f12f75e1e289 | + | Medium created. UUID: 38197c23-6888-4d5d-8663-fb67b36b98dd |
- | Installing seed ... | + | |
- | Virtual machine 'seed' is created and registered. | + | metasploitable3-win2k8 VM: |
- | UUID: 44e26de0-71a5-4e12-a653-9c83e0afe7a6 | + | Virtual machine 'metasploitable3-win2k8' is created and registered. |
- | Settings file: '/ | + | UUID: 8bdb8e93-fe59-40a9-a5be-f9217aece9ff |
+ | Settings file: '/ | ||
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | Medium created. UUID: 3f81cfc4-2159-4010-bebe-f0190fdbd901 | + | Medium created. UUID: 78655949-b181-40de-ae97-12e4eb8835b8 |
</ | </ | ||
+ | |||
+ | Here, we can see that several virtual machines were installed: Kali, SEED, and Metasploitable3 Windows, and Ubuntu versions. | ||
===== Check Which Virtual Machines You Have Installed ===== | ===== Check Which Virtual Machines You Have Installed ===== | ||
- | To check which virtual machines that you you have installed: | + | To check which virtual machines that you have installed: |
< | < | ||
% eecsvm list installed | % eecsvm list installed | ||
- | |||
- | User installed VMs: | ||
kali | kali | ||
- | metasploitable2 | + | metasploitable3-ubuntu14 |
- | metasploitable3 | + | metasploitable3-win2k8 |
seed | seed | ||
</ | </ | ||
Line 179: | Line 248: | ||
< | < | ||
- | % eecsvm delete | + | % eecsvm delete |
- | Deleting VM ubuntu1 | + | |
+ | Deleting VM kali ... | ||
</ | </ | ||
===== Starting a Virtual Machine ===== | ===== Starting a Virtual Machine ===== | ||
- | To start a virtual machine, start the VirtualBox GUI using the " | + | To start a virtual machine, start the VirtualBox GUI using the " |
< | < | ||
Line 191: | Line 262: | ||
</ | </ | ||
- | You can also start the VM from the command line: | + | You can also start the virtual machine |
< | < | ||
Line 203: | Line 274: | ||
===== Stopping A Virtual Machine ===== | ===== Stopping A Virtual Machine ===== | ||
- | You can stop a running virtual machine from the VirtualBox GUI. Right-click on the VM in the left side of the display, and choose " | + | You can stop a running virtual machine from the VirtualBox GUI. Right-click on the virtual machine |
- | You can also shut down your VM from the command line: | + | You can also shut down your virtual machine |
< | < | ||
- | vboxmange controlvm kali shutdown | + | % vboxmange controlvm kali shutdown |
</ | </ | ||
Line 217: | Line 288: | ||
< | < | ||
% eecsvm quota | % eecsvm quota | ||
- | Quota: | + | |
+ | Quota: | ||
</ | </ | ||
- | By default, you have a 40 GB storage quota. | + | By default, you have a 20 GB storage quota. |
===== Reset Your EECSVM Environment ===== | ===== Reset Your EECSVM Environment ===== | ||
- | If you would like to clear your EECSVM storage, and VirtualBox settings, use the " | + | If you would like to clear your EECSVM storage, and VirtualBox settings, use the " |
< | < | ||
% eecsvm reset | % eecsvm reset | ||
- | *** WARNING *** | + | ************************* WARNING |
- | This operation will delete ALL of your virtual machines, | + | This operation will delete |
- | VirtualBox configuration. | + | your VirtualBox configuration. |
+ | |||
+ | Please ensure that VirtualBox is NOT running. | ||
+ | |||
+ | Do you wish to proceed (YES/[no]) ?YES | ||
+ | |||
+ | Deleting / | ||
+ | Deleting VMs ... | ||
+ | Done | ||
- | Do you wish to proceed (YES/no) ?YES | ||
</ | </ | ||
- | ===== Access Your EECS Home Directory From Inside Your VM ===== | + | ===== Access Your EECS Home Directory From Inside Your Virtual Machine |
- | Your EECS home directory | + | Your EECS home directory |
**Linux** | **Linux** | ||
- | With Linux, your EECS home directory will be available as: / | + | With Linux, your EECS home directory will be available as: / |
- | NOTE: If you are setting up a new virtual machine, or adding additional users, you need to ensure that the user who is accessing the VM is in the vboxsf group to be able to access this folder: | + | NOTE: If you are setting up a new virtual machine, or adding additional users to an existing VM, you need to ensure that: |
- | < | + | * 1) The VirtualBox "Guest Additions" |
+ | * 2) The " | ||
+ | * 3) the user who should be able to access your EECS home directory is in the vboxsf group. | ||
% sudo usermod -aG vboxsf $(whoami) | % sudo usermod -aG vboxsf $(whoami) | ||
</ | </ | ||
Line 253: | Line 335: | ||
**Windows** | **Windows** | ||
- | If the share is available to a Windows | + | * 1) The VirtualBox "Guest Additions" |
- | + | * 2) Your home directory | |
- | + | ||
===== Creating Your Own Virtual Machine ===== | ===== Creating Your Own Virtual Machine ===== | ||
Line 265: | Line 345: | ||
< | < | ||
- | % eecsvm install ubuntu-24.04.2-server | + | % eecsvm install ubuntu |
+ | |||
+ | ubuntu VM: | ||
+ | Virtual machine ' | ||
+ | UUID: 6e317972-2718-46c8-aa9e-501cf8c1c5ba | ||
+ | Settings file: '/ | ||
+ | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
+ | Medium created. UUID: 6ceff68d-d00a-44dd-958d-714085bcfeed | ||
</ | </ | ||
- | Next, modify | + | Next, start the VM, and make any required |
- | When you're done testing, shut down the machine, and let tech know. We will create a disk image which consists of the original | + | When you're done testing, shut down the VM, and export |
< | < | ||
- | % eecsvm | + | % eecsvm |
- | </ | + | |
- | NOTE: Once users have started to use your new image, it cannot be changed. | + | Exporting my-custom-ubuntu (this will take some time) ... |
+ | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
+ | Successfully exported 1 machine(s). | ||
+ | Export success. | ||
+ | </ | ||
- | WARNING: While you can install a VM from an ISO image, if you do this, you are bound to use your quota entirely. | + | This will automatically package up your VM, put it into a holding directory, and send an e-mail to tech to let them know that you've exported a VM. It's a good idea to follow this up with an email to tech to let us know your intention. |
- | ===== Clear VirtualBox Configuration ===== | + | NOTE: Once a user has installed a VM from the repository, we can no longer change the base image. |
- | To clear your VirtualBox Configuration: | + | WARNING: While you can install a VM from an ISO image, if you do this, ALL of the disk usage will be counted in your VM quota, and you will likely run out of space. |
===== Other Important Information About EECSVM Service ===== | ===== Other Important Information About EECSVM Service ===== | ||
- | * Data is the EECSVM area is not backed up. If you corrupt your disk image, you will have to start again. | + | * Data in the EECSVM area is **not backed up**. If you corrupt your VM disk image, you will need to start again. |
- | * VirtualBox will not monitor if you are running your VM simultaneously on multiple machines. | + | * VirtualBox will not monitor if you are running your VM simultaneously on multiple machines. |
- | * If you're using a lab machine, check the [[https:// | + | * If you're using a lab workstation, please |
- | * All supported VMs must run on the current VirtualBox version. | + | * All supported VMs must run on the current VirtualBox version. |
- | * The EECSVM service is intended for education students. | + | * The EECSVM service is intended for **education** students. |
- | * At the end of each term, ALL student storage on the EECSVM service will be cleared. | + | * At the end of each term, ALL student storage on the EECSVM service will be **deleted** without notice. |
- | * Each user can choose which VMs they install in their storage space. | + | * Each user can choose which VMs they install in their storage space. |
- | * For additional VirtualBox assistance, refer to the [[https:// | + | * For additional VirtualBox assistance, refer to the [[https:// |
* For more information on VirtualBox command line options, use command " | * For more information on VirtualBox command line options, use command " | ||
- | Here's information on the currently installed VMs for use with the EECSVM service: | + | Here' |
===== Currently Installed VMs ===== | ===== Currently Installed VMs ===== | ||
Line 313: | Line 404: | ||
|3482-w24-win10|3482 Winter 24 Windows 10 VM|na| | |3482-w24-win10|3482 Winter 24 Windows 10 VM|na| | ||
|4421|4421 VM|na| | |4421|4421 VM|na| | ||
- | |kali-linux-2024.4-virtualbox-amd64|Kali Linux|u: kali, p: kali| | + | |flarevm|Windows 11 FlareVM with default packages|u: common, p: common| |
+ | |kali-linux-2025.1c|Kali Linux|u: kali, p: kali| | ||
|metasploitable2|Metasploitable 2|u: mfsadmin, p: mfsadmin| | |metasploitable2|Metasploitable 2|u: mfsadmin, p: mfsadmin| | ||
- | |metasploitable3|Metasploitable 3|u: vagrant, p: vagrant| | + | |metasploitable3-ubuntu14|Metasploitable 3|u: vagrant, p: vagrant| |
+ | |metasploitable3-win2k|Metasploitable 3|u: vagrant, p: vagrant| | ||
|SEED-Ubuntu20.04|SEED|u: | |SEED-Ubuntu20.04|SEED|u: | ||
- | |ubuntu-24.04.2-server|Generic Ubuntu 24.04.2 Server VM|u: common, p: common| | + | |ubuntu-24.04.2-lts-server|Generic Ubuntu 24.04.2 |
- | |flarevm|Windows | + | |windows11|Generic |
===== VM Bundles ===== | ===== VM Bundles ===== | ||
^Name^Description^ | ^Name^Description^ | ||
- | |security1|Installs | + | |eecs3481-alomari|SEED| |
+ | |eecs3482-alomari|Kali, | ||
+ | |eecs3482-rts|Kali, Metasploitable3 Ubuntu, Windows 11| | ||
+ | |eecs4484-alomari|SEED, | ||
services/eecsvm.1740516097.txt.gz · Last modified: by jas