-
Moving your installed WSL Linux Distro
Why start this series with moving Distro’s around and not just about installing? Simple, The distro’s tend to default their install on the C: drive in the login user App Data space (don’t even get me started on over loading c:\users\<YourUserName>). So what’s the problem with c:\users\<YourUserName>\AppData\Local? where do I begin… protected? hidden? Filling up your c: drive… pick one. But the most annoying one when it comes to Windows WSL distros… the install places these in the package folder. So c:\users\<YourUserName>\AppData\Local\Packages, and it does it in a way that usually involves a GUID like naming… Get the picture? Ok, enough harping on it… Let’s get to moving things about.…
-
WSL Linux on Windows 10 Series of Articles
Ok it’s time to start a series on WSL. I make no apologies when I say I’m not huge Linux fan, but I’m also not lacking when it comes to understanding how to utilize this OS in my Microsoft world. First off, I’m not a newbie when it comes to matters of Linux or Unix- I spent a number of years working on HP UX with Window-X/Motif apps I had to support (so to all the Linux Trolls… yeah whatever). So why is a “Microsoft Heavy” a.k.a. Me, ScottGeek bothering with the Linux side? Simple, over the past few years with MS moving to an inclusive approach with it’s Development…
-
Follow up to Setting up SSL Certs for IIS 10
As a follow up to this article from the past, I got email from a reader who gave a link to a useful SSL Checker. [visual-link-preview encoded=”eyJ0eXBlIjoiZXh0ZXJuYWwiLCJwb3N0IjowLCJwb3N0X2xhYmVsIjoiIiwidXJsIjoiaHR0cHM6Ly93d3cud2Vic2l0ZXBsYW5ldC5jb20vd2VidG9vbHMvc3NsLWNoZWNrZXIvIiwiaW1hZ2VfaWQiOi0xLCJpbWFnZV91cmwiOiJodHRwczovL2R0MnNkZjBkYjh6b2IuY2xvdWRmcm9udC5uZXQvd3AtY29udGVudC90aGVtZXMvd2Vic2l0ZXBsYW5ldC9pbWcvd2Vic2l0ZXBsYW5ldF9pbWFnZS5wbmciLCJ0aXRsZSI6IkZyZWUgU1NMIENoZWNrZXItT25saW5lIFdlYnNpdGUgQ2VydGlmaWNhdGUgQ2hlY2tlciBUb29sIiwic3VtbWFyeSI6Ikp1c3QgZW50ZXIgeW91ciBVUkwgaW50byB0aGlzIGZyZWUgdG9vbCBhbmQgcXVpY2tseSBkZXRlY3QgYW55IGlzc3VlcyB3aXRoIHlvdXIgU1NMIGNlcnRpZmljYXRlIGluc3RhbGxhdGlvbi4gR2V0IHRoZSBmdWxsIGFuYWx5c2lzIGFuZCBleHBpcmF0aW9uIGRhdGUuIiwidGVtcGxhdGUiOiJ1c2VfZGVmYXVsdF9mcm9tX3NldHRpbmdzIn0=”] I’ve have used this site (and others) to inspect my SSL deployments. This is handy tool to add to your collection. Thanks for the tip Lisa! ~ScottGeek
-
Testing Block Editor
So here we go… how do we change the font… there does not seem to be a way to do that. 😎 #this is a example docker --version ⇒More
-
Standing up Portainer using Docker Desktop on Windows.
So as I find useful Docker tools… I’m finding that Portainer is a very useful for my running Docker Desktop… The thing of it is… like a lot of images/containers… depending on what type of images you are set to run (Windows vs. Linux), the actual running of the Portainer varies. If one is on windows images… # #First time running Portainer # #Now make sure that the directory C:\ProgramData\Portainer exist or change the second volume property (-v) below # docker run -d -p 9000:9000 --name portainer --restart always -v "\\.\pipe\docker_engine:\\.\pipe\docker_engine" -v C:\ProgramData\Portainer:C:\data portainer/portainer # # This gives one access to Portainer on Localhost:9000. In the first go around you…
-
Docker Desktop WSL 2 Ports Access Denied
As I’ve been trying to work with Linux containers and images, I ran into a problem with assigning ports to Linux containers. The Linux distro is running under WSL 2 on my Windows 10 2004… and when I set the -P x:y, Docker would fail to start the container will an error Access denied. So after lots of internet looking… and port mangling… noon of which work… I find that the Linux distro (Ubuntu 18 something) seems to require root… so here we go… I open a bash terminal under the distro that docker is using… and do the following: sudo groupadd docker sudo usermod -aG docker $USER sudo chown…
-
Docker Desktop and Windows 10 2004
Ok as I previously talked about getting Docker up and going on a PC that really does not support the level of Hyper-V that is needed by Docker Desktop… there is a another solution. Windows 2004 update… Now I’ve been putting off the move to version 2004 because it was known to have had problems… But I finally made the move… no real problems yet. So why do this… with Windows 10 2004 one get’s WSL (the Windows Subsystem Linux). This is key to getting Docker Desktop to work without using Hyper-V! So lets do some stepping through this: First move one’s Windows to version 2004 (hours and hours and…
-
Docker Oh Docker
The dark world of Containers and Images…oh my. As I step my feet back into the Container World… and bring back the horror that is Hyper-V… I am reminded that my personally built Mage Dev PC does not really fully support the whole of Hyper-V- as least not how Docker Desktop wants to use it. Ya, it work fine on my ThinkPads (including my mini- Yoga X1)… but alas not the main desktop dev. Oh woe! But wait… there is a way…. I ran across this blog entry Docker without Hyper-V … and it really works… The long and short of it…. two methods to the madness… Option 1 script:…
-
C# Full Timestamp
Because I’m always having to look this up… a full (useful) timestamp should always look like this… YYYYMMDD HH:MM:SS.fff => 20200730 14:58:00.000 string timeStamp = DateTime.Now.ToString("yyyyMMdd hh:mm:ss.fff tt"); //Example 20200730 03:02:39.591 PM string fileTimeStamp = DateTime.Now.ToString("yyyyMMdd_HHmmssfff"); //20200730_150535040 string fileTimeStamp2 = DateTime.Now.ToString("yyyyMMdd_hhmmssffftt");// 20200730_030707929PM ~SG
-
Dotnet EF tools updating
I don’t know why this is always hard to find…. EF Core Tools ## To Install dotnet tool install --global dotnet-ef ## To Update dotnet tool update --global dotnet-ef ~ScottGeek



