- TFTP server
- IPXE Make sure ipxe.lkrn is in the TFTP root.
- iSCSI target (Server) Assume we have an iSCSI target "1:net.cszombie.au:windows" that is ready to be connected. 1 is LUN id, "net.cszombie.au:windows" is the target name.
- HTTP server (To speed up loading boot.wim, http is faster than tftp, http is supported by IPXE, however this is optional)
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
UEsDBBQAAAAIABNQjFGCf/GfLgAAACwAAAAHAAAAUHJvLmtleTMqdncpCXQOKDAp9woMzEo1MTVOrHAzTjTLME7VNs1LK8owTjQpcU8tcuLlAgBQSwECFAAUAAAACAATUIxRgn/xny4AAAAsAAAABwAAAAAAAAAAAAAAAAAAAAAAUHJvLmtleVBLBQYAAAAAAQABADUAAABTAAAAAAA= |
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
vim /etc/udev/rules.d/85-ebs.rules | |
ACTION=="add|change", KERNEL=="xvdh", ATTR{queue/scheduler}="deadline" | |
ACTION=="add|change", KERNEL=="xvdi", ATTR{queue/scheduler}="deadline" | |
ACTION=="add|change", KERNEL=="xvdj", ATTR{queue/scheduler}="deadline" | |
vim /usr/lib/tuned/throughput-performance/tuned.conf | |
Change value "readahead" to 128 | |
yum install -y numactl | |
chmod u+x /etc/rc.d/rc.local |
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/python | |
""" | |
This simple script makes it easy to create server certificates | |
that are signed by your own Certificate Authority. | |
Mostly, this script just automates the workflow explained | |
in http://www.tc.umn.edu/~brams006/selfsign.html. | |
Before using this script, you'll need to create a private |
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
# Copyright 2018 Simon Davy | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
- connect to the OVH/SoYouStart/Kimsufi API and create a ipxe script under https://eu.api.kimsufi.com/console/#/me/ipxeScript#POST or equivalent, see centos8.ipxe below
- boot your server from this netboot, and ping it to follow the process. If you can observe the webserver's logs you will se your server's IP pulling kernel and initrd with "iPXE" user agent, then it will start pinging, and retrieve the kickstart.cfg a bit later (with "curl" user agent). This is the moment when you could set your server back to "Boot from Hard Disk".
- Also at this point you can connect to your server with SSH using the key/password set in the kickstart file. type
tmux a
to attach the install's tmux session and follow the progress. For debugging, check the logs in /tmp and those sent over syslog.
- [kernel/installer boot params in ipxe script](https://access.redhat.com/documentation/en-us/red_hat_enterprise_li
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
############################################################################### | |
# Helpful Docker commands and code snippets | |
############################################################################### | |
### CONTAINERS ### | |
docker stop $(docker ps -a -q) #stop ALL containers | |
docker rm -f $(docker ps -a -q) # remove ALL containers | |
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter | |
# exec into container |
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
await this._page.evaluateOnNewDocument(() => { | |
let checkWatchTimeFunc = () => { | |
let currElem = document.getElementsByClassName('ytp-time-current'); //grab the element showing current play time | |
let maxElem = document.getElementsByClassName('ytp-time-duration'); //grab the element showing total play time | |
if ( | |
currElem.length > 0 && maxElem.length > 0 //check if there are any such element | |
&& currElem[0].innerText === maxElem[0].innerText //compare the value between the 2 elements | |
) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Head on over to your YouTube live Events page (https://www.youtube.com/my_live_events).
Create a new live event that is unlisted (or private) and of Custom type.
Under Basic ingestion choose 1500 Kbps - 4000 kbps (720p).
Check the Enable 60fps box.
NewerOlder