How to set up wildcard Apache virtual host and a wildcard DNS

How to set up wildcard Apache virtual host and a wildcard DNS 1. Set up catchall vhost Enable Apache’s vhost_alias module: sudo a2enmod vhost_alias Create /etc/apache2/sites-available/catchall <VirtualHost *:80> ServerAlias localhost *.dev #wildcard catch all VirtualDocumentRoot /path/to/your/workspace/%1/public UseCanonicalName Off <Directory "path/to/your/workspace"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from...
Continue reading »

How to Remove MySQL Server in ubuntu 12.04?

How to completely remove Mysql installation in Ubuntu 12.04 Using the Apt command. sudo apt-get –purge remove mysql-server sudo apt-get –purge remove mysql-client sudo apt-get –purge remove mysql-common sudo apt-get autoremove sudo apt-get autoclean Find all the files with “mysql” on / and delete them: sudo find /...
Continue reading »