100 Days of Code: Days 1–3

Trevor Hunter
2 min readJun 16, 2021

Playing a little catch-up today on my postings due to work and time with family.

Day 1: I have always wanted to be more proficient in Linux. Linux is one of those things that when mentioned just oozes techy vibes. Linux masters are like the vegans of the computer world, where everyone needs to know that you prefer it. All jokes aside Linux has been something on my radar for a while. I have Ubuntu 20.04 dual booted on my main PC and I have Mint installed as the main OS on my laptop, but still use Windows 10 is my main daily driver. I have yet to take that leap and get rid of my safety blanket completely.

For the first day I converted an old PC that I had (the one prior to upgrading to my current one) into an Ubuntu Linux server. I had XFCE Mint running as the main OS in hopes that I would use it as an experimental PC to learn Linux, but ended up just clearing it off the desk and ignoring it. Now that I have converted it to a server however, I plan to use it in conjunction to my main OS rather than a separate entity. Essentially it is a NAS at this point. The process to set up the server wasn’t difficult, but the real work started after I had installed Ubuntu Server.

Once I had it installed I needed to do something with it. I am still a Linux baby so I am limited on the networking commands. I hobbled my way through setting a static IP address and connecting it to my network, and when I was done with that I needed to connect. Being that I run a Windows machine, I was thinking “How am I going to connect to a Linux Machine with my Windows machine?” Thinking it was going to be a major pain to connect, possibly having to swap OS’ to my dual booted Ubuntu and use a shared file to transfer, but in my searching I discovered a great thing. POWERSHELL SUPPORTS SSH. Not only that but it supports SCP! With this tool I went into Powershell and made my connection.

After I figured out how to connect and copy on a 1:1 basis, I figured it was time to learn some automation. I looked up a YouTube video which taught me how to create a Powershell script to connect and send files to a specified folder on my server, and after a little while of testing, I had my automatic transfer settings all worked out. I transferred most of my older data such as my gaming videos and old school files to my server where they peacefully lay.

This was essentially what I did for the first three days. I also learned some SQL with Codeacademy.

Until next time!

--

--