This repository contains scripts to set up a development environment for Ubuntu and Windows Subsystem for Linux (WSL) with various tools commonly used for software development, data science, and machine learning.
-
Clone this repository:
git clone https://github.com/tomblanchard312/DSWorkloadInstallScripts.git cd DSWorkloadInstallScripts
-
Make the script executable
chmod +x ubuntu_post_install.sh
- a) remove dos characters from file, if necessary.
sed -i -e 's/\r$//' ubuntu_post_install.sh sed -i -e 's/^M$//' ubuntu_post_install.sh
- a) remove dos characters from file, if necessary.
-
Run the script to set up the development environment:
./ubuntu_post_install.sh
- Clone this repository:
git clone https://github.com/tomblanchard312/DSWorkloadInstallScripts.git cd repository
- Make the script executable
chmod +x wsl_post_install.sh
- a) remove dos characters from file, if necessary.
sed -i -e 's/\r$//' ubuntu_post_install.sh sed -i -e 's/^M$//' ubuntu_post_install.sh
- a) remove dos characters from file, if necessary.
- Run the script to set up the development environment
./wsl_post_install.sh
This repository contains scripts to set up a development environment for Ubuntu running on Hyper-V, including both CUDA and non-CUDA setups.
Before running the scripts, ensure that you have the following prerequisites:
- Hyper-V installed and enabled on your Windows machine.
- PowerShell with administrative privileges.
- Internet connection to download Ubuntu ISO and necessary packages.
-
Download Ubuntu ISO:
- Download the Ubuntu ISO file from the official Ubuntu website: Download Ubuntu Desktop.
-
Set Execution Policy:
- Open PowerShell with administrative privileges.
- Run the following command to bypass execution policy:
Set-ExecutionPolicy Bypass -Scope Process -Force
-
Run the Installation Script:
- Run the PowerShell script provided in this repository to set up Ubuntu on Hyper-V and execute the post-installation tasks.
-
Follow Script Instructions:
- Follow the instructions in the PowerShell script prompts to complete the installation process.
- Once the installation is complete, the Ubuntu VM will be set up with the development environment configured.
- Ubuntu Post-Installation Script (No CUDA): For Ubuntu on Hyper-V without CUDA support.
- Script Name:
hyper_v_post_install.sh
- GitHub URL: https://github.com/tomblanchard312/DSWorkloadInstallScripts/blob/main/hyper_v_post_install.sh
- Script Name:
- Ensure that the Ubuntu ISO and post-installation scripts are accessible from your Windows machine.
- Adjust paths and URLs in the scripts as necessary based on your environment.
Feel free to contribute by submitting pull requests or opening issues!