Useful when you want to do cross-domain testing with a single machine
root:~# lsmod
root:~# modinfo dummy
filename: /lib/modules/3.12.8-1-ARCH/kernel/drivers/net/dummy.ko.gz
alias: rtnl-link-dummy
import java.util.EnumSet | |
import java.nio.file.{Files, Path, Paths} | |
import java.nio.file.StandardCopyOption | |
import java.nio.file.attribute.{PosixFilePermission, PosixFilePermissions} | |
// Exception handling omitted for brevity | |
def createTempRedisBinary(binaryName: String = "redis-server-2.8.19"): Path = { | |
val classLoader = Thread.currentThread.getContextClassLoader | |
val inputStream = classLoader.getResourceAsStream(binaryName) | |
val tempBinary = Files.createTempFile("binaryPrefix-", "-binarySuffix") |
Useful when you want to do cross-domain testing with a single machine
root:~# lsmod
root:~# modinfo dummy
filename: /lib/modules/3.12.8-1-ARCH/kernel/drivers/net/dummy.ko.gz
alias: rtnl-link-dummy
127.0.0.1 download.nus.edu.sg |
Open dialog for font and style selection
:set guifont=*
Display current font selection will be display, for example:
" <font> <type> <size>
" guifont=MonacoB Bold 9
Create a runner shell script in host -> init with:
#!/bin/sh
SPICE_PORT=5924
SPARK_IMG=/home/hoa/spark-training.qcow2
Login to your remote-clusters and run ktutil
. In this example, username is hoa
and realm is SAIKOCAT.COM
[hoa@remote-clusters ~]$ ktutil
ktutil: addent -password -p hoa@SAIKOCAT.COM -k 1 -e aes256-cts
Password for hoa@SAIKOCAT.COM:
ktutil: addent -password -p hoa@SAIKOCAT.COM -k 1 -e rc4-hmac