Skip to content

Instantly share code, notes, and snippets.

@billturner
Created February 13, 2018 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billturner/42604bc1d05a1f0c826c98174213697a to your computer and use it in GitHub Desktop.
Save billturner/42604bc1d05a1f0c826c98174213697a to your computer and use it in GitHub Desktop.
Developer User/DevOps Admin,
If you do multiplatform development here is a video outlining my steps to get a developer workstation running windows 10 64bit with WSL - https://www.youtube.com/watch?v=7J-dRirlUvY “WSL requires fewer resources (CPU, memory, and storage) than a full virtual machine.“ https://msdn.microsoft.com/en-us/commandline/wsl/faq
https://blogs.msdn.microsoft.com/commandline/2017/07/28/windows-subsystem-for-linux-out-of-beta/
If you would like you can request Windows 10 Build and if you use Un*x administration and need a full X11 Client like I used to talk about when I said a name like Cygwin, well my setup is not totally stock, in that I didn’t add anything (except 3rd party x client) and can do full unix administration and supported this time.
My Steps:
1.) Get new haswell hardware (hp 600 g2’s)
2.) Update cwdb (work with support team to have them change it)
3.) Install win10 core 64 bit offering
4.) Login and start the steps
5.) Open powershell prompt to flip developer mode on by using this powershell script @ https://stackoverflow.com/questions/40033608/enable-windows-10-developer-mode-programmatically (copy and paste the seven line script into notepad and save it as devmode.ps1 and run from administrator powershell (the days of the msdos cmdline shell are over it seems…)
6.) Next run this command in the same powershell admin window “Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux” (this will grab Ubuntu 14.04 from “the Microsoft store” then restart your box as outlined in https://msdn.microsoft.com/en-us/commandline/wsl/install_guide once completed restart machine.
7.) Ensure you changed the password for the WSL user to something different than your level2 (just in case)
8.) Then install https://sourceforge.net/projects/vcxsrv/ configure it to handle the windows as you like (one screen or free standing apps)
9.) From bash prompt just paste these and exit bash and come back in…
10.) echo "export DISPLAY=localhost:0.0" >> ~/.bashrc
11.) sudo sed -i 's$<listen>.*</listen>$<listen>tcp:host=localhost,port=0</listen>$' /etc/dbus-1/session.conf
12.) I like xfce4 so I do an “sudo apt-get update-y && sudo apt-get upgrade –y && sudo apt-get dist-upgrade -y && sudo apt-get install remmina remmina-plugin-rdp firefox xfce4 xfce4-appfinder xfce4-battery-plugin xfce4-clipman xfce4-clipman-plugin xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dev-tools xfce4-dict xfce4-diskperf-plugin xfce4-eyes-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-goodies xfce4-hdaps xfce4-indicator-plugin xfce4-linelight-plugin xfce4-mailwatch-plugin xfce4-messenger-plugin xfce4-mount-plugin xfce4-mpc-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-panel-dev xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins xfce4-quicklauncher-plugin xfce4-radio-plugin xfce4-screenshooter xfce4-screenshooter-plugin xfce4-sensors-plugin xfce4-session xfce4-session-dbg xfce4-settings xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin xfce4-volumed xfce4-wavelan-plugin xfce4-weather-plugin xfce4-whiskermenu-plugin xfce4-wmdock-plugin xfce4-xkb-plugin –y && sudo apt-get autoremove –y && sudo apt-get autoclean –y”
then from bash prompt with VcXsrv running type startxfce4
13.) My desktop’s look like this when I do my “daily Driver work” https://1drv.ms/f/s!AsBlZbBf72iNmf1YPFEhsyp8hw50uA
14.) I’m here for you all, if you have any questions don’t hesitate to ping me and I’ll assist as needed, but shouldn’t be too much because as stated this is a core win 10 so it’s supported.
Make a new paste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment