just posting this because some n00bs always fucks it up and then ask
us how to do it.
So here are the basic steps to install Drupal on Ubuntu using Apache
1) Download Drupal here 2) unpack it into /var/www folder with tar xvzf drupal-XXX.tar.gz (where XXX is the version number)
3) p0wn your /var/www folder with: sudo chown -R your_n00b_username /var/www
4) change permissions for /var/www/sites/default
5) enable clean URL's (http://drupal.org/node/43783)
a) sudo gedit /etc/apache2/httpd.conf add the following
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
Deny from all
</Directory>
<Directory /usr/share/phpmyadmin>
Options Indexes FollowSymLinks
DirectoryIndex index.php
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 10.0.0.0/24
</Directory>
b) sudo gedit /etc/apache2/sites-enabled/000-default
change: <Directory /var/www/> Options Indexes FollowSymLinks MultiViews
AllowOverride none
to: <Directory /var/www/> Options Indexes FollowSymLinks MultiViews
AllowOverride all
3) sudo a2enmod rewrite; sudo /etc/init.d/apache2 restart
That's it :) See wasn't that hard
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the ...
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.