Apache Settings Enable rewrite module: ~$ sudo a2enmod rewrite Edit Apache configuration file: (I only have one site enabled) ~$ vim /etc/apache2/sites-enabled/000-default Change AllowOverride None to AllowOverride All Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Restart Apache: ~$ sudo service apache2 restart WordPress Settings Settings -> Permalinks Enable your desired permalinks […]
Starting TS3 Server
sudo /home/teamspeak/teamspeak/ts3server_startscript.sh Note to self: This needs to run at startup along with Craftbukkit.
SSH Public Key Authentication
rsync -av -e “ssh -p 2222” ~/.ssh/id_dsa.pub root@hostname:.ssh/authorized_keys This adds the public key to the authorized_keys file in your ~/.ssh directory on the remote machine. You can specify a port other than 22 with -p####. You can also copy the ssh key to the clipboard and manually add to authorized_keys on the remote machine while […]
GNU Screen Cheat Sheet
GNU screen usage This is a summary of some common command-line options and keystrokes for use in the terminal multiplexer GNU screen. For more details, see screen’s man page. All commands (except in copy/scrollback mode or command-line mode) start with the command character, which is assumed here to be the default Ctrl+A (denoted here as […]
Find hardware info from command line
Processor Info: cat /proc/cpuinfo Disk info – Vendor, Model, Logical Name, Serial Number, Size, etc… sudo lshw -class disk more to come…
Ubuntu “Wired Device Not Managed”
Change managed=false to managed=true sudo vim /etc/NetworkManager/NetworkManager.conf Restart Network Manager sudo service network-manager restart