O'Reilly logo

Mahara ePortfolios Beginner's Guide by Derrin Kent, Thomas Bell, Richard Hand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — setting up the data directory

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

  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. Set the permissions on this folder, using the chmod command:
    chmod -R 0777 uploaddir
    
    
  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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required