Wednesday, March 14, 2018

Setting Up a New Windows 10 Machine

Here's my list of things to do with a new windows 10 box in 2018.
(I put it here so I can find it next time I get a new machine.  
Let me know your list of "got to have programs" in the comments.)
 
Set Preferences
-----------
Add environmental variable "HOME" and set to "C:\home\mfincher" so Emacs can find me 
(In the File Explorer, right-click on "This PC", select "properties"/"Advanced system settings"/"Environment Variables...")
Add C:\home\mfincher\bin to environmental variable "Path"
Go into "File Explorer Options" and set "Hidden files and folders"/"Show hidden files..."
  "Display the full path in the title bar"
  and unset "Hide extensions for known file types"
Install Utility Programs
------------------------
Install Chrome and Firefox
Install Emacs
Install spell (https://www.emacswiki.org/emacs/AspellWindows) to C:\opt\Aspell and set emacs to reference that dir
Install Git https://git-scm.com/downloads
   git config --global user.name "Johnny Cash"
   git config --global user.email johnny.cash@gm.com
   git config --global http.proxy http://username:password@proxy.example.org:80/
   git config --global https.proxy http://username:password@proxy.example.org:80/

Install cmder from http://cmder.net/ into C:\opt\Cmdr
   Copy user-aliases.cmd to C:\opt\Cmdr\config
Install Mouse drivers  http://support.logitech.com/en_us/downloads
Install Notepad++ from https://notepad-plus-plus.org
Install Node  https://nodejs.org/en/download/
  npm config set proxy http://username:password@proxy.example.org:80/
  npm config set https-proxy http://username:password@proxy.example.org:80/
Install bower and gulp
  npm install -g bower gulp
Install Maven https://maven.apache.org/download.cgi
Install Paint.Net http://www.getpaint.net/download.html
Install 7-zip for zip/tar files from /http://www.7-zip.org/download.html
Install Visual Studio https://www.visualstudio.com/downloads/
Install ReSharper https://www.jetbrains.com/resharper/download/
Install IntelliJ https://www.jetbrains.com/idea/downloa
Install SourceTree for git repos - https://www.atlassian.com/software/sourcetree 





Install AutoHotKey from https://autohotkey.com/download/
Install Putty.exe and MTPuTTY
Install FileZilla - https://filezilla-project.org/download.php?type=client
Install winscp - http://winscp.net
Install cf - https://cli.run.pivotal.io/stable?release=windows64&source=pws
Install PostMan inside Chrome


Install Microsoft Programs
------------------------
Install SQL Server and Red Gate's SQL Search
Install "Remote Desktop Connection Manager" from https://www.microsoft.com/en-us/download/details.aspx?id=44989 
 
Copy Files From Old Computer
----------------------------
Copy My Documents, My Pictu res, c:\home, c:\opt
copy over all the old databases
Copy over inetpub directories
Copy over old Microsoft Mail archives, *.pst files
Copy root directory of Git files, C:\Git
 

Git Clone Error Solved: "Permission denied (publickey)".

While cloning a repo from BitBucket on my new Windows 10 machine  I ran into this error:

"Permission denied (publickey)."

The problem was that BitBucket didn't know about my new public key.
To add the key, select "Manage Account" from the BitBucket web site,



Select "SSH keys" and then "add". 
Copy your public key from "C:\Users\Me\.ssh\id_rsa.pub" and paste it into the text box.
You should be good to go.

If you haven't already created a public/private key set enter,

ssh-keygen -t rsa -C "your.email@myemailhost.com".