How to Install Trident in Ubuntu

To install Trident in Ubuntu

Trident is an open social content management platform used for Linux distributions. It allows the users to create responsive, highly customizable and easy to manage social network websites. This article shows the installation process of Trident in Ubuntu.


Installation of Trident

First install LAMP server by using the following link,

https://www.linuxhelp.com/how-to-install-lamp-by-using-tasksel-tool-in-ubuntu/

Now download the trident package to install it.

root@linuxhelp:/home/user1/Desktop# cd /opt
root@linuxhelp:/opt# wget http://ci.boonex.com/builds/Trident-v.8.0.0-B2.zip
--2016-11-17 04:09:46--  http://ci.boonex.com/builds/Trident-v.8.0.0-B2.zip
Resolving ci.boonex.com (ci.boonex.com)... 45.33.119.230
&hellip 
&hellip 
2016-11-17 04:11:03 (299 KB/s) - ‘ Trident-v.8.0.0-B2.zip’  saved [23622215/23622215]
Extract the package
root@linuxhelp:/opt# unzip Trident-v.8.0.0-B2.zip
Archive:  Trident-v.8.0.0-B2.zip
   creating: Trident-v.8.0.0-B2/
  inflating: Trident-v.8.0.0-B2/.htaccess  
   creating: Trident-v.8.0.0-B2/cache/
.
.
.
inflating: Trident-v.8.0.0-B2/template/vote_element_block.html  
  inflating: Trident-v.8.0.0-B2/template/vote_element_inline.html  
   creating: Trident-v.8.0.0-B2/tmp/
  inflating: Trident-v.8.0.0-B2/tmp/.htaccess  
  inflating: Trident-v.8.0.0-B2/vote.php  

Once the Trident package is downloaded, create new MySQL database and set full permission.

root@linuxhelp:/opt# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 10
Server version: 5.6.28-0ubuntu0.15.04.1 (Ubuntu)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.
mysql>  CREATE DATABASE tridentdb 
Query OK, 1 row affected (0.05 sec)
mysql>  GRANT ALL PRIVILEGES ON tridentdb.* TO ' tridentuser' @' localhost'  IDENTIFIED BY ' password'  WITH GRANT OPTION 
Query OK, 0 rows affected (0.10 sec)
mysql>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.03 sec)
mysql>  exit
Bye

Here you need to create a new virtual host directive in Apache and add the following lines as shown below,

root@linuxhelp:/opt# touch /etc/apache2/sites-available/trident.conf
root@linuxhelp:/opt# ln -s /etc/apache2/sites-available/trident.conf /etc/apache2/sites-enabled/trident.conf
root@linuxhelp:/opt# nano /etc/apache2/sites-available/trident.conf

 ServerAdmin admin@yourdomain.com
 DocumentRoot /var/www/html/trident/
 ServerName linuxhelp
 ServerAlias www.yourdomain.com
 
 Options FollowSymLinks
 AllowOverride All
 
 ErrorLog /var/log/apache2/yourdomain.com-error_log
 CustomLog /var/log/apache2/yourdomain.com-access_log common

Enter your hostname in the server name option.

Restart the Apache web server to take effect:

root@linuxhelp:/opt# service apache2 restart

Now its time to move the installation file to the document root directory.

root@linuxhelp:/opt# mv /opt/Trident-v.8.0.0-B2/ /var/www/html/trident

Change the ownership for that trident directory

root@linuxhelp:/opt# chown www-data:www-data -R /var/www/html/trident/

Also change the permissions of ' ffmpeg.exe' file.

root@linuxhelp:/opt# chmod 755 /var/www/html/trident/plugins/ffmpeg/ffmpeg.exe

Open the web browser with your IP address as follows,

Check the file permissions.

Enter the Site configuration.

Set the Database configuration.

Set the user credential and click on Submit button to accomplish the installation process.

The Trident tool is installed successfully.

Once the installation is completed, open the Trident Studio via Unity dashboard.

Select the below option to create a page.

Use the following options to design your page.

FAQ
Q
Is Trident free source?
A
Trident is an open social content management platform.
Q
What is Trident?
A
Trident is an open social content management platform used for Linux distributions. It allows users to create responsive, highly customizable and easy to manage social network websites.
Q
Where the host file located in Ubuntu Server?
A
At " /etc/hosts" location open it via your favorite editors like nano or vim.
Q
I have configured separate VirtualHost with few contents for Trident but still, the web interface displays the apache default page?
A
Please check on the following

=> check with your custom document root or your index.php /index.html is given in your document root or not

=> then, verify your apache error log.
Q
Empty page none of my content of Trident is processed in the web interface, where do I check for the error?
A
Check with your apache error logs and also make sure all the required php extensions and required php version for Trident is installed or not.