Skip to content

Category: Servers

Unraid 6.7 – Backing up VMs (KVM)

This is short summary of Spaceinvader One’s video and a little more up to date. https://www.youtube.com/watch?v=ntjQphOSPPI

  1. Install Community Applications, if not already installed
    1. Forum with more information –
      https://forums.unraid.net/topic/38582-plug-in-community-applications/
    2. Direct Link to the plugin – https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
  2. Install CA User Scripts from Community Applications
  3. After its installed, click Settings in the top nav bar of UNRAID
  4. Go down to User Utilities, click on User Scripts
  5. Click Add New Script
  6. Call the script whatever you want, i.e. “Backup VMs”. Click ok.
  7. Click the title of the script you just added, you should see a popup.
  8. Edit Description if you’d like
  9. Click Edit Script and paste everything from this page
    https://raw.githubusercontent.com/danioj/unraid-autovmbackup/master/unraid-autovmbackup-0-4.sh to that window
  10. Follow the instructions in the file or in the video to set up the script

I’m using UNRAID 6.7.0, CA User Scripts 2019.06.16

EdgeOSv1.10.6 – EdgeMax (EdgeRouter) no disk space on router

  • SSH into your router
  • run the following commands to display diskspace and diskspace taken by the firmware

  • delete backup images, answer yes to continue

https://help.ubnt.com/hc/en-us/articles/205146110-EdgeRouter-Upgrading-EdgeOS-firmware

EdgeOSv1.10.6 – EdgeMax (EdgeRouter) installing vnstat to record bandwidth usage

I wanted to record how much bandwidth is being used during the month. I found these instructions to install vnstat, a traffic monitor.

  • open a ssh connection to your router
    • the credentials are the same that you use in the web admin portal
  • run the following lines to add the debian repo
  • update cache
    • sudo apt-get update
  • install vnstat
    • sudo apt-get install -y vnstat vnstati
      • vnstati is a tool that creates images off of the data
  • run vnstat
  • run this line to allow vnstat to start after reboot

More info can be found here:

 

soyoustart – arm ufw error

If you get this error:

Run this:
$ wget http://last.public.ovh.hdaas.snap.mirrors.ovh.net/ubuntu/pool/main/l/linux-modules-armada375/linux-modules-armada375_4.5.2-4_armhf.deb
$ dpkg -i linux-modules-armada375_4.5.2-4_armhf.deb

Found on: https://www.lowendtalk.com/discussion/comment/2806769/#Comment_2806769

Reset Ubuntu password in Windows 10

I forgot my password to the Ubuntu app in Windows. Here is the way I reset it.

  • close the app if you have it open
  • open a command prompt as administrator, open ubuntu has root
    • ubuntu config –default-user root
  • you’ll be logged in as root, now change the password for your user name
    • passwd username
  • exit ubuntu
  • reset ubuntu back to your username
    • ubuntu config –default-user username
  • exit ubuntu
  • re-launch ubuntu

Got the steps here: https://askubuntu.com/questions/772050/reset-the-password-in-linux-bash-in-windows

CentOS 6 – Change System Language

I recently bought a server whose language was set to something other than English. Here is the way to change the language.

Run the following commands

and replace with the following

Log out and log back in. You should see the change.

How To Determine Your Linux Version

To determine what version of linux you are running enter the following command.

CentOS / RedHat

Debian / Ubuntu

or

Run the following command to determine if you are running a 32-bit or 64-bit version.

X2Go – Hostkey for server changed.

I installed X2Go yesterday on a Ubuntu server of mine. Of course I didn’t get my configuration right the first time 🙂 but X2Go was working 😉 . Since it was a VPS I just re-installed from scratch. However, I wasn’t able to get my X2Go windows client to work after the re-install. I received something similar to the error below.

Hostkey for server changed. The host key is now xx xx xx xx
The connection is being closed now.

After doing some Google searches I finally found something that kind of helped. They recommend deleting the “.ssh” directory but that didn’t work for me. I had to delete the “known_hosts” file under the directory “C:\Users\XXXX\ssh”, XXXX of course being your username.

You can also edit the file and just delete the line that contains the IP address your trying to connect to.

I am running Windows 7 Professional.

Registering your license for VMware ESXi 5.0

I had the hardest time finding the place to enter my license.

  1. Go to the vSphere client
  2. Click on the host
  3. Click the “Configuration” tab in the window to the right
  4. Click the “Licensed Features” link underneath “Software”, 2nd box on the 5.0 client.
  5. Click on edit in the right corner of the pane
  6. Enter your license key

Playing around with VMware ESXi 5

I just started playing around with VMware ESXi 5 which appears to be free! Yey! 🙂

You can download it at the VMware website, http://www.vmware.com/products/vsphere-hypervisor/overview.html. Don’t forget to apply for the license which is free, otherwise you get a 60-day trial.

The reason I choose VMware ESXi was because I’m pretty familiar with VMware. I’ve had their workstation as long as I can remember. I actually had a license for both Linux and windows at one point. And umm… because that’s really the only one I could use on my server, hardware restraints.  🙂

There are a few other free virtualization software packages.

  • Citrix XenServer
  • Proxmox (open source)  – does KVM and OpenVZ
  • Virtuozzo
  • VMware ESXi