My getting started with Drupal
Submitted by clemens on Mon, 2008/03/17 - 12:23pm
When I want to install a new site on my laptop I do the following
- Edit /etc/hosts to add a new domain.
sudo echo test 127.0.0.12 > /etc/hosts
- Next I add a new website
vi /etc/apache2/sites-available/test
- To make the newly create site work there needs to be a directory to land on.
mkdir -p /home/me/sites/test
- We can now enable the newly created site
sudo a2ensite test sudo /etc/init.d/apache2 reload
- 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: