Skip to content

Instantly share code, notes, and snippets.

@WayneBuckhanan
WayneBuckhanan / vps-setup
Created May 19, 2014 05:46
Debian VPS setup
adduser user
adduser user www-data
adduser user sudo
wget --no-check-certificate -O deb7min.tar.gz http://www.github.com/WayneBuckhanan/deb7min/tarball/master
tar zxvf deb7min.tar.gz
cd *deb7min*
sh minimal.sh keepssh
wget -O virtualmin.sh http://software.virtualmin.com/gpl/scripts/install.sh
@WayneBuckhanan
WayneBuckhanan / w540-linux-notes.md
Last active October 6, 2018 19:47
Debian 7 on Lenovo W540

BIOS

  • Security->Secure Boot [Disabled] // boot from other drives
  • Startup->UEFI/Legacy Boot [Legacy Only] // allow more distros to boot from USB key; may also prevent bricking the laptop (sketchy correlation in forum posts between Both/UEFI Only modes booting into Linux after install and having to replace motherboard)
  • Startup->Boot Order: M.2 SSD before spinning disk
  • Config->Keyboard/Mouse->Fn and Ctrl Key swap [Enabled]

Boot -> install

  • Used Rufus to image debian-live-7.6.0-amd64-gnome-desktop.iso to USB key (7.1.0 didn't include appropriate network support)
  • use a USB3 port (You have no chance to survive make your time.)
  • edit boot entry to add "nomodeset" so display works (otherwise bombs when the nouveau driver errors)
@WayneBuckhanan
WayneBuckhanan / Vagrantfile.OSX
Last active July 13, 2019 15:55
OSX Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# https://github.com/AndrewDryga/vagrant-box-osx
config.vm.box = "osx-yosemite"