$ sudo install -o redis -g redis -d /var/lib/redis2
$ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf
According to all known laws of aviation, there is no way a bee should be able to fly. | |
Its wings are too small to get its fat little body off the ground. | |
The bee, of course, flies anyway because bees don't care what humans think is impossible. | |
Yellow, black. Yellow, black. Yellow, black. Yellow, black. | |
Ooh, black and yellow! | |
Let's shake it up a little. | |
Barry! Breakfast is ready! | |
Coming! | |
Hang on a second. | |
Hello? |
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/ |
#!/bin/bash | |
# | |
# Configure sshd on MinGW for Windows | |
# Create host keys | |
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa | |
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa | |
ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa | |
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519 |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX
with /dev/sdX
or your device as needed.
// before using this code: replace all instances of [#...] with your keys/data/whatever and read comments starting with //# | |
// you can either host this on deta.sh or locally. | |
// to host it on deta.sh: | |
// [edit this code]; npm init; npm i twit axios deta express login-with-twitter; deta login; deta create .; deta deploy; deta cron set "1 minute" | |
const Twit = require('twit'); | |
const axios = require("axios"); | |
const {App} = require('deta'); //# remove this if youre running it locally | |
const express = require('express'); | |
const lwt = require("login-with-twitter"); |
There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /
(C:\
), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.