Installing Tribiq CMS
1. Download from http://tribiq.com
Download the Tribiq CMS package (.zip or .tar.gz) onto the target machine (this can be your desktop or a webserver). You may have to download the package to another machine and then upload it via FTP to your webserver. It is unwise to edit the files in the package.
You can run Tribiq CMS either in the root of a domain, e.g.
http://www.yourtribiqsite.com/
or in a subdirectory, e.g.
http://www.yourtribiqsite.com/tribiq/
2. Unpack the archive
If you are working with on a local machine, use a utility to unzip (like Winzip on Windows). Mac users, double-click to open.
If you are working in Linux command-line, then use a utility like tar, e.g.
tar xvfz Community-5.0.11.tar.gz
3. Create a MySQL Database
If your ISP has a control panel, you may be able to create a MySQL database yourself. Otherwise may need to ask for a MySQL database to be created for you.
We suggest you call your database "mytribiqsite_5011", replacing the "5011" according to the latest version of Tribiq that you are installing. This will make future upgrading easier.
You will also need to create a database user, we suggest you call this 'tribiqcms'.
How to create a MySQL database from the Linux command line
If you have MySQL command-line console access as the mysql 'root' user, you can create a database like this:
mysql> CREATE DATABASE mytribiqsite_5011 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
(Don't type the 'mysql> ' part, this is the prompt which you should see.)
Then create the database user, like this:
mysql> GRANT ALL ON mytribiqsite_5011.* TO tribiqcms@locahost IDENTIFIED BY 'password';
4. Permit the Installer to write the config files
On Windows, you probably won't need to do anything.
On a Linux/Un*x system, you will need to grant write-permission to certain files and directories. First change directory to your main Tribiq CMS directory, for example:
cd tribiq
Then set the correct permissions like this:
chmod 777 tmp_downloads
chmod 666 siteconfigs/global.php
chmod 666 siteconfigs/mysitename.php
(tmp_downloads is a folder from which CMS Documents will be temporarily stored while users download them.)
5. Create the Docstore, Dropbox and Backup directories
In order to store Doucment Uploads, your CMS needs a Docstore directory. In addition, when you upload Documents (via FTP or via the CMS directly), it needs a temporary Dropbox in which to store them.
The CMS allows you to password-protect Documents. Therefore these directories must be kept outside of your webserver's Document Root.
However, if your ISP doesn't allow you to have any directories other than your 'web' directory, then you may create the Docstore and Dropbox inside your web directory. We just don't recommend this.
To make the directories, change to a directory above the "tribiq" directory, e.g.:
cd ..
Then create the directories:
mkdir docstore
mkdir dropbox
mkdir backup
Now set the permissions to allow the CMS to write to the folders:
chmod 777 docstore
chmod 777 dropbox
chmod 777 backup
6. Use your browser to run the Installer
You should go to http://www.yourtribiqsite.com (or if you have a subdirectory add /tribiq/ or so) in your browser. Tribiq CMS will detect that it hasn't been configured yet. You should see this:
Welcome to Tribiq CMS
Tribiq CMS has not yet been installed.
After a few moments, this screen will refresh to the Start Installation screen.
Follow the installer instructions. If all is well, you should find this takes just a couple of minutes.
After a successful install, you should remove the "install" directory:
cd tribiq
rm -rf install
Top of Page