-
Notifications
You must be signed in to change notification settings - Fork 1
First draft of the tutorial to access UdeM VPN on ubuntu (using a VM) #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
lunebellec
wants to merge
1
commit into
main
Choose a base branch
from
iss35
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| # UdeM VPN (Windows VM on Ubuntu) | ||
|
|
||
| ## 🛠️ Part 1: Create a Clean Windows 10 VM (LTSC Recommended) | ||
|
|
||
| ### 1. **Download Windows 10 LTSC (64-bit)** | ||
|
|
||
| * Visit: [https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise](https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise) | ||
| * Select **LTSC 2021**, 64-bit ISO | ||
| * Download and save the `.iso` to your `~/Downloads` folder | ||
|
|
||
| --- | ||
|
|
||
| ### 2. **Install VirtualBox** | ||
|
|
||
| ```bash | ||
| sudo apt update | ||
| sudo apt install virtualbox | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ### 3. **Create the VM in Bash** | ||
|
|
||
| ```bash | ||
| VM_NAME="WindowsVPN" | ||
| VM_DIR="$HOME/VirtualBox VMs/$VM_NAME" | ||
| ISO_PATH="$HOME/Downloads/your-downloaded-iso.iso" # replace with real filename | ||
| DISK_SIZE=51200 # MB | ||
| RAM=4096 | ||
| BRIDGE_ADAPTER=$(ip route | grep default | awk '{print $5}') | ||
|
|
||
| VBoxManage createvm --name "$VM_NAME" --ostype "Windows10_64" --register | ||
| VBoxManage modifyvm "$VM_NAME" \ | ||
| --memory $RAM --vram 128 \ | ||
| --boot1 dvd --graphicscontroller vmsvga \ | ||
| --nic1 bridged --bridgeadapter1 "$BRIDGE_ADAPTER" \ | ||
| --firmware efi | ||
|
|
||
| VBoxManage createhd --filename "$VM_DIR/$VM_NAME.vdi" --size $DISK_SIZE | ||
| VBoxManage storagectl "$VM_NAME" --name "SATA Controller" --add sata --controller IntelAhci | ||
| VBoxManage storageattach "$VM_NAME" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "$VM_DIR/$VM_NAME.vdi" | ||
| VBoxManage storageattach "$VM_NAME" --storagectl "SATA Controller" --port 1 --device 0 --type dvddrive --medium "$ISO_PATH" | ||
| VBoxManage startvm "$VM_NAME" | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Part 2: Install and Configure Windows | ||
|
|
||
| ### 4. **Install Windows** | ||
|
|
||
| * Go through the install steps | ||
| * Choose "I don’t have a product key" | ||
| * Select **Windows 10 Enterprise Evaluation** | ||
| * Skip updates and telemetry | ||
| * Log in and reach the desktop | ||
|
|
||
| --- | ||
|
|
||
| ### 5. **Install Guest Additions (Clipboard & Resolution Fixes)** | ||
|
|
||
| * In the VM: `Devices → Insert Guest Additions CD` | ||
| * Run the installer from File Explorer | ||
| * Reboot the VM | ||
|
|
||
| --- | ||
|
|
||
| ### 6. **Enable Copy-Paste Between Host and VM** | ||
|
|
||
| On Ubuntu: | ||
|
|
||
| ```bash | ||
| VBoxManage controlvm "$VM_NAME" clipboard bidirectional | ||
| VBoxManage controlvm "$VM_NAME" draganddrop bidirectional | ||
| ``` | ||
|
|
||
| Or from GUI: | ||
|
|
||
| * VM Settings → Gen | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this emoji isn't rendering in markdown ; I'm not sure if it will display on the doc build