{"id":17314,"date":"2015-06-10T13:52:10","date_gmt":"2015-06-10T18:52:10","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17314"},"modified":"2022-12-13T06:20:02","modified_gmt":"2022-12-13T12:20:02","slug":"how-to-install-trident-on-an-ubuntu-14-04-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-trident-on-an-ubuntu-14-04-vps\/","title":{"rendered":"How to Install Trident on an Ubuntu 14.04 VPS"},"content":{"rendered":"
In this tutorial we are going to provide you with step-by-step instructions on how to install Trident on an Ubuntu VPS<\/a><\/strong>. This install guide assumes that Apache, MySQL and PHP are already installed and configured on your server. At the time of this writing, the latest version of Trident is 8.0.<\/p>\n Download the latest version of Trident available at \u2018http:\/\/www.online.me\/page\/download\u2019 to the server and extract it using the following commands:<\/p>\n <\/p>\n Create a new MySQL database for Trident to use and assign a user to it with full permissions:<\/p>\n Note: Change ‘your-password’ with a strong password (with at least 8 characters that includes a combination of mixed case letters and numbers and special characters). then, add the following lines to it:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Move the Trident installation files to the document root directory defined in the virtual host directive above:<\/p>\n Also, the web server user (www-data) needs to be able to write to ‘inc’, ‘cache’, ‘cache_public’, ‘logs’, ‘tmp’ and ‘storage’ directories so it can easily be accomplished by running the following command:<\/p>\n Change the permissions of ‘ffmpeg.exe’ file:<\/p>\n Open your favorite web browser and navigate to your domain (i.e. http:\/\/yourdomain.com). Once you do that, you will be taken to the first screen of the Trident web installer. On the first step of the installation process, you need to add the necessary information about your Trident website paths, then enter database information:<\/p>\n Enter the site info, create a new administrator account and click ‘Submit’.<\/p>\n Setup a new cron job. For example, run the following command:<\/p>\n and add the following lines:<\/p>\n Do not forget to change ‘your@emailaddress.com’ with your actual email address, then run:<\/p>\n After finishing the installation it is strongly recommended to delete all files and subdirectories from the install directory located to your Trident document root as a security precaution, so run the following command:<\/p>\n That is it. The Trident installation is now complete. Log in to the Administrator back-end area at http:\/\/yourdomain.com\/studio to configure Trident according to your needs, add additional modules etc. and start building your Social Network website.<\/p>\n PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" In this tutorial we are going to provide you with step-by-step instructions on how to install Trident on an Ubuntu … <\/p>\n
\nTrident is one of the best open source social content management platforms. It is used to create responsive, highly customizable and easy to manage social network websites.<\/p>\ncd \/opt \r\nwget http:\/\/ci.boonex.com\/builds\/Trident-v.8.0.0-B2.zip\r\nunzip Trident-v.8.0.0-B2.zip<\/pre>\n
mysql -u root -p\r\nmysql> CREATE DATABASE tridentdb;\r\nmysql> GRANT ALL PRIVILEGES ON tridentdb.* TO 'tridentuser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\n
\nCreate a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘trident.conf’ on your virtual server<\/a>:<\/p>\ntouch \/etc\/apache2\/sites-available\/trident.conf\r\nln -s \/etc\/apache2\/sites-available\/trident.conf \/etc\/apache2\/sites-enabled\/trident.conf<\/pre>\n
vi \/etc\/apache2\/sites-available\/trident.conf<\/pre>\n
<VirtualHost *:80>\r\n ServerAdmin admin@yourdomain.com\r\n DocumentRoot \/var\/www\/html\/trident\/\r\n ServerName yourdomain.com\r\n ServerAlias www.yourdomain.com\r\n <Directory \/var\/www\/html\/trident\/>\r\n Options FollowSymLinks\r\n AllowOverride All\r\n <\/Directory>\r\n ErrorLog \/var\/log\/apache2\/yourdomain.com-error_log\r\n CustomLog \/var\/log\/apache2\/yourdomain.com-access_log common\r\n<\/VirtualHost><\/pre>\n
service apache2 restart<\/pre>\n
mv \/opt\/Trident-v.8.0.0-B2\/ \/var\/www\/html\/trident<\/pre>\n
chown www-data:www-data -R \/var\/www\/html\/trident\/<\/pre>\n
chmod 755 \/var\/www\/html\/trident\/plugins\/ffmpeg\/ffmpeg.exe<\/pre>\n
Database host name: localhost\r\nDatabase host port number: 3306\r\nDatabase name: tridentdb\r\nDatabase user: tridentuser\r\nDatabase password:your-password<\/pre>\n
crontab -e<\/pre>\n
MAILTO=your@emailaddress.com\r\n* * * * * \/usr\/bin\/php -q \/var\/www\/html\/trident\/periodic\/cron.php<\/pre>\n
service cron restart<\/pre>\n
rm -rf \/var\/www\/html\/trident\/install\/<\/pre>\n
\nOf course you don’t have to do any of this if you use one of our Managed Ubuntu VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Trident<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n