Blog 2020/5/7
<- previous | index | next ->
EDIT 2024/12/1: I updated a few of these commands to work with qemu 9.x.
Blog 2020/5/7
<- previous | index | next ->
EDIT 2024/12/1: I updated a few of these commands to work with qemu 9.x.
| [Unit] | |
| Description=Setup Systemd script for Artifactory in Tomcat Servlet Engine | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| GuessMainPID=yes | |
| Restart=always | |
| RestartSec=5 | |
| PIDFile=/var/opt/jfrog/run/artifactory.pid |
| #!/bin/bash | |
| # This assumes that the ~6GB mojave installer is in the /Applications folder. | |
| # If it's not, just open the App Store, search Mojave, and you can download the installer file from there. | |
| hdiutil create -o /tmp/mojave.cdr -size 6g -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/mojave.cdr.dmg -noverify -mountpoint /Volumes/install_mojave | |
| sudo /Applications/Install\ macOS\ mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_mojave | |
| mv /tmp/mojave.cdr.dmg ~/Desktop/InstallSystem.dmg | |
| hdiutil detach /Volumes/Install\ macOS\ mojave |
| ##### | |
| IF YOU'RE COMING HERE BECAUSE OF PROBLEMS MAKE SURE YOU HAVE THE PROPPER ADAPTER | |
| I tried several adapters and the one from Tripplite works the best. Some don't work at all, others create a lot of gibberish on the VT220. | |
| Link: http://www.amazon.com/gp/product/B0000VYJRY/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1 | |
| ##### | |
| 1. Installed drivers for USB -> Serial adapter | |
| 2. Run ls /dev/tty.* | |
| I see my adapter as: '/dev/tty.usbserial' |