Skip to content

Category: Servers

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

Leave a Comment

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

 nano /etc/sysconfig/i18n

and replace with the following

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"

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

Leave a Comment

How To Determine Your Linux Version

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

CentOS / RedHat

cat /etc/fedora-release

Debian / Ubuntu

cat /etc/issue

or

lsb_release -a

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

# uname -a
Leave a Comment

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.

Leave a Comment

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
Leave a Comment

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

 

Leave a Comment