{"id":18888,"date":"2016-03-28T15:58:27","date_gmt":"2016-03-28T20:58:27","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18888"},"modified":"2022-12-13T08:50:10","modified_gmt":"2022-12-13T14:50:10","slug":"how-to-install-webasyst-on-centos","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-webasyst-on-centos\/","title":{"rendered":"How to install Webasyst on CentOS"},"content":{"rendered":"
\u00a0Webasyst is an open source PHP framework used by web developers for creating sleek multi-user web applications with a back-end and a front-end. It is a framework which combines web publishing tools, blogging and e-commerce with enterprise collaboration platform.<\/p>\n
This install guide assumes that Apache, MySQL and PHP are already installed and configured on your server. At the time of writing this tutorial, the latest stable version of Webasyst framework is 1.5.6.17 and it requires:<\/p>\n
<\/p>\n
Let’s start with the installation of the Webasyst framework.<\/p>\n
Download the latest version of Webasyst available at ‘https:\/\/www.webasyst.com\/download\/framework\/’ to a directory on the server and extract it using the following commands:<\/p>\n
cd \/opt\/\r\nwget https:\/\/www.webasyst.com\/download\/framework\/ -O webasyst.tar.gz<\/pre>\nExtract the archive and move the Webasyst framework files to the document root directory of your website:<\/p>\n
mkdir -p \/opt\/webasyst\r\ntar -xvzf webasyst.tar.gz -C \/opt\/webasyst\r\nmv \/opt\/webasyst \/var\/www\/html\/<\/pre>\nThe web server user (Apache) needs to be able to write to certain files and directories, so you can easily accomplish that by executing the following command:<\/p>\n
chown apache:apache -R \/var\/www\/html\/webasyst<\/pre>\nLocate the php configuration file using the following command:<\/p>\n
#php -i | grep php.ini\r\nConfiguration File (php.ini) Path => \/etc\r\nLoaded Configuration File => \/etc\/php.ini<\/pre>\nEdit the \u2018php.ini\u2019 file and enable the URL-aware fopen wrappers that enable accessing URL object like files<\/span> by adding the following line:<\/p>\n
allow_url_fopen = On<\/pre>\nCreate a new virtual host directive in Apache. For example, edit your Apache configuration file (\u2018\/etc\/httpd\/conf\/httpd.conf\u2019 by default) and un-comment the following line:
\n#NameVirtualHost *:80
\nThen, add the following lines at the end:<\/p>\n<VirtualHost server_IP:80>\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/webasyst\/\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\n<Directory \/var\/www\/html\/webasyst\/>\r\n Options FollowSymLinks\r\n AllowOverride All\r\n<\/Directory>\r\n ErrorLog logs\/yourdomain.com-error_log\r\n CustomLog logs\/yourdomain.com-access_log common\r\n<\/VirtualHost><\/pre>\nRestart the Apache web server for the changes to take effect:<\/p>\n
service httpd restart<\/pre>\nCreate a new MySQL database for Webasyst to use and assign a user to it with full permissions:<\/p>\n
mysql> CREATE DATABASE webasystdb;\r\nmysql> GRANT ALL PRIVILEGES ON webasystdb.* TO 'webasystuser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\nOpen your favorite web browser, navigate to http:\/\/yourdomain.com , start the installation process and follow the easy instructions: enter connection credentials for the MySQL database which will be used by Webasyst to store system and application data, then create a new user account.
\nLog in to the administration back-end of the Webasyst framework and configure it according to your needs, add users, widgets, plugins etc.<\/p>\n
\nThat is it. The Webasyst installation is now complete.
\nOf course you don\u2019t have to do any of this if you use one of our Managed PHP Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Webasyst<\/strong> for you. They are available 24×7 and will take care of your request immediately.<\/p>\nPS.<\/strong><\/span> If you liked this post please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n
<\/p>\n","protected":false},"excerpt":{"rendered":"
\u00a0Webasyst is an open source PHP framework used by web developers for creating sleek multi-user web applications with a back-end … <\/p>\n