My getting started with Drupal

When I want to install a new site on my laptop I do the following

  1. Edit /etc/hosts to add a new domain.
    sudo echo test > /etc/hosts
  2. Next I add a new website
    vi /etc/apache2/sites-available/test
  3. To make the newly create site work there needs to be a directory to land on.
    mkdir -p /home/me/sites/test
  4. We can now enable the newly created site
    sudo a2ensite test
    sudo /etc/init.d/apache2 reload
  5. Now test whether both domain and website are working
    ping test
    wget test

Now suppose the directory /home/me/sites/test is actually a symlink to drupal? Then it become easier to install 10 sites with another few tricks.

free form: