Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Before installing Totara Social it is recommended that you read the guidance on server hardware and software requirements to ensure you have the necessary infrastructure. After that you can follow the steps and advice on this page to work through the installation process before enjoying your Totara Social site.
Preparing to install Totara Social
Totara Social is primarily targeted at installations on Linux (with Apache) platforms. You need to install Totara Social on a server and you will also need to install other software, such as the Apache web server and PostgreSQL database system. You can also use the MySQL database server for this.
Tip |
---|
You can use your desktop computer as a server if you are just trialling the Totara Social software. |
You can also install Totara Social on other platforms, such as Windows platform, there is more guidance on this further down the page.
For information about other platforms, consult with your Totara Partner.
Installing Totara Social on a Linux platform
Follow these instructions to install your Totara Social software onto a Linux (with Apache) platform. These instructions are split up into several stages.
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Copy the software to my Linux webserverConsult with your Totara Partner or read the Totara website for further details about how to obtain the Totara Social software code.
OR
Create the Totara Social databaseThe following instructions describe how to create your Totara Social database and connect it to your webserver.
Instructions for the command line for Postgres and MySQL are as follows: Command line instructions for Postgres<#Run these commands while su'd to the 'postgres' user> Command line instructions for MySQLmysql --user=root -p
Create the Dataroot Directory on my webserverTotara Social will write the files that are uploaded to it, as well as some other files it needs to run, to this directory.
You should now have a directory structure something like this: .../yourusername/public_html Create Totara Social's config.phpTo create Totara Social's config.php file, locate the file config-dist.php in the Totara Social htdocs directory and make a copy called config.php. This is the file you will now update with your own config settings. Take a look through the config.php file and make the necessary changes to meet your local needs. The file is commented throughout so that you can find which settings to change.
Take note of the following settings: Database connection detailsFor these, insert the proper values for $cfg->dbname, $cfg->dbuser, $cfg->dbpass
DatarootSet this as the filesystem path for your dataroot directory on your webserver.
Directory permissionsIf you are on a server where you do not have root access, you should change this from 0700 to 0777 or similar. This will enable you to download your dataroot later for backup purposes, and install language packs. Configure ApacheUse this section to configure your Apache webserver. If you are on shared hosting, you probably do not have access to this and can, therefore, ignore this step.
Issues when setting up Server AliasesTotara Social expects to be accessed through one URL only. You should, therefore, not create Server Aliases for your Apache configuration. This ensures that cookies are set for the right domain and that SSL certificates for the networking functionality can be generated for this same URL. Alternative option to creating a Server AliasInstead of setting up a Server Alias, you could set up a second VirtualHost directive, which will allow both example.org and www.example.org to work.
Run the Command-Line Interface InstallerThe command-line installation and upgrade toolset provides an excellent alternative to the web-based installer. What if an error occurs during the installation process?There can be a number of reasons why the installation process could be stopped with an error.
Check email is workingCheck that Totara Social is able to send emails by registering onto your Totara Social site and confirming that you receive a registration message. If email is not workingIf you get an error message telling you that the registration attempt was unsuccessful, consider the following solutions:
Set up a Cron JobThe following is a high-level explanation about setting up a Cron Job. The Cron Job schedules commands or scripts to run periodically at fixed times, dates, or intervals. Why do I need to set up a Cron Job?The Cron Job tells Totara Social to run various commands that work a number of functions. Examples include:
Where do I set up my Cron job?You may want to set up a Cron job to access htdocs/lib/cron.php every minute. For more information, see the separate section setting up Cron. Secure my Totara Social installationTake a look at the options in Totara Social in the Administration Menu/Security Settings to enable a number of ways to protect your site. Example settings include, virus scanning and extra spam protections.First steps following installationFollowing the installation of Totara Social, there are some initial Site administration set-up tasks to complete. These are around configuring the site to your preferences, including installing language packs and themes. You can learn more about how to do these in the Site administration guide.Totara Social CommunityAccess the Totara Partners Area in the Totara Community site at for further help and advice from other Totara Social users and the Totara Social support team. |
Installing Totara Social on a Windows platform
Anchor | ||||
---|---|---|---|---|
|
Follow these instructions to install your Totara Social software onto a Windows platform, using the WampServer.
Expand | ||||||
---|---|---|---|---|---|---|
Copy the software to my WampServerConsult with your Totara Partner or read the Totara website for further details about how to obtain the Totara Social software code.
Create the Data Directory in my WampServerCreate the Data Directory for Totara Social inside the WampServer installation directory so that you have a subdirectory which looks like C:\wamp\data Create the config.php file in my WampServerTo create Totara Social's config.php file, locate the file config-dist.php in the Totara Social htdocs directory and make a copy called config.php. This is the file you will now update with your own config settings. Take a look through the config.php file and make the necessary changes to meet your local needs. The file is commented throughout so you can find which settings to change. You will see these values:
Create the Totara Social database on my WampServerBefore launching Totara Social, you need to create the database with the same name that you specified in the config.php file. Your Totara Social database must be UTF8 encoded. Follow these instructions to set one up:
Complete the installation on my WampServerOnce your database is created, there is just one final task to complete the installation of Totara Social on your WampServer.
Check email is workingCheck that Totara Social is able to send emails by registering onto your Totara Social site and confirming that you receive a registration message. If email is not workingIf you get an error message telling you that the registration attempt was unsuccessful, consider the following solutions:
Set up a Cron JobThe following is a high-level explanation about setting up a Cron Job. The Cron Job schedules commands or scripts to run periodically at fixed times, dates, or intervals. For more information, see the separate section setting up Cron. Why do I need to set up a Cron Job?The Cron Job tells Totara Social to run various commands that work a number of functions. Examples include:
Where do I set up my Cron job?You may set up a Cron job to access htdocs/lib/cron.php every minute. Totara Social then implements its own Cron internally, so accessing Cron every minute is sufficient to make everything work. For more information, see the separate section setting up Cron. Secure your Totara Social installationTake a look at the options in Totara Social in the Administration Menu/Security Settings to enable a number of ways to protect your site. Example settings include, virus scanning and extra spam protections.First steps following installationFollowing the installation of Totara Social, there are some initial Site administration set-up tasks to complete. These are around configuring the site to your preferences, including installing language packs and themes. You can learn more about how to do these in the Site administration guide.Totara Social CommunityAccess the Totara Partners Area in the Totara Community site at for further help and advice from other Totara Social users and the Totara Social support team. |
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|