{"id":18935,"date":"2016-07-22T07:56:01","date_gmt":"2016-07-22T12:56:01","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18935"},"modified":"2022-06-03T03:42:46","modified_gmt":"2022-06-03T08:42:46","slug":"install-bigtree-on-a-centos-7-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-bigtree-on-a-centos-7-vps\/","title":{"rendered":"Install BigTree on CentOS 7"},"content":{"rendered":"
BigTree CMS is an open source content management system (CMS) built on PHP and MySQL. It is very extensible applications with user friendly interface and it is very easy to use. The latest version of BigTree CMS requires PHP version 5.3 or higher and MySQL version 5 or higher. BigTree is developed almost exclusively on the Apache web server but it can run on IIS 7 and 8 too. In this article we will guide you through the installation of BigTree CMS on a CentOS 7 VPS<\/a> with Apache, PHP and MariaDB.<\/p>\n BigTree comes with tons of useful features such as:<\/p>\n <\/p>\n To start the installation, login to your CentOS 7 server as user root<\/p>\n and run the following command in your terminal to update all installed packages<\/p>\n Next, install Apache web server<\/p>\n Once the installation of the web server is completed, start it and make it to start automatically on boot.<\/p>\n BigTree is a PHP based application, so we need to install PHP with the ‘mysqli’ and the ‘gd’ extensions installed<\/p>\n Install MariaDB server on your CentOS 7 machine running the following command<\/p>\n Once the installation is completed start the MariaDB server and set it to start on system boot<\/p>\n Then, run the BigTree requires an empty database, so login to the MariaDB server with the root user and create a new user and database that will be used by BigTree<\/p>\n Don\u2019t forget to replace \u2018PASSWORD\u2019 with an actual strong password.<\/p>\n Go to BigTree’s official website<\/a> and download the latest version of the content management system. At the moment of writing this blog article it is version 4.2.11\u00a0 Upload the downloaded ZIP archive to your server via FTP or sFTP. Once it is uploaded, unpack the archive to the document root directory of your server<\/p>\n Set the Apache user to be owner of the BigTree files and directories<\/p>\n Now, create Apache virtual host for your BigTree based website. Create \u2018\/etc\/httpd\/conf.d\/vhosts.conf\u2019 file with the following content:<\/p>\n Create a ‘vhosts.d\/’ directory<\/p>\n and create the virtual host with the following content<\/p>\n Save the file and restart the Apache web server for the changes to take effect.<\/p>\n With this step the installation from the command line is completed. Now, open a web browser and navigate it to Of course you don\u2019t have to do any of this if you use one of our Blazing-Fast VPS Hosting services<\/a>, in which case you can simply ask our expert Linux admins to install BigTree CMS for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/strong> <\/span>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":" BigTree CMS is an open source content management system (CMS) built on PHP and MySQL. It is very extensible applications … <\/p>\n\n
ssh root@IP<\/pre>\n
yum -y update<\/pre>\n
yum -y install httpd<\/pre>\n
systemctl start httpd\r\nsystemctl enable httpd<\/pre>\n
yum -y install php php-gd php-mysql<\/pre>\n
yum -y install mariadb mariadb-server<\/pre>\n
systemctl start mariadb\r\nsystemctl enable mariadb<\/pre>\n
mysql_secure_installation<\/code> script. This script will help you to improve the security of your MariaDB installation and set your MariaDB root password.<\/p>\n
mysql -u root -p\r\n\r\nCREATE DATABASE bigtree;\r\nCREATE USER 'bigtreeuser'@'localhost' IDENTIFIED BY 'PASSWORD';\r\nGRANT ALL PRIVILEGES ON `bigtree`.* TO 'bigtreeuser'@'localhost';\r\nFLUSH PRIVILEGES;\r\nexit<\/pre>\n
mkdir \/var\/www\/html\/bigtree\r\nunzip BigTreeCMS-4.2.11.zip -d \/var\/www\/html\/bigtree<\/pre>\n
chown -R apache: \/var\/www\/html\/bigtree\/<\/pre>\n
IncludeOptional vhosts.d\/*.conf<\/pre>\n
mkdir \/etc\/httpd\/vhosts.d\/<\/pre>\n
vim \/etc\/httpd\/vhosts.d\/yourdomain.com.conf\r\n\r\n<VirtualHost YOUR_SERVER_IP:80>\r\nServerAdmin webmaster@yourdomain.com\r\nDocumentRoot \"\/var\/www\/html\/bigtree\/\"\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\nErrorLog \"\/var\/log\/httpd\/yourdomain.com-error_log\"\r\nCustomLog \"\/var\/log\/httpd\/yourdomain.com-access_log\" combined\r\n\r\n<Directory \"\/var\/www\/html\/bigtree\/\">\r\nDirectoryIndex index.html index.php\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nRequire all granted\r\n<\/Directory>\r\n<\/VirtualHost><\/pre>\n
systemctl restart httpd<\/pre>\n
http:\/\/yourdomain.com\/install.php<\/code> to run the web installer and follow the on-screen installation process to complete the BigTree CMS installation.<\/p>\n