Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Thursday, September 20, 2012

ssh-ing from OS X into a Linux on a local VM (VirtualBox)


  • for the specific virtual machine: Network Adapters / Port Forwarding / add a rule like "Protocol=>TCP, Host Port=>2222, Guest Port=>22, leave the IP addresses blank!"; the VirtualBox help system opens a nice and very instructive PDF manual, that really made me feel comfortable with this
  • this way you should actually be able to "ssh -p 2222 localhost" on the host machine
  • in my case this failed, complaining like this: "port 2222: Connection refused"
  • it took me a while to reason, whether the guest OS really has an ethernet / LAN interface configured – and there wasn't any such active interface – TBD
To be continued …

Update 2013-02-26:
"Bridged networking" looks superior to NAT, as things work far more easily – you don't need to forwards ports (e.g. SSH), you can simply talk to the VM guests. I couldn't get Samba working with NAT's port forwarding, but with bridged networking "it's just there" (what a joy!!!), and you can also have "natural" communication amongst the guests. Imagine: an Oracle DB within some VM …

Sunday, September 16, 2012

O'Reilly Media book: Linux in a Nutshell

Linux in a Nutshell: Everything you need to know about Linux is right in this book. The latest edition of this popular reference offers a tighter focus on Linux system essentials, as well as more coverage of new capabilities such as wireless network management, DVD recording, and revision control with git. Linux in a Nutshell, Sixth Edition thoroughly covers programming and administration tools, editors, and the shell, and highlights the most important options for using the vast number of Linux commands.

I had bought it quite a while ago, just "on stock", never used it, but yesterday I looked up a few topics.

As a committed openSUSE user I have been using YaST for most tasks for quite a while. But now there is an ubuntu system in a VM w/o GUI, and things need to be done the command line way. Alright, there are also a few curses-based GUIs like aptitude … .

So this is what I looked up in this nice book:
  • user management; I had to add a user account for myself
  • keyboard configuration; the system was set up for a U.S. keyboard, and my keyboard has the German layout
  • package management (apt-*)
It also has a nice introduction to Git.

No Starch Press: Ubuntu Made Easy

Ubuntu Made Easy:
Ubuntu Made Easy
Full of tips, tricks, and helpful pointers, Ubuntu Made Easy is perfect for those interested in—but nervous about—switching to the Linux operating system.
read more

Monday, July 30, 2012

No Starch Press book: Ubuntu Made Easy

Ubuntu Made Easy:
Ubuntu Made Easy
Full of tips, tricks, and helpful pointers, Ubuntu Made Easy is perfect for those interested in—but nervous about—switching to the Linux operating system.
read more

Wednesday, February 22, 2012