Sunday, March 17, 2013

vmware esxi scp copying usage

using scp to copy to another instance of esxi.  apparently doesn't work out of the box.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1918

copied here for future ref


Using SCP to copy files to or from an ESX host (1918)

Details

This article provides information on the SCP utility that is used to copy files to or from an ESX host.

Solution


Important: If you are moving virtual disk files, see Moving or Copying Virtual Disks in a VMware Environment (900).

VMware recommends that you use SCP to copy files to or from ESX hosts. The ESX host installation includes SCP as part of the SSH package.
To prevent performance and data management related issues on ESX, see Moving or copying a virtual machine within a VMware environment (1000936).
To copy a file from the ESX host to another server, use this syntax:
scp local_filename user@server:/path/where/file/should/go
Note: To be able to copy files using SCP, you need to start the SSH client in the source and destination ESX hosts. To start the SSH client, run this command:
service sshd restart
All machines to which you copy files must also have SSH (which includes SCP) installed, configured, and be available on the same network.
Many Linux and Unix distributions include SSH and SCP. If you need to download the software, see http://www.openssh.com/. For a list of Windows clients, see http://www.openssh.com/windows.html.
In some situations, you may need to use SCP without a password prompt. For more information, see Adding SSH Keys to the Service Console so vmsnap Stops Prompting for a Password (1719).
If you want to use FTP, you need to enable its use in the ESX host. For more information, see Enabling FTP for ESX Server (1868).

mount a file system rw that is read only.

mount -n -o remount,rw /

simh (Dec and others) emulator on Raspberry pi

this is a repository for random bits of info (interesting but not organized yet).

network bridging for simh  (decnet / dec10)
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=30326&p=274405

recipe (maybe)
http://www.tonyblews.co.uk/2012/05/pi-vax/
http://www.tonyblews.co.uk/2010/08/i-have-a-vax/

Decnet from above site
http://www.tonyblews.co.uk/2012/06/pi-vax-and-decnet/

recipe for linux in general
http://www.wherry.com/gadgets/retrocomputing/vax-simh.html

Tuesday, February 26, 2013

Set up a Raspian (debian for Raspberry pi) local repo

It has been suggested that it is difficult to capture a copy of the raspberry pi debian software.

While the actual starter SD image is pretty much whatever you get from the raspberrypi.org site(s) you might want to have your own local mirror and maintain it. 

this will allow you to diverge from the main rpi raspian by replacing packages, or just have a backup for the possiblity you need a stable copy of what you are operating on, or to debug on fixed images.

Two things need to be done.  one you need to get a list of mirrors for the repo(s) for raspberry pi raspbian.

here is a link to that:

http://www.raspbian.org/RaspbianMirrors

here are the debian instructions for setting up a repo

http://wiki.debian.org/HowToSetupADebianRepository

More notes to follow as to how to set up the debian repo and copy a mirror.


Friday, February 22, 2013

qr link

Fun with QR links.  not sure where this came from, but was laying around as a draft

http://jwstephens.com/

qrcode

Removing packages from debian / Ubuntu

Never use dpkg to remove a package you have installed using synaptic / apt-get.   There is a database which tracks what is installed, and also is used to figure out what packages use what, as well as solving dependencies, so that much be updated.  dpkg does not do that.


apt-get --purge remove <package>


will remove the package and update that database

raspberry pi sound (raspian) as well as device list

here is a site on elinux which has a list of tested peripherals for the rpi


http://elinux.org/RPi_VerifiedPeripherals

Also a site with notes on how to install and get sound going on raspian.  you need to install alsa and a driver to do so.

http://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi/install-audio

copied below for reference:

With the Pi connected to the Internet and SSH'ed in (see our previous tutorial) install the alsa audio drivers and MP3 Player
Copy Code
  1. $ sudo apt-get install alsa-utils
  2. $ sudo apt-get install mpg321
Reboot the Pi (% reboot) and when it comes back up, load Sound Drivers and Setup for 3.5mm Jack Output

Copy Code
  1. $ sudo modprobe snd-bcm2835
  2. $ sudo amixer cset numid=3 1