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 — creating the config.php file

Now, you have to hold Mahara's hand by letting it know how it can access the database and how to find the dataroot. To do this, you use an important file called config.php:

  1. In the htdocs folder of your Mahara site, you will find a file called config-dist.php. Use the nano command in your terminal to start editing the config-dist.php file:
    nano config-dist.php
    
    

    Note

    Other Linux people use much more sophisticated text editors such as Vim (http://www.vim.org/) and emacs (http://www.gnu.org/software/emacs/). We are simple folk and are perfectly happy with nano — http://www.nano-editor.org/.

  2. Now, you will see the file open on the command line. Use the down arrow key on your keyboard to scroll down the page ...

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