Welcome to part 5 of the MAMP tutorial. In this post we will go over setting up friendly URLs on your Mac server. We will be adding a new site called http://mysite.localhost
You will also learn how to run multiple domain sites on your local server. Having Virtual Hosts enabled is really useful when developing sites on your localhost. It’s also super easy to setup.
Continue reading “How to setup multiple sites hosted on your Mac with OSX 10.8 + (MAMP Part 5)”
Welcome to part 2 of the MAMP tutorial. In this part we will go over setting up Mysql on your Mac’s localhost. Part 1 goes over everything you need to do to setup PHP on a Mac with OSX 10.8+ (Mountain Lion)
Continue reading “How to setup MySQL on a Mac with OSX 10.8 + (MAMP Part 2)”
A quick tutorial showing you how to install and setup git on an Ubuntu server and pull a repo from Github.
Continue reading “Pulling a git repo from github to your Ubuntu server”
Tutorial showing you how to give an Ubuntu user the right to edit and add files in the /var/www folders.
Continue reading “Easy way to give user permission to edit and add files in /var/www”
Simple trick in Ubuntu to become root if your user has the sudo group assigned to it (this way you won’t need to type sudo in front of every command)
If you need to see all of the groups assigned to a user simply type the following into the Terminal:
To display all the groups on your Ubuntu system just type:
There are two ways to find the owner and group of a directory in Ubuntu:
ls -l /path/to/file
The 3rd field outputted is the user and and the fourth is the group
drwxr-xr-x 2 user group 4096 Feb 7 01:17 foldername
stat -c "%U %G" /path/to/file
This will return
Easy tutorial to Fix the error: apache2: Could not reliably determine the server’s fully qualified domain name after installing Ubuntu 12.04 on your host.
Continue reading “Ubuntu Rackspace, how to set up a server qualified domain name?”
A quick tutorial showing you how to ensure that new files created in your file structure will inherit the existing user and groups (no matter which user creates the new files). This tutorial is for Debian/Ubuntu and Mac:
Continue reading “Setup a folder so that new files created in it inherit default permissions and group”