(Serial port or com port? - Serial ports are often refered as COM ports. It is the same to be short. You can read abut it in the Wiki article )
This file contains hidden or 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
| { config, lib, pkgs, ... }: with lib; | |
| { | |
| ### SmartOS Linux Branded Zone specific configuration | |
| boot.isContainer = true; | |
| boot.loader.initScript.enable = true; | |
| networking.useDHCP = false; | |
| networking.firewall.enable = false; | |
| services.nscd.enable = true;# false; |
This file contains hidden or 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
| Adding a new disk to a bhyve vm takes a few steps. | |
| 1. increase the quota on the zfs dataset to accomodate the additional | |
| space. | |
| 2. create a zvol inside the zone | |
| 3. stop the vm and update its configuration to reflect the change | |
| 4. start the vm, login and use the disk | |
| # update quota |
This file contains hidden or 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
| # Licensed under CC BY 3.0 http://creativecommons.org/licenses/by/3.0/ | |
| # Derived works must attribute https://gist.github.com/4492300 at the beginning, and the date. | |
| ################################################################## | |
| Installing and Configuring SmartOS at Hetzner (with a /29) | |
| ################################################################## | |
| # This is another version of Jahewson's Gist here: https://gist.github.com/jahewson/4492300 that adds a gate to prevent packets | |
| from leaking out from the main MAC address. |
This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.
Let’s begin.
First of all, there are some concepts that one must unlearn from ipv4:
Concept 1
- Install
ipset:
apt-get install ipset- Create new ipset:
ipset create tor iphash
This file contains hidden or 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
| kern.maxproc: Maximum number of processes | |
| kern.ngroups: Maximum number of supplemental groups a user can belong to | |
| kern.ipc.shm_allow_removed: Enable/Disable attachment to attached segments marked for removal | |
| kern.ipc.shm_use_phys: Enable/Disable locking of shared memory pages in core | |
| kern.ipc.shmall: Maximum number of pages available for shared memory | |
| kern.ipc.shmseg: Number of segments per process | |
| kern.ipc.shmmni: Number of shared memory identifiers | |
| kern.ipc.shmmin: Minimum shared memory segment size | |
| kern.ipc.shmmax: Maximum shared memory segment size | |
| kern.ipc.semaem: Adjust on exit max value |
This file contains hidden or 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
| # Licensed under CC BY 3.0 http://creativecommons.org/licenses/by/3.0/ | |
| # Derived works must attribute https://gist.github.com/4492300 at the beginning, and the date. | |
| ################################################################## | |
| Installing and Configuring SmartOS on a budget server (with a /29) | |
| ################################################################## | |
| # if you find this gist useful, please star it | |
| # please be aware that budget hosting companies usually cut corners somewhere, |
This file contains hidden or 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
| Download of kernel+initrd works on real hardware (HP/Compaq 6730b), | |
| but this message comes up after a few seconds. | |
| ================================ | |
| krtld: failed to open 'unix' | |
| krtld: bind_primary(): no relocation information found for module unix | |
| krtld: error during initial load/link phase | |
| krtld could neither locate nor resolve symbols for: | |
| unix |
NewerOlder