2026-07-19 16:39
Status:
Tags: Operating System Linux Windows Operating Systems and You - Becoming a Power User Coursera Google IT Certificate - Technical Support & Fundamentals Learning Virtual Machines
OS&Y - Module 6 - Operating Systems in Practice
==Remote Access
-
Remote Connection on Windows
-
PuTTY- a free, open source software that you can use to make remote connections through several protocols, include SSH
-
-
This is basically just a GUI overlay for connecting to other computers remotely, and has a bunch of options, like connection via the Host Name (or IP address), a port, and type of connection
-
You can then log in via the given password and user and be able to do all the good things you can do via SSH
-
You can also run PuTTY from the command line, you can use
putty.exe -sshalongside the user @ ip address you want to connect to in order to establish a remote connection -
Windows also allows for another way to connect to computers using the remote desktop protocol, or RDP, linux and Mac also has some of these
-
If the computer you are connecting to has in fact allowed RDP connections, then you will be able to have a graphical user interface for the computer instead of just a CLI
-
You can open it up however you like, it will ask for the name or IP address you want to connect to and then will open up a window that looks like the computer, think of what Guillermo(Shizickswhy) did that one time to macro in a game
-
-
Supplemental Reading for Remote Connections in Windows
-
Secure Shell (SSH)- was developed as a means of addressing the issue of safe connection to remote machines
-
Below are some common SSH clients:
-
PuTTY is a terminal emulator and the inspiration for all subsequent remote access systems.
- Features: This tool offers Telnet, SSH, Rlogin (A remote login tool for use with UNIX-based machines on your network), and raw socket connections plus Secure File Transfer Protocol (SFTP) and Secure Copy Protocol (SCP) for file transfers between two hosts.
- Protocols: SCP, SSH, Telnet, rlogin, and raw socket connection.
-
SecureCRT is a remote access system available for macOS, Linux, iOS, and Windows.
- Features: It offers terminal emulation and file transfer through an SSH tunnel. It enables connections through many protocols and has usability features like tabbed sessions and customizable menus.
- Protocols: SSH1, SSH2, Telnet, and Telnet/SSL
-
SmarTTY is a free SSH client with a multi-tabbed interface to allow multiple simultaneous connections.
- Features: This tool includes SCP capabilities for file transfers. It also includes usability features like auto-completion, file panel, and package management.
- Protocols: SSH and SCP
-
-
-
Remote Connection: File Transfer On Linux
- SCP (Secure Copy Protocol)- is a command that you can use in Linux to copy files between computers on a network
- use the
scpcommand to transfer files over a network in linux
-
Remote Connection: File Transfer on Windows
-
PuTTY allows you to transfer over files easily over a network in a windows environment
-
It comes with the PuTTY Secure Copy Client which is basically an extension of the SCP file transfer protocol
-
This can be unfortunately time consuming though if you want to do it a lot, so windows has something called Shared Folders, anyone on a network who has access to the shared folder can see and copy the inner files for it, basically like a mini server
-
You can share a folder by right clicking on the folder then clicking on the Share with options
-
You can then map it over to your network by going over to the This PC tab, and looking up top for a Map Network Drive button
-
Now, if you want to access that folder on another computer, you just type in a
\computername\foldername -
You can share them via the
netsharecommand as well
-
==Virtualization
-
Virtual Machines
- A virtual instance is just a single virtual machine
- Virtual Box is pretty goated ngl
- Basically just teaches you how to use it but I already mostly know all of that
==Logging
-
System Monitoring
- Logs basically keep track of everything that is going on in your system
- Logs are also very detailed and what kinds of things happened
- The act of creating logs is called logging
- Your OS is usually rather good at creating logs right out of the box
- You can customize this field to log different things though of course
-
The Windows Event Viewer
- Events are logged by the operating system and are stored inside of the Windows Event Viewer Application
- You can run the event viewer via the start menu, or also using the
eventvwr.mscexe inside of the CLI - It shows important events that may have occurred, however you are usually just interested with errors
- You can use custom views to create custom filters to see specific different points in your log history
- You can customize these filters on the right hand side of the application
- There is also aside from the custom logs, Windows Logs, which generally apply to the whole windows operating system, each with different sub categories like security, system, and more
- There is also then application logs, which log data from a single operating system component or application
-
Linux Logs:
-
All Linux logs are stored inside of the
/var/logdirectory -
The
/vardirectory stands for variable, and holds things that are always changing inside of it -
Some of the common logs that you might look at would be things like the auth logs, which are the authentication logs, kernel logs, dmesg logs, and boot logs as well
-
There are also log files that connect the different contents of other log files to provide an easier way to search through them, though if you already know the issue, then you would look through the smaller ones
-
The one file that basically logs everything on your system is the
/var/log/sysloglog file, it will usually contain the most comprehensive list of data -
Log files can be quite large, and therefore the linux system uses log rotation in order to keep the most relevant logs on the system
-
You can change the log rotate settings in order to try and hold on to these logs for longer
-
-
Working With Logs
-
If something out of the ordinary happens with a computer, you can look at the log files to see why something unexpected, like a weird shut off might have happened
-
When looking through a lot, you want to be specific, and never just read them line by line
-
If an application is getting a lot of errors, you can search for the word error in order to see if any of the vast logs might apply to that given application
-
You can try to search for that application’s name or other such times to narrow down what the logs might be giving you
-
Whenever you see a bunch of errors, you want to find the root issue, and therefore want to read the logs from either the top or the bottom of the file, depending
-
You can also check logs in real time, to see what is updated, you can use the
tailcommand to get the last ten lines of a log and see what may have changed
-
==Operating System Development
-
Imaging Software
- RUFUS BABY YEAHHHH, FUCK BELENA ETCHER
- To image a machine means to format that machine with an image of another machine, like an operating system or given settings
-
Operating Systems Deployment Methods
- One tool to image a device is a disk cloning tool letting you copy over a given image from on disk over to another
- You can use Clone Zilla for this, as it lets you copy over your disk images, used to back up one machine or several machines simultaneously
- There is also a
ddtool inside of the linux command line which creates images for given drives - You can also try to image machines via the network from a cloud provider
-
Supplemental Reading for OS Development Methods
-
Hard drive duplicators are machines that can make identical copies of hard drives. The original drive is inserted into the duplicator machine along with one or more blank hard drives as targets.
-
Hard drives can also be cloned using software, and some of the most common softwares are:
- NinjaOne Backup - Cloud-based cloning, backup, and data recovery service designed for managed service providers (MSPs) and remote workplaces.
- Acronis Cyber Protect Home Office - Desktop and mobile device cloning software that works with Windows, Apple, and Android systems. Designed for end users. Supports backup, recovery, data migration, and disk replication. Includes an anti-malware service that can overcome ransomware attacks.
- Barracuda Intronis Backup - Cloud-based cloning and backup service on a SaaS platform. Designed for MSPs who support small to mid-sized businesses. Can integrate with professional services automation (PSA) and remote monitoring and management (RMM) packages.
- ManageEngine OS Deployer - Software for replications, migrations, standardizing system configurations, security, and more. Can create images of Windows, macOS, and Linux operating systems with all drivers, system configurations, and user profiles. These images can be saved to a locally stored library. The library is available to deploy OSs to new, migrated, or recovered systems as needed.
- EaseUS Todo Backup - Free Windows-compatible software for differential, incremental, and full backups, as well as disaster recovery. Supports copying from NAS, RAID, and USB drives.
-
-
Mobile Device Resetting and Imaging
- A factory reset reverts the device back over to the state it was in out of the box
- You might have to factory reset a mobile device pretty often because of things like viruses, bad data, and all other such things
- A factory reset will delete all of the data on the device
- Make sure that any and all sd cards or usb drives are also taken out of the phone because they will be wiped too
- You will need the proprietary device credentials in order to factory reset the device, this is for theft prevention
==Glossary
Centralized logging: Parsing logs in one central location
Disk to disk cloning: A type of cloning that happens when you connect an external hard drive to the machine you want to clone
Event Viewer: A place where all events that have been logged are stored
Factory reset: Resetting a device to the settings it came with from the factory
Logging: The act of creating log events
Log rotation: A way for the OS to clean out log files to make room for new ones
Logs: Files that record system events on our computer
OTA update: A type of update that is installed by the mobile device itself
Re-flash: A way to preserve end-user data on a device that you plan on resetting
Remote connection: The ability to connect an authorized person to a computer or network remotely; allows us to manage multiple machines from anywhere in the world
Secure copy: A command you can use in Linux to copy files between computers on a network
Shared folders: A way to share files between computers on the same network on Windows
SSH (Secure shell): A protocol implemented by other programs to securely access one computer from another
SSH authentication key: A secure authentication method for accessing a computer from other devices
Unix epoch: It is the number of seconds since midnight on January first, 1970. It’s a ‘Zero Hour’ for Unix based computers to anchor their concept of time
Variable: Files that constantly change
Virtual instance: A single virtual machine
VPN (Virtual private network): A secure method of connecting a device to a private network over the internet
