information

VGhpcyBpcyBhIHRlc3QgQmFzZTY0IGRhdGEgc3RyaW5nIHRvIHNlZSBob3cgdGhlIHdlYnNpdGUgaGFuZGxlcyBpdC4=

to set up ssh to always be started

sudo systemctl enable ssh

sudo systemctl start ssh

to set up remote desktop

sudo apt install xrdp

sudo systemctl enable xrdp

to set up a simple web page

sudo mkdir /srv/www

cd /srv/www

sudo vi index.html

i

test text

esc

:wq

to set up simple web server

cd /srv/www

python -m SimpleHTTPServer 8006

guac docker 

https://hub.docker.com/r/oznu/guacamole

sudo docker pull oznu/guacamole

sudo docker pull oznu/guacamole

mkdir guacconfig

sudo docker run -p 8080:8080 -v /home/subuntu/guacconfig:/config oznu/guacamole

docker container ls -a

sudo docker start <number>

sudo -

docker images

docker container ls -a

sudo docker container prune

docker ps -a   to check what is running

rsync

rsync -avhr --delete --exclude=".[!.]*" --ignore-existing origin_folder ONE_SHORT_OF_destination_folder 

all that plus --dry-run

also

sudo mount -t drvfs X: /mnt/s -o uid=1000,gid=1000 

convert .vmx to .ova

open terminal on Mac

cd /Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/

./ovftool /Users/<username>/Virtual\ Machines.localized/Ubuntu\ 64-bit\ 18.04.4.vmwarevm/Ubuntu\ 64-bit\ 18.04.4.vmx /Users/<username>/Desktop/ubuntutest.ova

to get the path to the old Vm right, easiest to drag and drop the vmx file into the terminal 

how to migrate various forms of vm to proxmox

Note: Most images for this process can be found at: https://www.itsfullofstars.de/2019/07/import-ova-as-proxmox-vm/

In Proxmox:

How to convert various forms of VM to .vmdk: 

.vmdk - No action needed. This is the format we want to dump into Proxmox.

.ova - 

warevm - VMWare Fusion does not have a GUI means of completing this task.

.VHD - Use WinImage on a Windows machine to convert format. 

how to set up a kiwix server

https://www.kiwix.org/en/


https://wiki.kiwix.org/wiki/Content_in_all_languages

https://piwithvic.com/raspberry-pi/projects/offline-wikipedia-with-kiwix 


to download the kiwix server, go to:

https://www.kiwix.org/en/downloads/kiwix-serve/

extract files:

cd Downloads

tar -zxvf kiwix-tools_linux-armhf-3.1.2-4.tar.gz

move files to execute directory:

sudo mv kiwix-tools_linux-armhf-3.1.2-4/* /usr/local/bin

move content files to data directory:

sudo mv wikipedia_en_all_maxi_2020-11.zim /var/local

create the kiwix config file:

sudo nano /etc/systemd/system/kiwix.service

file contents:


[Unit]

Description=Kiwix Service

After=network.target

[Service]

Type=simple

User=root

Group=root

ExecStart=/usr/local/bin/kiwix-serve -mb /var/local/wikipedia_en_all_maxi_2020-11.zim /var/local/second_and_third_etc_files.zim -p 8080

Restart=always

RestartSec=3

[Install]

WantedBy=multi-user.target


start the service:

sudo systemctl enable kiwix

sudo systemctl start kiwix

access the server via a we browser:

http://localhost:8080/

MAC SLOW NETWORK THING

From this site: https://kb.wisc.edu/watson/page.php?id=109133


Click on the Maginifying glass in the upper right


type “Terminal”


click on the Terminal.app


Copy the text on the following line:


defaults write com.apple.desktopservices DSDontWriteNetworkStores true


Paste the text into Terminal window and press Enter

Restart your computer.