Book Image

Drupal 7 Social Networking

Book Image

Drupal 7 Social Networking

Overview of this book

Drupal is ideally equipped to serve as a base system for creating a custom social networking site like Facebook or MySpace. While these large social networks have their place, niche social networking websites can help promote businesses, products, projects, and hobbies of any nature. Drupal 7 Social Networking provides careful instructions and clear explanations to take you through the setup and management of your social network site, covering topics from users, to marketing, to maintenance. It will help you create your own social networking site, suitable for whatever audience you choose! Starting from the very basics of both Drupal and Social Networking, right through to more complicated aspects, you will progressively learn how to add to and expand your social networking site and add more features. You will learn how to secure your social network, deploy it on the Internet, and keep it running and well maintained. As social networking sites rely on the participation of their users, this book helps you to structure your site in such a way so that users can easily and enjoyably contribute, thus creating a powerful social network.
Table of Contents (22 chapters)
Drupal 7 Social Networking
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Linux


The exact installation instructions for Linux vary depending on the distribution used; however, the following instructions should work for Ubuntu and other Debian based distributions like Debian itself. You might want to consider using a program such as VirtualBox (http://www.virtualbox.org/) to run a Linux web server on top of your Windows or Mac (or even Linux if you wish for your development environment to be virtualized) computer, to effectively test the Drupal site on a Linux environment before putting it online.

Install Apache

In order to install Apache, run the following command:

sudo apt-get install apache2

Enable the rewrite module and restart Apache

In order to enable the rewrite Apache module, run the following command:

sudo a2enmod rewrite
sudo /etc/init.d/apache2 reload

Install PHP

To install PHP, run the following command:

sudo apt-get install php5

Enable MySQL and GD

In order to enable the MySQL and GD extensions for PHP, run the following commands:

sudo apt-get install php5-mysql php5-gd
sudo /usr/sbin/apache2ctl graceful

Install MySQL

In order to install MySQL, run the following command:

sudo apt-get install mysql-server mysql-client libmysqlclient15-dev

Install phpMyAdmin

In order to install phpMyAdmin run the following command:

sudo apt-get install phpmyadmin