How-To: Make Your Own “Reddit”


Pligg Install Guide

Pligg is an open source content management system designed to work much like Digg.
It’s easy to set up and is very customizable. Packages to be used to add additional features and to make the site your own.

Step 1 – Get hosting
You can host this on your own local server running Apache, MySQL, and PHP. An easy way to get whats needed is by installing WAMP (Windows), LAMP (Linux), or MAMP (OS X).
I would recommend purchasing a hosting package if you plan on publishing your site on the internet.

Step 2 – Create a Database
Open PHPMyAdmin this is usually accessed through the cPanel on your hosting account.
Click the database tab and create a database. Remember the name of the database for the installation.
You’ll also need a user account. You can use the root account, but make sure you have a strong password in place.

Step 3 – Upload the Pligg installation
You can download the installation package from Pligg.com
Extract the directory somewhere on your local machine.
You’ll need to rename some files, I found it easier to do this before uploading, but it could be completed after as well.
List of .default extensions to remove.

  • /language/lang_english.conf.default (or any other language you plan to use)
  • /libs/dbconnect.php.default
  • /logs.default

In my video I glossed over this step, but you will need to change permissions on a Linux server.
CHMOD 755 the following directories and files after uploading:

  • /admin/backup/
  • /avatars/groups_uploaded/
  • /avatars/user_uploaded/
  • /cache/
  • /languages/ (all files contained in this folder should be CHMOD 777)
  • /logs/ (all files contained should be CHMOD 777)

CHMOD to 666 the following files:

  • /libs/dbconnect.php
  • settings.php

Step 4 – Run the install wizard
Navigate to http://hostname/pligg-cms-master/install/index.php (hostname will be whatever your host is, and pligg-cms-master will be whatever your directory you copied to.
Select our language.
Type in the database information from earlier.
Create an admin account, all fields must be filled in.

Step 5 – Cleanup
Delete the install directory it’s no longer needed.
If you are running on a Linux server CHMOD 644 libs/dbconnect.php

Step 6 – Have fun
Your site is now set up. Log in and configure the site to your liking. Since Pligg has been around for about 10 years there are lots of resources for customizing your site.

This clip appeared in episode 24 of Techspresso.

Catch up with up on Facebook: facebook.com/techspresso
Follow us on Twitter: @Techspresso

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>