This is one of those topics that is very easy to find on google, but I’m posting anyway.
Go to the console of your VM ESXi machine
Press Alt + F1
The password is “unsupported” vi /etc/inetd.conf
Find the #SSH, and move the cursor over the # x
X will delete the character under the cursor. i for insert before cursor. r for replace the current character with the character typed next. :wq
: puts the vi editor into the command mode, w for write, q for quit.
Reboot your server
Restart Your Network Device ifdown ens32 && ifup ens32
*** EDIT 1/12/2018 ***
Only a few months later, but Ubuntu started using netplan instead of the usual ifup/ifconfig commands I’m used to. Now it’s yaml.
This is for 17.10 and later! Proper space is NEEDED to work.
Apparently this changed in Ubuntu 20.04 (although it still supported the “old way”), but in 22.04 I could not get netplan to support my use of the gateway4 option.
I’ve left the old style commented out, but the new way of using only routes for this purpose works well and opens up the idea of multiple gateways or static routes from a single system.
Not too long ago I retired my Compaq V5000 CTO Laptop in favor of a newer HP 6515b. The only thing I’m missing thus far is the long life battery I had on the V5000, but that can easily be fixed with a few $$.
I am a big fan of dual booting systems – it’s always a good idea to have a backup plan in case the first plan fails. I put Vista Enterprise SP1 x64 on my new laptop (I have to get used to Vista eventually since I do have to support the machines at work). I then waited patiently for 8.10 Ubuntu to be released.
Went to install x64 of Ubuntu – install took just over 2 hours. Odd. Then nothing is really working up to par with a 2.2GHz AMD X2. I’m sorry to say, but it’s so far been a bad experience. I figured maybe it was a 64bit issue – redownload and try to install 32bit. The installer is taking forever again, so I forgo the installer and reboot.
Then I looked on the Ubuntuforums for some answers.
Basically, the ACPI is not fully written for. ACPI is advanced configuration and power interface.
That and the APIC is not fully written for. APIC is advanced programmable interrupt controller.
I’ve been told that when you are installing Ubuntu, run it with the ACPI=OFF command, and then when it’s installed, remove the ACPI=OFF from the menu.lst and replace it with noapic.
Here’s the fix: sudo nano /boot/grub/menu.lst
Then find where it says kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=bunchoflettersandnumbers ro quiet splash
We want it to say ro quiet splash noapic
Growing up on Macintosh computers, I always feel a little crippled on my basic computer knowledge. I’m not good with DOS. I didn’t know, until recently, what an IRQ was. I had no idea how to make a bootable MS-DOS disk for ghosting. I didn’t know how to copy files between Linux systems, but I could writeup some IPchains no problem. Odd.
So anyway, here’s the command that you run on the server you’re copying FROM: scp file_name user_name@ip_address:/directory_listing/
SCP: Secure copy
File_name: the name of the file you want to copy
User_name: name of the user with privs to the directory you’re copying to
Ip_address: IP of the server you’re copying to
Directory_listing: starts with / and doesn’t need a trailing /
In my case it’d be: scp bigfile.iso ituser@10.1.2.2:/home/ituser
EDIT!!!!
There is also a program called WinSCP that allows you to move files back and forth with an FTP-style interface. I highly recommend it to those who use Windows.
EDIT 2 April 11, 2015
Obviously I should have included Rsync: rsync -ru /src/dir/* root@remoteserver:/remote/dir/other/dir/