{"id":30202,"date":"2019-05-01T13:32:10","date_gmt":"2019-05-01T18:32:10","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=30202"},"modified":"2022-12-12T06:32:28","modified_gmt":"2022-12-12T12:32:28","slug":"how-to-install-open-web-analytics-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/","title":{"rendered":"How to Install Open Web Analytics on Debian 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-30618\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.jpg\" alt=\"How to Install Open Web Analytics on Debian 9\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we will show you how to install\u00a0Open Web Analytics on a <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian 9 VPS<\/a>.<\/p>\n<p>Open Web Analytics is an open-source traffic analysis tool that helps website owners analyze how visitors use their websites. Open Web Analytics also allows owners to track their website&#8217;s visitors, including mouse movements, scrolling, and key-presses. <img decoding=\"async\" class=\"alignright wp-image-30619\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/installing-open-web-analytics-on-debian9.png\" alt=\"Installing Open Web Analytics on Debian 9\" width=\"164\" height=\"90\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/installing-open-web-analytics-on-debian9.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/installing-open-web-analytics-on-debian9-150x83.png 150w\" sizes=\"(max-width: 164px) 100vw, 164px\" \/>Additionally, Open Web Analytics has built-in support for tracking websites that are created with popular content management systems, such as WordPress and MediaWiki.<\/p>\n<p><!--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-6a2554707ef2f\" 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-6a2554707ef2f\"  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-debian-9\/#Prerequisites\" >Prerequisites:<\/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-debian-9\/#Step-1-Log-in-to-the-server-update-your-server-OS-Packages\" >Step 1: Log in to the server update your server OS Packages<\/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-debian-9\/#Step-2-Install-Apache\" >Step 2: Install Apache<\/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-debian-9\/#Step-3-Enable-the-Apache-%E2%80%98Rewrite-Module\" >Step 3: Enable the Apache &#8216;Rewrite&#8217; Module<\/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-debian-9\/#Step-4-Install-PHP-and-Required-PHP-extensions\" >Step 4: Install PHP and Required PHP extensions<\/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-debian-9\/#Step-5-Configure-PHP\" >Step 5: Configure PHP<\/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-debian-9\/#Step-6-Create-a-Virtual-Host-in-Apache\" >Step 6: Create a Virtual Host in Apache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#Step-7-Install-MariaDB\" >Step 7: Install MariaDB<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#Step-8-Create-a-Database-for-OWA\" >Step 8: 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-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#Step-9-Install-Open-Web-Analytics\" >Step 9: Install\u00a0Open Web Analytics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#Step-10-Install-and-Enable-Open-Web-Analytics-on-a-WordPress-website\" >Step 10: Install and Enable Open Web Analytics on a WordPress website<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A VPS running Debian 9. For this tutorial, we&#8217;ll be using one of our <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian SSD 1 VPS<\/a>es.<\/li>\n<li>Access to the root user, or a user with sudo privileges.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-to-the-server-update-your-server-OS-Packages\"><\/span>Step 1: Log in to the server update your server OS Packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your Debian 9 server with SSH as the root user, or as a user that has sudo privileges:<\/p>\n<pre>ssh root@IP_Address -p Port_number<\/pre>\n<p>Before we can start with the installation of Open Web Analytics, we have to make sure that all Debian OS packages installed on the server are up-to-date. We can do this by running the following commands:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-Apache\"><\/span>Step 2: Install Apache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Apache is a user-friendly and highly popular web server available on almost all Linux distributions. This is the web server we will be using for this tutorial.<\/p>\n<p>First, check whether Apache is already installed and running on your Debian server:<\/p>\n<pre>ps aux | grep apache2<\/pre>\n<p>We can also check if there are Apache2 packages installed on the server:<\/p>\n<pre>dpkg -l | grep apache2<\/pre>\n<p>If Apache is already installed on the server, we can skip the Apache installation steps and proceed with step 4, which is installing PHP.<br \/>\nIf Apache is not installed on your system, we can install it using:<\/p>\n<pre>apt-get install apache2<\/pre>\n<p>Once installed, start the Apache server and enable it to start on server boot:<\/p>\n<pre>systemctl start apache2\r\nsystemctl enable apache2<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-Enable-the-Apache-%E2%80%98Rewrite-Module\"><\/span>Step 3: Enable the Apache &#8216;Rewrite&#8217; Module<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Enable Apache&#8217;s <code>rewrite<\/code> module, if not already enabled:<\/p>\n<pre>a2enmod rewrite<\/pre>\n<p>Restart the Apache service for the changes to take effect:<\/p>\n<pre>systemctl restart apache2<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-4-Install-PHP-and-Required-PHP-extensions\"><\/span>Step 4: Install PHP and Required PHP extensions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The default PHP version available from the official Debian 9 repository is PHP 7.0. Install PHP 7.0, along with some PHP extensions that are required for Open Web Analytics to function correctly:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get install php7.0 php7.0-common php7.0-curl php7.0-gd php7.0-curl php7.0-dom php7.0-mysql php7.0-intl\r\nsudo a2enmod php7.0<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-5-Configure-PHP\"><\/span>Step 5: Configure PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Locate the PHP configuration file:<\/p>\n<pre>php -c \/etc\/php\/7.0\/apache2\/ -i |grep \"Loaded Configuration File\"<\/pre>\n<p>The output should be something like this:<\/p>\n<pre>Loaded Configuration File =&gt; \/etc\/php\/7.0\/apache2\/php.ini<\/pre>\n<p>Edit the <code>php.ini<\/code> configuration file using your preferred text editor:<\/p>\n<pre>vi \/etc\/php\/7.0\/apache2\/php.ini<\/pre>\n<p>Add\/modify the following options:<\/p>\n<pre>memory_limit = 256M \r\nfile_uploads = On\t\r\nallow_url_fopen = On\r\nallow_url_include = Off\r\npost_max_size 32M\r\nupload_max_filesize = 8M\t\r\nmax_execution_time = 300\r\ndefault_charset = \"UTF-8\"\r\ndate.timezone = \"America\/Chicago\"<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-6-Create-a-Virtual-Host-in-Apache\"><\/span>Step 6: Create a Virtual Host in Apache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to be able to access Open Web Analytics using a domain name, we need to create a virtual host in Apache for your domain.<\/p>\n<p><strong>Note:<\/strong> you must already have a domain registered and set up for your server.<\/p>\n<p>Open the file using your preferred text editor:<\/p>\n<pre>vi \/etc\/apache2\/sites-available\/<span style=\"color: #ff0000;\">your-domain.com<\/span>.conf<\/pre>\n<p>Then add the following content to the file:<\/p>\n<pre>&lt;VirtualHost *:80&gt;\r\n\r\nServerAdmin admin@<span style=\"color: #ff0000;\">your-domain.com<\/span>\r\nServerName <code>your-domain.com<\/code>\r\nServerAlias <code>www.your-domain.com<\/code>\r\nDocumentRoot \/var\/www\/html\/<span style=\"color: #ff0000;\">your-domain.com<\/span>\r\n\r\n&lt;Directory \/var\/www\/html\/<span style=\"color: #ff0000;\">your-domain.com<\/span>&gt;\r\n     Options Indexes FollowSymLinks\r\n     AllowOverride All\r\n     Require all granted\r\n&lt;\/Directory&gt;\r\n\r\nErrorLog ${APACHE_LOG_DIR}\/<span style=\"color: #ff0000;\">your-domain.com<\/span>_error.log \r\nCustomLog ${APACHE_LOG_DIR}\/<span style=\"color: #ff0000;\">your-domain.com<\/span>_access.log combined \r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Remember to replace &#8216;your-domain.com&#8217; with your actual domain name.<\/p>\n<p>To enable the virtual host that we have just created, run the following command:<\/p>\n<pre>a2ensite <span style=\"color: #ff0000;\">your-domain.com<\/span>.conf<\/pre>\n<p>Then, disable the default Apache configuration:<\/p>\n<pre>a2dissite 000-default.conf<\/pre>\n<p>Restart Apache service for the changes to take effect:<\/p>\n<pre>systemctl restart apache2<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-7-Install-MariaDB\"><\/span>Step 7: Install MariaDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We will use MariaDB as a database engine. We can install MariaDB server from the Debian 9 base repository using the following commands:<\/p>\n<pre>sudo apt-get install mariadb-server-10.1 mariadb-server-core-10.1<\/pre>\n<p>If desired, you can further improve the security of your MariaDB server by running a command that will go through a few questions.<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>We suggest answering every question with the character &#8216;Y&#8217; for yes.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-8-Create-a-Database-for-OWA\"><\/span>Step 8: Create a Database for OWA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Create a MySQL database for the Open Web Analytics website:<\/p>\n<pre>mysql -u root -p<\/pre>\n<pre>MariaDB [(none)]&gt; CREATE DATABASE owa;\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON owa.* TO 'owa'@'localhost' IDENTIFIED BY 'Password';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; exit;<\/pre>\n<p>Don\u2019t forget to replace \u2018Password\u2019 with an actual strong password.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-9-Install-Open-Web-Analytics\"><\/span>Step 9: Install\u00a0Open Web Analytics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Download the latest version of\u00a0OWA, available at (http:\/\/downloads.openwebanalytics.com) and extract it to the document root directory of your website ( e.g \/var\/www\/html\/your-domain.com).<\/p>\n<p>Our example below has the link for the latest version at the time of writing already set up:<\/p>\n<pre>cd \/opt\/\r\nwget https:\/\/github.com\/padams\/Open-Web-Analytics\/archive\/1.6.2.tar.gz\r\ntar -xvzf 1.6.2.tar.gz\r\nmkdir -p \/var\/www\/html\/your-domain.com\/owa\/\r\nmv \/opt\/Open-Web-Analytics-*\/* \/var\/www\/html\/your-domain.com\/owa\/\r\nchown -R www-data:www-data \/var\/www\/html\/your-domain.com\/owa\/\r\nrm  1.6.2.tar.gz<\/pre>\n<p>Open <code>http:\/\/your-domain.com\/owa\/<\/code> in a web browser and and follow the on-screen instructions:<\/p>\n<p>Click on the &#8220;Let&#8217;s Get Started&#8221; button, and on the next page enter the following information for the MySQL database:<\/p>\n<ul>\n<li>Database Host: localhost<\/li>\n<li>Database Name: owa<\/li>\n<li>Database User: owa<\/li>\n<li>Database Password: enter the password of your &#8216;owa&#8217; MySQL user (in this tutorial, it is set to Password).<\/li>\n<\/ul>\n<p>Click &#8216;Continue&#8217;.<\/p>\n<p>On the next page, enter the the domain of the website to track, your email address and set a password for the OWA admin user. Click &#8216;Continue&#8217;.<\/p>\n<p>That&#8217;s it. The Open Web Analytics installation is complete.<\/p>\n<p>You can now log in to the OWA administrator back-end and create a tracker for your website.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-30204\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end-1024x475.png\" alt=\"owa back-end\" width=\"1024\" height=\"475\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end-1024x475.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end-150x70.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end-300x139.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end-768x356.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end-1080x500.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/owa-back-end.png 1748w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-10-Install-and-Enable-Open-Web-Analytics-on-a-WordPress-website\"><\/span>Step 10: Install and Enable Open Web Analytics on a WordPress website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>OWA can easily be installed and enabled on a WordPress website. Simply follow these steps:<\/p>\n<p>Download the latest version of OWA in the &#8216;plugins&#8217; directory of your WordPress website, for example:<\/p>\n<pre>cd \/opt\/\r\nwget https:\/\/github.com\/padams\/Open-Web-Analytics\/archive\/1.6.2.tar.gz\r\ntar -xvzf 1.6.2.tar.gz\r\nmkdir -p \/<span style=\"color: #ff0000;\">path-to-the-wordpress-website<\/span>\/wp-content\/plugins\/owa\/\r\nmv \/opt\/Open-Web-Analytics-*\/* \/<span style=\"color: #ff0000;\">path-to-the-wordpress-website<\/span>\/wp-content\/plugins\/owa\/\r\nchown -R www-data:www-data \/<span style=\"color: #ff0000;\">path-to-the-wordpress-website<\/span>\/wp-content\/plugins\/owa\/<\/pre>\n<p>Do not forget to replace &#8216;path-to-the-wordpress-website&#8217; with the actual path to the document root directory of your WordPress website.<br \/>\nLog in to your WordPress backend and activate the plugin. This will create all of the required database tables with the owa_ prefix in the same database that WordPress is using. Open Web Analytics will immediately start tracking all of the WordPress-generated webpages and feeds. Also, there are many OWA options which can be configured according to your needs. These options are available under the main options tab in the WordPress back-end.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft wp-image-30620\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-open-web-analytics-on-debian9-vps.png\" alt=\"Install Open Web Analytics on a Debian 9 VPS\" width=\"153\" height=\"84\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-open-web-analytics-on-debian9-vps.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-open-web-analytics-on-debian9-vps-150x83.png 150w\" sizes=\"(max-width: 153px) 100vw, 153px\" \/>Of course, you don\u2019t have to install Open Web Analytics on Debian 9, if you use one of our\u00a0<a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Managed Debian Hosting<\/a> solutions, in which case you can simply ask our expert Linux admins to set up and configure Open Web Analytics on Debian 9 for you. They are available 24\u00d77 and will take care of your request immediately.<br \/>\n<span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post on <strong>how to install Open Web Analytics on a Debian 9 VPS<\/strong>, please share it with your friends on the social networks using the share shortcuts below, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install\u00a0Open Web Analytics on a Debian 9 VPS. Open Web Analytics &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Open Web Analytics on Debian 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#more-30202\" aria-label=\"Read more about How to Install Open Web Analytics on Debian 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":30618,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13],"tags":[48,1282,1281],"class_list":["post-30202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-debian","tag-open-web-analytics","tag-owa","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 Debian 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Open Web Analytics on Debian 9 | 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-debian-9\/\" \/>\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 Debian 9\" \/>\n<meta property=\"og:description\" content=\"How to Install Open Web Analytics on Debian 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/\" \/>\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-05-01T18:32:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-12T12:32:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.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=\"6 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-debian-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Open Web Analytics on Debian 9\",\"datePublished\":\"2019-05-01T18:32:10+00:00\",\"dateModified\":\"2022-12-12T12:32:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/\"},\"wordCount\":964,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-open-web-analytics-on-debian9.jpg\",\"keywords\":[\"debian\",\"Open Web Analytics\",\"owa\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/\",\"name\":\"How to Install Open Web Analytics on Debian 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-open-web-analytics-on-debian9.jpg\",\"datePublished\":\"2019-05-01T18:32:10+00:00\",\"dateModified\":\"2022-12-12T12:32:28+00:00\",\"description\":\"How to Install Open Web Analytics on Debian 9 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-open-web-analytics-on-debian9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-open-web-analytics-on-debian9.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install Open Web Analytics on Debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-open-web-analytics-on-debian-9\\\/#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 Debian 9\"}]},{\"@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 Debian 9 | RoseHosting","description":"How to Install Open Web Analytics on Debian 9 | 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-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Open Web Analytics on Debian 9","og_description":"How to Install Open Web Analytics on Debian 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-05-01T18:32:10+00:00","article_modified_time":"2022-12-12T12:32:28+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Open Web Analytics on Debian 9","datePublished":"2019-05-01T18:32:10+00:00","dateModified":"2022-12-12T12:32:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/"},"wordCount":964,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.jpg","keywords":["debian","Open Web Analytics","owa"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/","name":"How to Install Open Web Analytics on Debian 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.jpg","datePublished":"2019-05-01T18:32:10+00:00","dateModified":"2022-12-12T12:32:28+00:00","description":"How to Install Open Web Analytics on Debian 9 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-open-web-analytics-on-debian9.jpg","width":742,"height":372,"caption":"How to Install Open Web Analytics on Debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-open-web-analytics-on-debian-9\/#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 Debian 9"}]},{"@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\/30202","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=30202"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30202\/revisions"}],"predecessor-version":[{"id":44134,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30202\/revisions\/44134"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/30618"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=30202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=30202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=30202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}