Monday, January 20, 2020
set ssh to esxi to log on with preshared keys
The ssh preshared keys are not in the home (root) directory of the esxi root account, but rather are in /etc/ssh/keys-root/authorized_keys
https://ogris.de/sshesxi/
https://serverfault.com/questions/549858/rsync-over-ssh-to-esxi
--30--
Saturday, January 18, 2020
rsync over ssh from vm esxi
basically have to build rsync on the esxi platform. esxi uses busybox, rsync not included.
https://serverfault.com/questions/549858/rsync-over-ssh-to-esxi
--30--
escaping scp filename or command lines with spaces
link from here
https://stackoverflow.com/questions/19858176/how-do-i-escape-spaces-in-path-for-scp-copy-in-linux
scp user@example.com:web/tmp/Master\\\ File\\\ 18\\\ 10\\\ 13.xls .
scp root@vmnu1:/vmfs/volumes/datastore1/Ubuntu\\\ 16.04/* Ubuntu\ 16.04/
--30--
Friday, January 17, 2020
esxi remote mount
mounting vmfs over ssh on esxi system on a linux box
https://serverfault.com/questions/549858/rsync-over-ssh-to-esxi
why not mount esxi file systems on a third machine with sshfs and rsync support, like so:
#mount src esxi file system
sshfs root@aaa.bbb.ccc:/vmfs/volumes/ mnt/sshfs/
src="mnt/sshfs/"
vmd="Storage_vmfs5/vm1-data"
#mount dst esxi file system
sshfs root@xxx.yyy.zzz:/datastore-vms/ mnt/tmp/
dst="mnt/tmp/"
#copy vm files
rsync -av --progress --stats --delete --force "$src$vmd" "$dst"
#unmount
fusermount -u $src; fusermount -u $dst
--30--
Labels:
esxi,
fuse,
fuse file support,
mount,
ssh,
vmware esxi
Wednesday, January 15, 2020
stream extract of cpio archive
extract cpio archive, split into parts.
create archive with split command, reassemble into stream with cat of all of parts in order.
example
cat usr-cpio-* | cpio -idv
cat usr-cpio-* assembles all parts into a stream
use pipe to cpio | cpio
cpio options -idv
-i means cpio put into reading mode, w/o other input option, will default to stdin
stdin driven by cat command pipped to the cpio invocation.
-d create directories, and recurse.
-v verbose report to stdout (stdout for a -i instance is either silent, or verbose list of files
--30--
Monday, January 13, 2020
Nginx, shellinabox, lshell, and debian 8 config
A good config page with locations and settings for a few utilities.
https://techfoxweb.wordpress.com/2017/02/24/configure-shell-in-a-box-lshell-and-nginx-in-debian-8/
--30--
Saturday, January 11, 2020
xrdp and xfce4 problems on Ubuntu 18.04.4 release (started in 18.04.2)
described here:
https://github.com/microsoft/linux-vm-tools/issues/49
more info here, matches problem:
https://github.com/microsoft/linux-vm-tools/issues/76
This install fixed the problem on ubuntu 18.04.4
apt-get -y install xorgxrdp xorg-video-abi-23 xserver-xorg-core
cluster fuck
--30--
Thursday, January 9, 2020
Hercules info page (copied)
https://curlie.org/Computers/Emulators/IBM_Mainframe/Hercules/
An open source System/370, ESA/390
and 64-bit z/Architecture emulator for Linux, Windows, Solaris, FreeBSD,
and Mac OS X.
An update to Volker Bandke's
Tur(n)key 3 (TK3) System by Jürgen Winkelmann - OS/VS2 MVS 3.8j Service
Level 8505 - Tur(n)key Level 4- Version 1.00, update 08 - Explains how
to access the publicly available online demo system as well as a link to
the downloadable distribution packages. Original release date: November
2013. Update 08 released: September 26, 2016.
A graphical user interface (GUI),
Windows front-end for Hercules, with screenshots and free download. See
also, the Hyperion link at the bottom of this page for information on
the Hercules 4.x (Hyperion) version of the Hercules emulator. Mirror
site (may not list the most recent software versions):
https://hercgui.pedroramos.com/
Download links for a ready to
install turnkey package consisting of a combination of Hercules and MVS
3.8j (both, circa 2002) and extensive Cookbook documentation. (Alternate
locations to download the TK3 CD image:
http://www.jaymoseley.com/hercules/downloads/archives/turnkey-mvs-3.zip
-or- ftp://www.cbttape.org/pub/cdimages/MVS_Turnkey_Volker_V3.zip) -
Note: TK4- by Jürgen Winkelmann (see above), is a more up to date,
turnkey implementation.
Discussion group for users of the
OS/380 family of operating systems (MVS/380, VM/380, VSE/380) utilizing a
patched version of the Hercules mainframe emulator (enabling MVS 3.8
limited 31-bit capabilities). Includes discussion of C tools adapted for
use on all MVS platforms, MVS 3.8 through z/OS as well as all VM
platforms.
A CICS-like transaction processing system for Hercules. Site includes CICS documentation reference links and a free download.
--30--
cmake for building hercules Hyperion (version 4) for arm
https://hercules-390.github.io/html/CMake/index.html
Quick build info from above:
QUICK START: Build Hercules Using CMake
To build Hercules on your computer using CMake, you need the following software installed:-
CMake version 3.4 or better:
cmake --version
. (CMake older than 3.4? See these instructions.) - A git client version 1.8.5.1 or better:
git --version
. - A c compiler. Both gcc and clang have been tested.
- If you wish to use
1Stop-Cmake
, sed. - A REXX interpreter,
either Regina Rexx or Open Object Rexx,
if you wish to run
make test
, the CMake equivalent ofmake check
. - Not required: autoconf, automake, flex, gawk, grep, m4, nor perl. Although there is no issue if these are installed on the system being used to build Hercules-390.
- Clone or update your local clone of Hyperion, as needed.
- Create a build directory and make that directory your current working directory. You can create the build directory anywhere you wish, so long as the directory is writable.
- Configure:
cmake <hyperion-source-dir>
- Build:
cmake --build .
- Run Tests:
ctest
- Install:
cmake -P cmake_install.cmake
(if you wish)
--30--
unix2dos converter for text files to add dos carriage control
on raspberry pi use debian package name of tofrodos to add the package
sudo apt-get -y install tofrodos
--30--
Subscribe to:
Posts (Atom)