Last active
December 28, 2015 17:39
-
-
Save david415/7537246 to your computer and use it in GitHub Desktop.
ubuntu 12.04 laptop setup notes
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
#!/bin/bash | |
apt-get update | |
apt-get install xorg openbox wicd sysstat wireshark macchanger openvpn xlockmore emacs23 chromium-browser nmap netcat -y | |
# after install grsec kernel | |
paxctl -m -x -e /usr/lib/chromium-browser/chrome-sandbox -c | |
paxctl -P -m -x -e -R /usr/lib/chromium-browser/chromium-browser -c | |
# edit /etc/default/grub | |
# GRUB_DEFAULT="2>0" | |
# which item 3 submenu, first item | |
cat > /etc/rc.local << EOF | |
# turn off swap | |
swapoff -a | |
# change macs | |
macchanger -r eth0 | |
macchanger -r wlan0 | |
# disable fucking lenovo laptop trackpad | |
xinput set-prop 10 "Device Enabled" 0 | |
exit 0 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment