Skip to main content

How To install Drupal 6.1x on FreeBSD 7.1-REL

Our Prerequisites:   Get FreeBSD 7.1-REL   FreeBSD 7.1-REL, MySQL 5.x, PHP 5.x, Apache 2.x

 

Drupal is an excellent Content Management System. It's many very popular sites you're familiar with. For more information visit http://drupal.org/

This tutorial installs Drupal version 6.14 on our FreeBSD 7.1 server. It probably works with 6.4, 6.2 and many Linux systems. Read through the whole thing first to make sure you have everything required for setup. Then go back and run the install. Your particular system has different setups then ours so make note of it..

Side note: I'm installing this on our own Server because we have a public IPs and can host it ourselves. So, use whatever you use to create a database for Drupal to use. In our case I used phpMyAdmin to create the database.

Download Drupal 6.14 for install:

Browse to: http://drupal.org and click the download link.
In my case I downloaded drupal-6.14.tar.gz , copied it to my local machine and moved it to a folder that serves as the development directory for a site that is hosted on our server. Then I just use Dreamweaver to upload it to the server.

In many, many other cases you probably have a host that offers One Click Installs for a variety of "Free" apps.. Check out the CPanel or what your host provides.
 

 

Install Drupal 6.14:

So, I've uploaded the drupal-6.14.tar.gz to my local folder on the server that hosts the site I'd like to install it on. I could have used the ports collection to install Drupal but in this case our server hosts a couple of domains and I like the option to have each domain run they're own instance of Drupal.

prompt% tar -xvf drupal-6.14.tar.gz
prompt% cd drupal-6.14
prompt% mv * ../ <-- Moves everything up a directory so Drupal starts from the root folder.
prompt% cd ..

Now surf to that site. ie. http://www."where we installed drupal.com" --more here if you trail it off the main domain..

We put ours off root so its http://www.unixug.com/weBlog/

Click "Install Drupal in English"

Next Page

/* **This is a real-bad quick fix** ,.. */

Got some errors so lets fix those..

prompt% cd ./sites/default/
prompt% cp default.settings.php settings.php
prompt% su root
prompt# chown www settings.php
prompt# chgrp www settings.php

prompt# mkdir files
prompt# chown -R www files
prompt# chgrp -R www files
 

Click on "Try Again"

Worked.. Setup up your database and then the Main Site info page and you're done.

Note about the .htaccess files..

 

All done. Good Luck.

 

Originally all howto's, config, setups, and supporting documentation was researched and compiled so we could find working solutions for our own particular environment. We primarily run and develop FreeBSD 7.2, 6.4, and Mac OS X 10.4, 10.6 Clients and servers. From this point on we'll include links or copies to resources we've drawn from. We'll always make a concerted effort to give credit where credit is due.

Thank You for visiting we hope you find this site useful in your network projects.

Ren Blevins

Your rating: None Average: 1 (1 vote)