Scott Byrd

Scott Byrd

Copy – Paste in Putty w/ VIM

To Copy: vim my-file-name : mouse=a [enter] Select the text with the mouse while holding the Shift key. This magically copies the selection to the clipboard. Open Notepad.exe (or whatever) and paste the clipboard data. Remove any tabs as they get all...
Read More

Add Groups and Users

This post is copied from: ArchLinux: Users and groups Group management /etc/group is the file that defines the groups on the system. Display group membership with the groups command: ]$ groups [user] If user is omitted, the current user’s...
Read More

Mounting Amazon EC2 Volume

This is a repost from: Making an Amazon F Volume Available For Use Connect to your instance using SSH. Depending on the block device driver of your instance’s kernel, the device may be attached with a different name than what you specify. For...
Read More

Simple Nginx Setup with PHP

Install Nginx ]# yum install nginx Install php-fpm ]# yum install php54-fpm Create a *.conf file for php-fpm ]# cd /etc/php-fpm.d/ ]# cp www.conf your-domain.conf Setup the your-domain.conf file ]# vim your-domain.conf Type i to enter Edit mode. Change...
Read More

Nginx: Page Not Found

This error is nearly always caused by permissions issues. Check that the user:group is set to use the nginx user and whichever group you’ve setup to access the file in the site directory.
Read More