{"id":17284,"date":"2015-06-26T14:22:55","date_gmt":"2015-06-26T19:22:55","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17284"},"modified":"2022-12-16T03:58:01","modified_gmt":"2022-12-16T09:58:01","slug":"install-novius-os-on-a-centos-7-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-novius-os-on-a-centos-7-vps\/","title":{"rendered":"Install Novius OS on a CentOS 7 VPS"},"content":{"rendered":"
Novius OS is an open source cross-channel content management system designed as an applications platform. In this blog article we will explain how to install Novius OS on a CentOS 7 VPS<\/a> with Apache, PHP and MariaDB,<\/p>\n <\/p>\n Log in to your server as user root and make sure that all packages are up to date<\/p>\n Novius OS needs a blank SQL database, so we will install MariaDB server<\/p>\n Start the MariaDB database server and enable the service at boot time<\/p>\n Run the \u2018mysql_secure_installation\u2019 post installation script to secure MariaDB and set your MariaDB root password<\/p>\n Log in to the MariaDB server using the \u2018root\u2019 user and create new database and user<\/p>\n Next, we will install Apache web server<\/p>\n Start the Apache web server and add it to automatically start on the system start-up<\/p>\n Install PHP and few PHP modules<\/p>\n Change the current working directory to Apache’s document root directory.<\/p>\n Download and execute Novius OS’s installation script using the following command<\/p>\n You will be prompted to enter an installation directory for Novius OS. If you want to use the default ‘novius-os’ directory just press enter and wait the installation process to complete.<\/p>\n Change the owner of the ‘novius-os’ directory<\/p>\n PHP configuration directive ‘short_open_tag’ must be on in order to run Novius OS, so we need to edit the PHP configuration file. Execute the following command to find the location of the file<\/p>\n We need to edit the loaded configuration file. Open the ‘\/etc\/php.ini’ file and make sure that the ‘short_open_tag’ directive is set to ‘On’.<\/p>\n In order to access Novius OS using your domain name, you need to create Apache virtual host. Create \u2018\/etc\/httpd\/conf.d\/vhosts.conf\u2019 directory with the following content<\/p>\n Create the virtual host<\/p>\n and restart Apache for the changes to take effect.<\/p>\n Open you favourite web browser, navigate to http:\/\/yourdomain.tld\/ and follow the steps of the setup wizard to complete the installation.<\/p>\n Once everything is completed, execute the following commands<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Novius OS 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":" Novius OS is an open source cross-channel content management system designed as an applications platform. In this blog article we … <\/p>\nyum -y update<\/pre>\n
yum install mariadb mariadb-server<\/pre>\n
systemctl start mariadb\r\nsystemctl enable mariadb<\/pre>\n
mysql -u root -p\r\nCREATE DATABASE noviusos;\r\nCREATE USER 'noviusosuser'@'localhost' IDENTIFIED BY 'PASSWORD';\r\nGRANT ALL PRIVILEGES ON `noviusos`.* TO 'noviusosuser'@'localhost';\r\nFLUSH PRIVILEGES;<\/pre>\n
yum install httpd<\/pre>\n
systemctl start httpd\r\nsystemctl enable httpd<\/pre>\n
yum install php php-mysql php-common<\/pre>\n
cd \/var\/www\/html\/<\/pre>\n
wget http:\/\/raw.github.com\/novius-os\/ci\/master\/dubrovka\/tools\/install.sh && sh install.sh<\/pre>\n
chown -R apache:apache novius-os\/<\/pre>\n
php --ini\r\n\r\nConfiguration File (php.ini) Path: \/etc\r\nLoaded Configuration File: \/etc\/php.ini\r\nScan for additional .ini files in: \/etc\/php.d<\/pre>\n
vim \/etc\/httpd\/conf.d\/vhosts.conf<\/pre>\n
IncludeOptional vhosts.d\/*.conf<\/pre>\n
vim \/etc\/httpd\/vhosts.d\/yourdomain.tld.conf\r\n\r\n\r\nServerAdmin webmaster@yourdomain.tld\r\nDocumentRoot \"\/var\/www\/html\/yourwebsite\"\r\nServerName yourdomain.tld\r\nServerAlias www.yourdomain.tld\r\nErrorLog \"\/var\/log\/httpd\/yourdomain.tld-error_log\"\r\nCustomLog \"\/var\/log\/httpd\/yourdomain.tld-access_log\" combined\r\n\r\n<Directory \"\/var\/www\/html\/yourdomain.tld\/\">\r\nDirectoryIndex index.html index.php\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nRequire all granted\r\n\r\n<\/pre>\n
systemctl restart httpd<\/pre>\n
rm \/var\/www\/html\/novius-os\/public\/htdocs\/install.php\r\nchmod og-w \/var\/www\/html\/novius-os\/local\/config<\/pre>\n