{"id":30095,"date":"2019-03-29T12:42:35","date_gmt":"2019-03-29T17:42:35","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=30095"},"modified":"2022-12-12T06:38:12","modified_gmt":"2022-12-12T12:38:12","slug":"how-to-install-open-web-analytics-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/","title":{"rendered":"How to Install Open Web Analytics on Ubuntu 18.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-full wp-image-30134 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg\" alt=\"Install Open Web Analytics on Ubuntu\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>Open Web Analytics (OWA) is an open-source analytic platform, written in PHP. The main purpose of this application is to analyze and monitor how people use your web pages or applications, which then provides you with analytics data for your website. This application can provide you with a complete analysis of a website or app to let you know exactly how your web pages work, and what needs to be improved on. OWA web analytics is used when you want full control over the analysis of your web pages without using third-party services, such as Google Analytics, Hotjar, OmniConvert, etc. This application also comes with built-in support for tracking websites running on the most popular content management frameworks, such as on our <a href=\"https:\/\/www.rosehosting.com\/wordpress-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress Hosting<\/a> and <a href=\"https:\/\/www.rosehosting.com\/mediawiki-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">MediaWiki Hosting<\/a>. In this article, we will show you how to install Open Web Analytics (OWA) on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 18.04 Server<\/a>.<!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a25539630317\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a25539630317\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#1-Connect-to-your-server\" >1. Connect to your server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#2-Install-MariaDB-Database-Server-and-Create-a-Database-for-OWA\" >2. Install MariaDB Database Server and Create a Database for OWA<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#3-Install-Apache2-HTTP-Server-on-Ubuntu\" >3. Install Apache2 HTTP Server on Ubuntu<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#4-Install-PHP-72-and-Related-Modules\" >4. Install PHP 7.2 and Related Modules<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#5-Download-and-Install-Open-Web-Analytics\" >5. Download and Install Open Web Analytics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#6-Configure-a-Virtual-Host-for-the-OWA-Site\" >6. Configure a Virtual Host for the OWA Site<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#7-OWA-installation-wizard\" >7. OWA installation wizard<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Connect-to-your-server\"><\/span>1. Connect to your server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before we begin, you need to connect to your server via SSH as the root user. To do this, use the following command:<\/p>\n<pre>ssh root@IP_Address -p port_number<\/pre>\n<p>Of course, you will need to replace <code>IP_Address<\/code> and <code>port_number<\/code> with your actual server IP address and SSH port number.<\/p>\n<p>Once logged in, make sure that your server is up-to-date by running the following commands:<\/p>\n<pre>sudo apt update\r\nsudo apt upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-Install-MariaDB-Database-Server-and-Create-a-Database-for-OWA\"><\/span>2. Install MariaDB Database Server and Create a Database for OWA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Since a database server is one of the prerequisites needed to run Open Web Analytics, we will install <a href=\"https:\/\/www.rosehosting.com\/mariadb-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">MariaDB<\/a>, which is a great open-source database server. Type the following command to install MariaDB onto your server:<\/p>\n<pre>sudo apt install mariadb-server mariadb-client<\/pre>\n<p>Once MariaDB is installed on your server, you can use the commands below to stop, start, and enable the MariaDB service.<\/p>\n<pre>sudo systemctl stop mariadb.service\r\nsudo systemctl start mariadb.service\r\nsudo systemctl enable mariadb.service<\/pre>\n<p>The next command is optional. You can run the command if you want to secure your MariaDB server by disallowing remote root access, removing the test database, and setting a root password.<\/p>\n<pre>sudo mysql_secure_installation<\/pre>\n<p>When prompted, answer the questions below by following this guide.<\/p>\n<pre>Enter current password for root (enter for none): <strong>Since no password is currently set, just press Enter once.<\/strong>\r\nSet root password? [Y\/n]: <strong>Y<\/strong>\r\nNew password: <strong>Enter your password<\/strong>\r\nRe-enter new password: <strong>Repeat your password<\/strong>\r\nRemove anonymous users? [Y\/n]: <strong>Y<\/strong>\r\nDisallow root login remotely? [Y\/n]: <strong>Y<\/strong>\r\nRemove test database and access to it? [Y\/n]: <strong>Y<\/strong>\r\nReload privilege tables now? [Y\/n]: <strong>Y<\/strong><\/pre>\n<p>Restart the MariaDB server, so the changes will take effect.<\/p>\n<pre>sudo systemctl restart mariadb.service<\/pre>\n<p>You should now be able to log in to your MariaDB server with the command:<\/p>\n<pre>sudo mysql -u root -p<\/pre>\n<p>Then type the password you created above to sign in. Once you are in the MariaDB shell, you can use the following command and create a database called <code>owa_db<\/code> for the OWA application.<\/p>\n<pre>CREATE DATABASE owa_db;<\/pre>\n<p>Then create a database user called <code>owa_user<\/code> and replace <code>Str0n9Pas$worD<\/code> with your own password.<\/p>\n<pre>CREATE USER 'owa_user'@'localhost' IDENTIFIED BY 'Str0n9Pas$worD';<\/pre>\n<p>To grant the user <code>owa_user<\/code> with full access to the database <code>owa_db<\/code>, run this command:<\/p>\n<pre>GRANT ALL ON owa_db.* TO 'owa_user'@'localhost' IDENTIFIED BY 'Str0n9Pas$worD' WITH GRANT OPTION;<\/pre>\n<p>Again, remember to change\u00a0<code>Str0n9Pas$worD<\/code>\u00a0with the password that you used in the previous command.<\/p>\n<p>Now you can use the <code>flush privileges<\/code> command to reload the grant tables &#8211; after that is done, you can then exit from the MariaDB shell.<\/p>\n<pre>FLUSH PRIVILEGES;\r\nEXIT;<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-Apache2-HTTP-Server-on-Ubuntu\"><\/span>3. Install Apache2 HTTP Server on Ubuntu<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to run OWA, you need a web server that will serve the webpages. Apache2 is among the most popular web servers in use, and in this tutorial, Apache2 is our choice of web server.<\/p>\n<p>Execute the following command to install Apache2:<\/p>\n<pre>sudo apt install apache2<\/pre>\n<p>Use the commands below to start, stop, and enable the Apache service:<\/p>\n<pre>sudo systemctl stop apache2.service\r\nsudo systemctl start apache2.service\r\nsudo systemctl enable apache2.service<\/pre>\n<p>To confirm that Apache2 is installed properly, you can open your preferred web browser and type your server&#8217;s IP address or your domain (we assume that it is already pointed to your server) and you should be able to view the default welcome page of the Apache2 web server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4-Install-PHP-72-and-Related-Modules\"><\/span>4. Install PHP 7.2 and Related Modules<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>OWA requires PHP 5.2.x or higher &#8211; so, in this tutorial, we chose to use PHP version 7.2. However, PHP 7.2 may not be available in the pre-installed Ubuntu repositories &#8211; therefore, if you want to install and use this version of PHP, you will need to get it from a third-party repository. By running the commands below, you will add Ond\u0159ej Sur\u00fd\u2019s PPA, which has the version of PHP that we need:<\/p>\n<pre>sudo apt-get install software-properties-common\r\nsudo add-apt-repository ppa:ondrej\/php<\/pre>\n<p>Then, update and upgrade the PHP packages to PHP 7.2<\/p>\n<pre>sudo apt update<\/pre>\n<p>If you want to install PHP 7.2 together with the modules that are required for running the OWA, then run this command:<\/p>\n<pre>sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-curl php7.2-mbstring php7.2-xmlrpc php7.2-mysql php7.2-gd php7.2-xml php7.2-cli<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Download-and-Install-Open-Web-Analytics\"><\/span>5. Download and Install Open Web Analytics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Use the commands below to change the directory to <strong><code>\/opt<\/code><\/strong> and download Open Web Analytics.<\/p>\n<pre>cd \/opt\r\nwget https:\/\/github.com\/padams\/Open-Web-Analytics\/archive\/1.6.2.zip<\/pre>\n<p>Unzip the contents and move the files to the <strong><code>\/var\/www\/html\/owa<\/code><\/strong> directory:<\/p>\n<pre>unzip 1.6.2.zip\r\nsudo mv Open-Web-Analytics-1.6.2 \/var\/www\/html\/owa<\/pre>\n<p>Change the permissions:<\/p>\n<pre>sudo chown -R www-data:www-data \/var\/www\/html\/owa\/\r\nsudo chmod 755 \/var\/www\/html\/owa\/<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Configure-a-Virtual-Host-for-the-OWA-Site\"><\/span>6. Configure a Virtual Host for the OWA Site<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once we installed Apache, we can continue and create a virtual host for the domain name that we want to use. In the following command, we will use nano as our editor &#8211; however, if nano isn&#8217;t your preferred text editor, you can use any editor of your choice and create a new configuration file called <code>owa.conf<\/code>.<\/p>\n<pre>sudo nano \/etc\/apache2\/sites-available\/owa.conf<\/pre>\n<p>Paste the Apache configuration from below into the file, and replace <code>your_domain_name.com<\/code> with your actual domain name:<\/p>\n<pre>&lt;VirtualHost *:80&gt;\r\nServerAdmin admin@your_domain_name.com\r\nDocumentRoot \/var\/www\/html\/owa\r\nServerName <code>your_domain_name.com<\/code> &lt;Directory \/var\/www\/html\/owa\/&gt; Options FollowSymlinks AllowOverride All Require all granted &lt;\/Directory&gt; ErrorLog ${APACHE_LOG_DIR}\/error.log CustomLog ${APACHE_LOG_DIR}\/access.log combined &lt;\/VirtualHost&gt;<\/pre>\n<p>Once you are finished with editing the file, save and close it.<\/p>\n<p>Now that you have configured the virtual host, you can disable the default Apache virtual host, and enable the OWA virtual host.<\/p>\n<p>Disable the default Apache virtual host with this command:<\/p>\n<pre>sudo a2dissite 000-default<\/pre>\n<p>then, enable the OWA virtual host:<\/p>\n<pre>sudo a2ensite owa.conf<\/pre>\n<p>also, you need to make sure that the mod <code>rewrite<\/code> is enabled:<\/p>\n<pre>sudo a2enmod rewrite<\/pre>\n<p>Restart Apache so that \u00a0the changes will take effect:<\/p>\n<pre>sudo systemctl restart apache2.service<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-OWA-installation-wizard\"><\/span>7. OWA installation wizard<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In this part of the tutorial, we will install OWA via a web browser. Open your preferred web browser and type your domain:<\/p>\n<pre><code>http:\/\/your_domain_name.com\/<\/code><\/pre>\n<p>You should be able to see the &#8216;Welcome to the Installer&#8217; page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-30099 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-welcome-to-the-installer.png\" alt=\"\" width=\"851\" height=\"465\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-welcome-to-the-installer.png 851w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-welcome-to-the-installer-150x82.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-welcome-to-the-installer-300x164.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-welcome-to-the-installer-768x420.png 768w\" sizes=\"(max-width: 851px) 100vw, 851px\" \/><\/p>\n<p>Click on the <code>'Let's Get Started...'<\/code> button so that you can continue with the OWA installation. On the next page, insert the database connection info and create an admin account, so you can manage the application through the back-end.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-30100 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-configuration-settings.png\" alt=\"\" width=\"872\" height=\"908\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-configuration-settings.png 872w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-configuration-settings-144x150.png 144w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-configuration-settings-288x300.png 288w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-configuration-settings-768x800.png 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>When you are finished with entering the necessary information, click on the <code>'Continue...'<\/code> button. The next page will allow you to create a superuser account that can manage the platform.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-30101 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-default-site-and-user-information.png\" alt=\"\" width=\"832\" height=\"542\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-default-site-and-user-information.png 832w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-default-site-and-user-information-150x98.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-default-site-and-user-information-300x195.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-default-site-and-user-information-768x500.png 768w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/p>\n<p>Congratulations! You have successfully installed Open Web Analytics on your server. You can now log in using the username and password you created, and generate the tracker.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-30103 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-Login-screen.png\" alt=\"\" width=\"449\" height=\"523\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-Login-screen.png 449w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-Login-screen-129x150.png 129w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-Login-screen-258x300.png 258w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Once logged in, you can see the tracking code that you&#8217;ll need to add to the web page that you want to track.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-30104 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end.png\" alt=\"\" width=\"1903\" height=\"1098\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end.png 1903w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end-150x87.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end-300x173.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end-768x443.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end-1024x591.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/OWA-back-end-1080x623.png 1080w\" sizes=\"(max-width: 1903px) 100vw, 1903px\" \/><\/p>\n<p>In order for OWA to function properly, you need to add the code to each page of your website.\u00a0You can find the list of web sites that are being tracked at <code><strong>http:\/\/your_domain_name.com\/index.php<\/strong><\/code><\/p>\n<p>In this article, we showed you how to install Apache2, PHP 7.2, the MariaDB Database Server, then we created the OWA database and installed the Open Web Analytics application. Now, you can begin exploring this useful application.<\/p>\n<hr \/>\n<p>Of course, if you are one of our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu Hosting<\/a> customers, you don\u2019t have to install Open Web Analytics on your Ubuntu 18.04 VPS \u2013 simply ask our admins, sit back, and relax. Our admins will install and configure Open Web Analytics on Ubuntu 18.04 for you immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong>.<\/span> If you liked this post on\u00a0<strong>how to install Open Web Analytics on an Ubuntu 18.04 VPS<\/strong>, please share it with your friends on the social networks using the share buttons below, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open Web Analytics (OWA) is an open-source analytic platform, written in PHP. The main purpose of this application is to &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Open Web Analytics on Ubuntu 18.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#more-30095\" aria-label=\"Read more about How to Install Open Web Analytics on Ubuntu 18.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":30134,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[1787,1282,1281,59],"class_list":["post-30095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-analytics","tag-open-web-analytics","tag-owa","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Open Web Analytics on Ubuntu 18.04\" \/>\n<meta property=\"og:description\" content=\"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-29T17:42:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-12T12:38:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Open Web Analytics on Ubuntu 18.04\",\"datePublished\":\"2019-03-29T17:42:35+00:00\",\"dateModified\":\"2022-12-12T12:38:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/\"},\"wordCount\":1156,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/install-owa-ubuntu18.jpg\",\"keywords\":[\"Analytics\",\"Open Web Analytics\",\"owa\",\"ubuntu\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/\",\"name\":\"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/install-owa-ubuntu18.jpg\",\"datePublished\":\"2019-03-29T17:42:35+00:00\",\"dateModified\":\"2022-12-12T12:38:12+00:00\",\"description\":\"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/install-owa-ubuntu18.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/install-owa-ubuntu18.jpg\",\"width\":742,\"height\":372,\"caption\":\"Install Open Web Analytics on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Open Web Analytics on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting","description":"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Open Web Analytics on Ubuntu 18.04","og_description":"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-03-29T17:42:35+00:00","article_modified_time":"2022-12-12T12:38:12+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Open Web Analytics on Ubuntu 18.04","datePublished":"2019-03-29T17:42:35+00:00","dateModified":"2022-12-12T12:38:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/"},"wordCount":1156,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg","keywords":["Analytics","Open Web Analytics","owa","ubuntu"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/","name":"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg","datePublished":"2019-03-29T17:42:35+00:00","dateModified":"2022-12-12T12:38:12+00:00","description":"How to Install Open Web Analytics on Ubuntu 18.04 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-owa-ubuntu18.jpg","width":742,"height":372,"caption":"Install Open Web Analytics on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Open Web Analytics on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=30095"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30095\/revisions"}],"predecessor-version":[{"id":44136,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30095\/revisions\/44136"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/30134"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=30095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=30095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=30095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}