Skip to content

Instantly share code, notes, and snippets.

Dustin dust321

  • North East
Block or report user

Report or block dust321

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View install_pacaur.sh
#!/bin/bash
#Make sure the system is up to date.
sudo pacman -Syu --noconfirm
#Install dependency packages we'll need to build Pacaur on Arch.
sudo pacman -S binutils make gcc fakeroot expac yajl git --noconfirm
@dust321
dust321 / wg-setup
Created Sep 2, 2019 — forked from lmlsna/wg-setup
Setup wireguard interface over ssh and return public key
View wg-setup
#!/bin/bash
add-apt-repository ppa:wireguard/wireguard -y &>/dev/null
apt-get update &>/dev/null
if [[ "$(lsmod | grep wireguard)" -n ]]; then
export HAS_WG_MODULE=1
else
apt-get install wireguard-dkms -y &>/dev/null
modprobe wiregusrd
@dust321
dust321 / nginx.conf
Created Mar 25, 2019 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
View Minimum Arch install BIOS no encryption
fdisk or cfdisk /dev/sdX
mkfs.ext2 /dev/sdX1 #boot Max 500M
mkfs.ext4 /dev/sdX2 #root max 20Gig
mkfs.ext4 /dev/sdX3 #home the leftovers
mkswap /dev/sdX4
mount /dev/sdX2 /mnt
mkdir /mnt/boot
mkdir /mnt/home
mount /dev/sdX1 /boot
@dust321
dust321 / arch-linux-install-encryption
Last active Jun 27, 2019 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing Arch Linux on an DOS/BIOS system with full system encryption using dm-crypt and luks
View arch-linux-install-encryption
# Install ARCH Linux with encrypted file-system, for BIOS. Dustin dut n ex 5 a t g ma il
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
You can’t perform that action at this time.