All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
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
bash.exe -c "sudo service apache2 restart" | |
bash.exe -c "sudo service mysql restart" | |
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
if( $found ){ | |
$remoteport = $matches[0]; | |
} else{ | |
echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
exit; |
Hyper-V Server does not include much in the way of graphical tools, but third-party alternatives can be installed.
I found a disturbing lack of basic instructions for using Hyper-V Server 2019, so it is my hope that this guide is useful to somebody.
Before starting this guide, enable Remote Desktop support in Hyper-V Server using the built-in configuration menu. If you connect to the Hyper-V Server with Remote Desktop, it will make it easy to copy and paste text (and later, files) from a normal Windows desktop machine.
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
#!/usr/bin/env swift | |
// | |
// REPL.swift | |
// | |
// Created by nuomi1 on 8/5/18. | |
// Copyright © 2018年 nuomi1. All rights reserved. | |
// | |
import Foundation |
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup