Skip to content
Home » Operating System » Page 11

Operating System

Operating System / OS Information, How-To’s, Tips, Tools, and Guides for a variety of systems

Ubuntu Server 16.04.05 USB Installation Requesting CD-ROM

How to fix the Insert CD-ROM Notification when you are not installing from CD-ROM

This fix is simple.  You are running the Ubuntu server installation from a USB drive. 

You get the dialog box asking for the CD-ROM…Simply remove the USB drive (that has the installation media on it) from the port that it is plugged into. 

Move it to another USB Port….and the installation will find the device, think it is a CD-ROM and the install will continue.

Installing Teamviewer 13 on Ubuntu 18.04

How to Install Teamviewer on a Headless Server

Teamviewer Installation has changed in the recent version, and the prior directions will not work.  You will continue to receive an error after you insert the password saying there was a connectivity time out.  The new way to install teamviewer is as follows:

Login 

sudo bash

add-apt-repository “deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe”

apt-get update

apt-get install gdebi-core

mkdir /home/miner/teamviewer

cd /home/miner/teamviewer

wget https://download.teamviewer.com/download/linux/teamviewer-host_amd64.deb

dpkg -i teamviewer-host_amd64.deb

It will fail and that’s ok because we will fix it here

apt-get -f install

y

After it installs then type

teamviewer info

Take a note of your Teamviewer ID, you will need it later

teamviewer passwd YOURPASSWORDHERE

Now open teamviewer on another computer that you are logged into.  Add the computer using the menu “Add Computer“, enter in your Teamviewer ID and the Password you used in YOURPASSWORDHERE, and you can now connect

Decrypt Windows 10 Folder

How To Decrypt Your Files On Another Computer

This guide is part 2 of an earlier guide.  This explains how to access your files from another system, or restore them to a new computer.  The earlier guide can be found here:

https://tacticalware.com/windows-10-encrypted-folder/

Press the Windows + R keys on your keyboard to open the Run box

Type in certmgr.msc and click Ok

Right click on the Personal folder

Select All Tasks

Click on Import

Store Location should be Current User, and Click Next

Click Browse, navigate to your backup copy of the keys and select them

Click Next

Where prompted, type in the Password for your private key

Check the boxes to:

Mark the key as exportable

and  Include all extended properties

Now you can click Next

Click Automatically select the certificate store based on the type of certificate

Click on Next

Select Finish

There will be a dialog box that shows up which says The import was successful

Click Ok to close the box, and you can close out of the certmgr window

Now, try opening up the encrypted files/folder and you should have access

Deleting Linux Partitions on USB Drive From Windows 10

How to Delete Linux Partitions on USB Drive using DISKPART on Windows 10

On your Windows 10 computer, insert the linux USB drive

Press the Windows + R button on your keyboard

In the newly launched RUN box, type:

diskpart

And press Enter

From the DISKPART box, type in the following commands

list disk

Now find your USB Drive.  My USB Drive is Disk 1, so I will use that for the rest of the guide.

select disk 1

list partition

select partition 1

delete partition 1 override

select partition 2

delete partition 2 override

Do those steps until you have deleted all of the partitions.  Close the dialog box.  Remove the Drive, and you are ready to go with a new, fresh, unformatted drive.

 

Windows 10 Encrypted Folder

How To Encrypt A Folder on Windows 10

Open Windows Explorer

Right-click the file or folder that you want to encrypt

Select Properties

Click the Advanced button at the bottom

Place a check mark in the box next to Encrypt Contents To Secure Data

Click OK

You are done.  Folder is encrypted.  Make sure you backup your keys to a safe place.

Remove Groove Music from Windows 10

Removing This Troublesome App Via Powershell

In the Type Here To Search box

Type in Windows Powershell and it will show up

Right Click on Windows Powershell and Select Run as Administrator

Past in the following command

remove-AppxPackage (Get-AppxPackage –AllUsers|Where{$_.PackageFullName -match "ZuneMusic"}).PackageFullName

Hit Enter

And that is it!  Program Removed!

CLINFO Number of Platforms 0 Error

Running CLINFO Returns The Error “Number of Platforms – 0” Even With AMD Drivers Installed

This happens in Ubuntu Server 18.04 and most likely other versions.  To fix it run the following:

sudo apt install mesa-opencl-icd

Configuring an IP Address in CENTOS

CENTOS – Configure IP Address on ifcfg-eth0

Log into the machine as root

Type:
nano /etc/sysconfig/network-scripts/ifcfg-eth0

change
BOOTPROTO=”dhcp”

to
BOOTPROTO=”static”

add
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

leave the HWADDR line alone and on the next line down add

DNS1=192.168.1.1
DNS2=”4.2.2.2″

Change:
ONBOOT=”no”

to
ONBOOT=”yes”

and change
NM_CONTROLLED=”yes”

to
NM_CONTROLLED=”no”

file should now look like this:
DEVICE=”p1p1″
BOOTPROTO=”static”
IPADDR=”192.168.1.200″
NETMASK=”255.255.255.0″
GATEWAY=”192.168.1.1″
HWADDR=”00:12:34:56:78:90″
DNS1=”192.168.1.1″
DNS2=”4.2.2.2″
NM_CONTROLLED=”no”
ONBOOT=”yes”
TYPE=”Ethernet”
uuid=”UIHASD-ASDFASD-ASDFASDF-ADSF”
 Leave these values alone

save file
CTRL + O

and exit
CTRL + X

reboot your machine and you are all set

Raspberry Pi Backup using MAC

RASPBERRY PI – Backup Your Raspberry Pi SD Card Using a MAC

 

This is a quick how to on backing up your Raspberry Pi SD Card

Shutdown the Raspberry Pi and remove the SD Card

Plug the SD Card into your MAC

Go to Spotlight (the little magnifying glass on the top right of your MAC), type Terminal, and press Enter

Now the rest of the commands are done in the Terminal

Type:
sudo bash and press enter

Type in your password to get the # prompt

Type:
mkdir /raspberry-pi and press enter
mkdir /raspberry-pi/backups and press enter
cd /raspberry-pi/backups and press enter

Type
df -h and look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type

diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as)

dd if=/dev/rdisk1 of=/raspberry-pi/backups/wheezy-todaysdate-backup.img bs=1m and press enter

your SD Card will now be backed up

Once the backup is complete type:
diskutil eject /dev/rdisk1

And that is it.



Thanks for reading

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Restoring a Raspberry Pi Backup

This is a quick how to on restoring a backed up image to your SD Card Plug the SD Card into your MAC Go to Spotlight (the little magnifying glass on the top right of your MAC), type Terminal, and press Enter Now the rest of the commands are done in the Terminal Type: sudo bash and press enter Type in your password to get the # prompt Type: cd /raspberry-pi/backups and press enter Type df -h and look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as) dd bs=1m if=/raspberry-pi/backups/wheezy-todaysdate-backup.img of=/dev/rdisk1 and press enter your SD Card will now be restore the backup Once the backup is complete type: diskutil eject /dev/rdisk1 And that is it. Thanks for reading Hardware that I use: Raspberry Pi 4 (4gb) https://amzn.to/3q551IO SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter https://amzn.to/2Vfvo0y CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C) https://amzn.to/3fNTYPu CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet https://amzn.to/33u5hr9 Western Digital 500GB WD_Black SN750 NVMe https://amzn.to/3nZ5pH4 Plugable USB C to M.2 NVMe Tool-free Enclosure https://amzn.to/3lflV3L