- Using a ready-to-use Ubuntu image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/chriswayg/cd923e933062f0c053a417fa6bf1094e/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# This script displays a list file sets which have been installed by the OpenBSD installer. | |
# It only checks one typical file per file set, as well as checking for the (renamed) bsd.mp kernel. | |
printf "\nInstalled OpenBSD file sets:\n" | |
[[ -f /bsd.sp ]] && printf "[X] bsd\n" | |
[[ -f /bsd ]] && [[ -f /bsd.mp ]] && printf "[X] bsd\n" | |
[[ -f /bsd.mp ]] && printf "[X] bsd.mp\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.reddit.com/r/tailswiki/wiki/index/internal-hd-install | |
1) boot from DVD/USB and set a password, then open a terminal | |
a) sudo gedit /usr/lib/python2.7/dist-packages/tails_installer/creator.py | |
-> search for "Only pay attention to USB and SDIO devices" | |
-> comment out next 7 lines (until and including "continue") by prepending a "#" (a changing font color means you did it right) | |
b) sudo /usr/bin/python -tt /usr/lib/tails_installer/tails-installer -u -n --clone -P -m -x | |
-> choose your hdd and create the Tails device | |
c) mount "Tails" partition from just created device/drive using Applications | Utilities | Disks | |
d) gedit /media/amnesia/Tails/syslinux/live*.cfg |
- Catalina, Mojave, High Sierra, Sierra, El Capitan, Yosemite or Mavericks
- Usage: copy one of the three following lines and paste it into your terminal. Type the sudo password.
sudo true; v=3.8.4; f=python-${v}-macosx10.9.pkg; cd $TMPDIR; { curl -LfOsS https://www.python.org/ftp/python/${v}/$f ; cd ~-; } && sudo installer -pkg $TMPDIR/$f -target / && v=$(echo "$v"|cut -d'.' -f1-2); "/Applications/Python ${v}/Update Shell Profile.command" && . ~/.bash_profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
# pythonlister version 0.3 | |
# License: MIT - (c) 2020 ChrisWayg | |
# Run the script directly | |
# /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/chriswayg/ee97606a4dc93a4cdacff90915d5d1e5/raw/pythonlister.sh)" | |
# Download, install with sudo in /usr/local/ and run the script | |
# f=/usr/local/bin/pythonlister; sudo mkdir -p /usr/local/bin && sudo curl -sSLo $f https://gist.githubusercontent.com/chriswayg/ee97606a4dc93a4cdacff90915d5d1e5/raw/pythonlister.sh && sudo chmod +x $f && pythonlister |
- at 50 Mbps on a recent Mac, the 50 MB download including install takes about 30 seconds ;-)
- Usage: copy one of the two following lines and paste it into your terminal
- From https://discussions.apple.com/thread/6619535 by tywebb13
If you prefer to make a bootable dvd, you can do it this way:
After downloading the full Yosemite installer app from the Mac App Store, run these 14 commands in Terminal to create a Yosemite.iso file and then burn it to a dual layer DVD with Disk Utility. You may then boot up from it by holding the option key down and then install Yosemite.
- This worked on Mojave in 2020-06
- Location of archived installer:
/Volumes/MEDIA_DB4/macOS Installers 2019/Install OS X Yosemite.app
NewerOlder