Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mahara ePortfolios: Beginner's Guide

You're reading from   Mahara ePortfolios: Beginner's Guide Create your own ePortfolio and communities of interest within an educational and professional organization with this book and ebook

Arrow left icon
Product type Paperback
Published in Jul 2012
Publisher Packt
ISBN-13 9781849517768
Length 328 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Mahara ePortfolios Beginner's Guide
Credits
About the Authors
About the Reviewers
1. www.PacktPub.com
2. Preface
1. What can Mahara do for you? FREE CHAPTER 2. Getting Started with Mahara 3. Create and Collect Content 4. Organize and Showcase your Portfolio 5. Share and Network in Groups 6. Course Groups and Other Roles in Mahara 7. Mahara Extensions Mahara Implementation Pre-Planner Installing Mahara Pop quiz — Answers

Time for action — setting up the data directory


Let's see how easy it is to set up your data directory:

  1. 1. Make the data directory outside of the public folder of your home directory. Create the directory using the mkdir command and call it uploaddir:

    mkdir uploaddir
    
    

    Note

    It doesn't really matter what you decide to call your dataroot directory, but try and choose a name that is relevant to what the directory is doing. The name suggested by Mahara and most commonly used is uploaddir, but other names such as maharadata would be just as good.

  2. 2. Set the permissions on this folder, using the chmod command:

    chmod -R 0777 uploaddir
    
    
  3. 3. Change the user of the new directory to be the same as your server, using the chown command. The user is usually apache or www-data:

    chown -R www-data:www-data uploaddir
    
    
  4. 4. And that's all there is to it, you now have a place where Mahara can put all of the stuff belonging to your users.

What just happened?

You just created your data directory and made sure that it was in a safe place in your home directory outside of the htdocs directory. Then you changed the permissions, users, and groups for the directory to make it easy for Mahara to put things in and to delete things.

Let's take a quick look at the file structure that you have just created for your Mahara installation:

So far, you have downloaded and put the Mahara files into place on your server, and seen how to create the database and dataroot needed to store all the Mahara information.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime