Categories
Linux MAMP Tutorials

How to setup multiple sites hosted on your Mac with OSX 10.8 + (MAMP Part 5)

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.

Categories
MAMP Tutorials

Amazing tutorials to setup Apache, PHP and MySQL on Mountain Lion

After installing Mountain Lion I discovered that Apple changed their settings for Apache. Here are some amazing tutorials I came across that will help you get your Mac Mountain Lion Apache PHP MySQL server up and running.

Installing Apache MySQL, PHP and setup Virtual Hosts

http://todsul.com/lamp-mac-os-x-lion

Installing and configuring Apache, MySQL, PHP and phpMyAdmin

http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

http://akrabat.com/computing/setting-up-php-mysql-on-os-x-10-8-mountain-lion/

Enabling .htaccess

http://book.cakephp.org/2.0/en/installation/advanced-installation.html#apache-and-mod-rewrite-and-htaccess

http://www.codepotato.co.uk/2012/07/25/enabling-localhost-on-os-x-mountain-lion/

Fixing httpd.conf for Server.app

http://petercompernolle.com/2012/07/26/fixing-httpdconf-in-osx-mountainlion

 

Categories
Tutorials

How to remove apps from Mac OS X Lion LaunchPad

Mac OS X Lion LaunchPad

Today I had some apps remain on LaunchPad after deleting them from the applications folder. Apple has some work to do as there was no way of removing these apps from LaunchPad except through terminal. Here is how to use Mac Terminal to remove apps from LaunchPad.

Replace APPNAME with the name of the app. It’s case sensitive.

sqlite3 ~/Library/Application\ Support/Dock/*.db “DELETE from apps WHERE title=’APPNAME’;” && killall Dock

Here’s an example removing Picassa

sqlite3 ~/Library/Application\ Support/Dock/*.db “DELETE from apps WHERE title=’Picassa’;” && killall Dock