{"id":4053,"date":"2018-05-22T20:40:45","date_gmt":"2018-05-22T16:40:45","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-ariadne-cms\/"},"modified":"2018-05-22T20:40:45","modified_gmt":"2018-05-22T16:40:45","slug":"how-to-install-ariadne-cms-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Ariadne CMS on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>Ariadne is a free, open source, feature rich cross-platform and security-focused Content Management System written in PHP language. It is tested with more than one million objects on desktop hardware. Ariadne is stable and fully backward compatible for at least the last ten years. It comes with lot&#8217;s of features including, SVN support, DTAP support, supports multiple language sites, user and group management, import\/export of projects, builtin inline WYSIWYG editor, mobile friendly and much more.<\/p>\n<p>In this tutorial, we will learn how to install Ariadne in Ubuntu 18.04 server.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04.<\/li>\n<li>A root password is setup to your server.<\/li>\n<\/ul>\n<h2 id=\"install-lamp-server\">Install LAMP Server<\/h2>\n<p>Before starting, you will need to install Apache, MariaDB and PHP to your system. First, install Apache and MariaDB server by running the following command:<\/p>\n<p class=\"command\">apt-get install apache2 mariadb-server -y<\/p>\n<p>By default, the latest version of the PHP is not available in Ubuntu 18.04, so you will need to add the repository for that. You can add it with the following command:&lt;?p&gt;<\/p>\n<p class=\"command\">apt-get install python-software-properties -y<br \/>add-apt-repository -y ppa:ondrej\/php<\/p>\n<p>Once the repository is updated, you can install PHP and other libraries with the following command:<\/p>\n<p class=\"command\">apt-get install libapache2-mod-php7.1 php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-soap php7.1-gd php7.1-xml php7.1-intl php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-zip php7.1-curl imagemagick subversion php7.1-tidy tidy libtidy-dev -y<\/p>\n<p>Next, start Apache and MariaDB service and enable them to start on boot time using the following command:<\/p>\n<p class=\"command\">systemctl start apache2<br \/>systemctl start mysql<br \/>systemctl enable apache2<br \/>systemctl enable mysql<\/p>\n<h2 id=\"configure-mariadb\">Configure MariaDB<\/h2>\n<p>By default, MariaDB installation is not secured. So you will need to secure it first. You can do this by running the mysql_secure_installation script.<\/p>\n<p class=\"command\">mysql_secure_installation<\/p>\n<p>Answer all the questions as shown below:<\/p>\n<pre>Enter current password for root (enter for none): Enter&#13;\nSet root password? [Y\/n]: Y&#13;\nNew password: <your-password>&#13;\nRe-enter new password: <your-password>&#13;\nRemove anonymous users? [Y\/n]: Y&#13;\nDisallow root login remotely? [Y\/n]: Y&#13;\nRemove test database and access to it? [Y\/n]: Y&#13;\nReload privilege tables now? [Y\/n]: Y&#13;\n<\/your-password><\/your-password><\/pre>\n<p>Next, log into MariaDB shell with the following command:<\/p>\n<p class=\"command\">mysql -u root -p<\/p>\n<p>Enter your root password, then create a database and user for Ariadne:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE DATABASE ariadnedb;<br \/>MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON ariadnedb.* TO &#8216;ariadne&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;<\/p>\n<p>Next, flush the privileges with the following command:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;<\/p>\n<p>Finally, exit from the MariaDB shell:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; exit;<\/p>\n<h2 id=\"install-ariadne\">Install Ariadne<\/h2>\n<p>Next, download the latest version of the ariadne from their official website:<\/p>\n<p class=\"command\">wget https:\/\/codeload.github.com\/Ariadne-CMS\/ariadne\/zip\/9.7<\/p>\n<p>Once the download is completed, unzip the downloaded file with the following command:<\/p>\n<p class=\"command\">unzip 9.7<\/p>\n<p>Next, copy ariadne to the apache root directory and lib directory with the following command:<\/p>\n<p class=\"command\">cp -r ariadne-9.7\/www \/var\/www\/html\/ariadne<br \/>cp -r ariadne-9.7 \/usr\/local\/lib\/ariadne<\/p>\n<p>Next, give proper permissions to the ariadne directory:<\/p>\n<p class=\"command\">chown -R www-data:www-data \/var\/www\/html\/ariadne<br \/>chmod -R 777 \/var\/www\/html\/ariadne<br \/>chmod -R 777 \/usr\/local\/lib\/ariadne<\/p>\n<p>Next, change the directory to the ariadne and rename the ariadne configuration file:<\/p>\n<p class=\"command\">cd \/var\/www\/html\/ariadne\/<br \/>cp ariadne.inc-unix ariadne.inc<\/p>\n<p>Next, you will need to create an apache virtual host directive for ariadne. You can do this with the following command:<\/p>\n<p class=\"command\">nano \/etc\/apache2\/sites-available\/ariadne.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"c2a3a6afabac82bbadb7b0a6adafa3abaceca1adaf\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/ariadne&#13; ServerName yourdomain.com&#13; &lt;Directory \/var\/www\/html\/ariadne\/&gt;&#13;\nOptions +FollowSymLinks&#13;\nAllowOverride All&#13;\nOrder allow,deny&#13;\nallow from all&#13; &lt;\/Directory&gt;&#13; ErrorLog \/var\/log\/apache2\/ariadne-error_log&#13; CustomLog \/var\/log\/apache2\/ariadne-access_log common&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file, then enable virtual host file with the following command:<\/p>\n<p class=\"command\">a2ensite ariadne<\/p>\n<p>Finally, restart apache service to apply all the changes:<\/p>\n<p class=\"command\">systemctl restart apache2<\/p>\n<h2 id=\"access-ariadne\">Access Ariadne<\/h2>\n<p>Now, open your web browser and type the URL http:\/\/yourdomain.com, you will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts.png\" alt=\"Access Ariadne CMS\" width=\"550\" height=\"284\" title=\"\"><\/a><\/p>\n<p>Select language as per your need and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page2\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-1.png\" alt=\"Select language\" width=\"550\" height=\"284\" title=\"\"><\/a><\/p>\n<p>Make sure all the requirements of Ariadne are met, then click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-2.png\" alt=\"Accept license\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Now, accept the license agreement and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page4\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-3.png\" alt=\"Database configuration\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Here, provide your database details and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page5\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-4.png\" alt=\"Ariadne configuration\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Here, set your administrator password and click on the <strong>Next<\/strong> button to start the installation. Once the installation is completed, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-PAGE6\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/PAGE6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-5.png\" alt=\"Starting Ariadne Configuration\" width=\"550\" height=\"285\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>Next<\/strong> button, you will be redirected to the Ariadne login page as shown below:<\/p>\n<p><a class=\"fancybox\" id=\"img-page71\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page71.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-6.png\" alt=\"Login to Ariadne CMS\" width=\"550\" height=\"232\" title=\"\"><\/a><\/p>\n<p>Provide your administrator username as admin and password which you have set earlier, then click on the <strong>Login<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page8\" href=\"https:\/\/www.howtoforge.com\/images\/install_aredne_cms_on_ubuntu_1604\/big\/page8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-7.png\" alt=\"Ariadne Dashboard\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>That&#8217;s it. You have successfully installed Ariadne CMS on Ubuntu 18.04 LTS server.<\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-ariadne-cms%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-8.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-ariadne-cms%2F&amp;text=How+to+Install+Ariadne+CMS+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-9.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-10.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-ariadne-cms%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-ariadne-cms-on-ubuntu-18-04-lts-11.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ariadne is a free, open source, feature rich cross-platform and security-focused Content Management System written in PHP language. It is tested with more than one million objects on desktop hardware. Ariadne is stable and fully backward compatible for at least the last ten years. It comes with lot&#8217;s of features including, SVN support, DTAP support, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-4053","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/4053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=4053"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/4053\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=4053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=4053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=4053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}