<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Analytics Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/analytics/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 06 Sep 2019 21:05:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install Open Web Analytics on RHEL / CentOS 8</title>
		<link>https://www.osradar.com/install-open-web-analytics-rhel-centos-8/</link>
					<comments>https://www.osradar.com/install-open-web-analytics-rhel-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Fri, 06 Sep 2019 21:05:01 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Web analytics]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13336</guid>

					<description><![CDATA[<p>Open Web Analytics (OWA) is an open-source web analytics software created by Peter Adams. OWA is written in PHP and uses a MySQL database, which makes it compatible for running with a LAMP solution stack on various web servers. OWA is comparable to Google Analytics, though OWA is server software anyone can install and run [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-open-web-analytics-rhel-centos-8/">Install Open Web Analytics on RHEL / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Open Web Analytics (OWA) is an open-source web analytics software created by Peter Adams. OWA is written in PHP and uses a MySQL database, which makes it compatible for running with a LAMP solution stack on various web servers. OWA is comparable to Google Analytics, though OWA is server software anyone can install and run on their own host, while Google Analytics is a software service offered by Google. So, OWA supports tracking with WordPress and MediaWiki, two popular web site frameworks. This application helps you keep track of and observe the influx of views on your website. The program also tracks your competitors and their company&#8217;s growth compared to yours.</p>
<p>So get ready and in this guide, you will learn how to install OWA on your server and set up your own web analytics tool.</p>
<h2>Step 1: Install Apache, PHP</h2>
<p>First, Install Apache webserver. As the root user, run the following commands</p>
<pre>dnf install httpd -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13341" src="https://www.osradar.com/wp-content/uploads/2019/09/1-300x180.png" alt="" width="678" height="407" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/1.png 1280w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<p>Now start and enable apache service on boot.</p>
<pre>systemctl start httpd

systemctl enable httpd</pre>
<p><img loading="lazy" class="alignnone wp-image-13342" src="https://www.osradar.com/wp-content/uploads/2019/09/2-300x56.png" alt="" width="675" height="126" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-768x143.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-1024x190.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-696x129.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-1068x199.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>Adding Apache ports in the firewall.</p>
<pre>firewall-cmd --add-port={80/tcp,443/tcp} --permanent
firewall-cmd --reload</pre>
<p><img loading="lazy" class="alignnone wp-image-13343" src="https://www.osradar.com/wp-content/uploads/2019/09/3-300x51.png" alt="" width="671" height="114" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-1024x174.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-696x119.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-1068x182.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3.png 1280w" sizes="(max-width: 671px) 100vw, 671px" /></p>
<p>Then, install PHP</p>
<pre>dnf install php php-common php-pecl-apcu php-curl php-gd php-xml php-json php-pcntl php-zip php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-opcache php-xml -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13344" src="https://www.osradar.com/wp-content/uploads/2019/09/4-300x180.png" alt="" width="668" height="401" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/4.png 1280w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>Install MYSQL</p>
<pre>dnf install mysql-server -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13345" src="https://www.osradar.com/wp-content/uploads/2019/09/5-1-300x180.png" alt="" width="677" height="406" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/5-1.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Start and enable MYSQL service on boot.</p>
<pre>systemctl start mysqld
systemctl enable mysqld</pre>
<p><img loading="lazy" class="alignnone wp-image-13347" src="https://www.osradar.com/wp-content/uploads/2019/09/6-1-300x51.png" alt="" width="676" height="115" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-1-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-1-768x130.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-1-1024x173.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-1-696x117.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-1-1068x180.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-1.png 1280w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>Secure the MYSQL installation using the mysql_secure_installation script:</p>
<pre>mysql_secure_installation</pre>
<p>Set root password? [Y/n] Y<br />
New password: password<br />
Re-enter new password: password<br />
Remove anonymous users? [Y/n] Y<br />
Disallow root login remotely? [Y/n] Y<br />
Remove test database and access to it? [Y/n] Y<br />
Reload privilege tables now? [Y/n] Y</p>
<p><img loading="lazy" class="alignnone wp-image-13348" src="https://www.osradar.com/wp-content/uploads/2019/09/7-2-300x180.png" alt="" width="678" height="407" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/7-2.png 1280w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<p>After Database server installation, create database and user for OWA.</p>
<p>Then, log into the MySQL console using below command and type your password when asked.</p>
<pre>mysql -u root -p</pre>
<p>now create a new database</p>
<pre>CREATE DATABASE openweb;</pre>
<p>Now create a new MySQL user and grant it privileges on the created database. You can replace username and password with the username and password of your own choice.</p>
<p>CREATE USER &#8216;database_user&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;user_password&#8217;;<br />
GRANT ALL PRIVILEGES ON database_name.* TO &#8216;database_user&#8217;@&#8217;localhost&#8217;;</p>
<p>Exit the MySQL console.</p>
<pre>exit</pre>
<p><img loading="lazy" class="alignnone wp-image-13349" src="https://www.osradar.com/wp-content/uploads/2019/09/7-7-300x180.png" alt="" width="672" height="403" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-7-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-7-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-7-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-7-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-7-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-7-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/7-7.png 1280w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<h2>Step 2: Install Open Web Analytics</h2>
<p>First, install wget.</p>
<pre>dnf install wget -y</pre>
<p>Create owa directory ins /var/www/html/ path</p>
<pre>mkdir /var/www/html/owa</pre>
<p><img loading="lazy" class="alignnone wp-image-13350" src="https://www.osradar.com/wp-content/uploads/2019/09/8-1-300x39.png" alt="" width="677" height="88" srcset="https://www.osradar.com/wp-content/uploads/2019/09/8-1-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/8-1-768x99.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/8-1-1024x132.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/8-1-696x90.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/8-1-1068x138.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/8-1.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Switch into owa directory</p>
<pre>cd /var/www/html/owa</pre>
<p><img loading="lazy" class="alignnone wp-image-13351" src="https://www.osradar.com/wp-content/uploads/2019/09/9-1-300x39.png" alt="" width="677" height="88" srcset="https://www.osradar.com/wp-content/uploads/2019/09/9-1-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/9-1-768x99.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/9-1-1024x132.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/9-1-696x90.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/9-1-1068x138.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/9-1.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>After that, Download Open Web Analytics (OWA)</p>
<pre>wget https://github.com/padams/Open-Web-Analytics/archive/1.6.2.tar.gz</pre>
<p><img loading="lazy" class="alignnone wp-image-13352" src="https://www.osradar.com/wp-content/uploads/2019/09/10-1-300x107.png" alt="" width="676" height="241" srcset="https://www.osradar.com/wp-content/uploads/2019/09/10-1-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/10-1-768x274.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/10-1-1024x366.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/10-1-696x248.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/10-1-1068x381.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/10-1-1176x420.png 1176w, https://www.osradar.com/wp-content/uploads/2019/09/10-1.png 1280w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>Uncompress Downloaded archive and move its content in owa directory.</p>
<pre>tar xvf 1.6.2.tar.gz
cd Open-Web-Analytics*/
mv * /var/www/html/owa
cd ..
ls</pre>
<p><img loading="lazy" class="alignnone wp-image-13353" src="https://www.osradar.com/wp-content/uploads/2019/09/11-300x83.png" alt="" width="676" height="187" srcset="https://www.osradar.com/wp-content/uploads/2019/09/11-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/11-768x213.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/11-1024x284.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/11-696x193.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/11-1068x296.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/11.png 1280w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>Now set appropriate permissions for apache on owa directory.</p>
<pre>chown -R apache:apache /var/www/html/owa/</pre>
<p>Create and activate SELinux policy</p>
<pre>semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/owa(/.*)?"
restorecon -Rv /var/www/html/owa</pre>
<p><img loading="lazy" class="alignnone wp-image-13354" src="https://www.osradar.com/wp-content/uploads/2019/09/12-300x55.png" alt="" width="676" height="124" srcset="https://www.osradar.com/wp-content/uploads/2019/09/12-300x55.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/12-768x140.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/12-1024x187.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/12-696x127.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/12-1068x195.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/12.png 1280w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>So, restart Apache service</p>
<pre>systemctl restart httpd</pre>
<h2>Step 3: Access Open Web Analytics (OWA) Web Interface</h2>
<p>Open your browser and browse the path http://SERVER-IP/owa</p>
<p><img loading="lazy" class="alignnone wp-image-13355" src="https://www.osradar.com/wp-content/uploads/2019/09/13-300x191.png" alt="" width="672" height="428" srcset="https://www.osradar.com/wp-content/uploads/2019/09/13-300x191.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/13-768x490.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/13-696x444.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/13.png 909w, https://www.osradar.com/wp-content/uploads/2019/09/13-658x420.png 658w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<p>Click on “Let’s Get Started” and proceed to installation. Enter database details on the next page.</p>
<p><img loading="lazy" class="alignnone wp-image-13356" src="https://www.osradar.com/wp-content/uploads/2019/09/14-300x154.png" alt="" width="660" height="339" srcset="https://www.osradar.com/wp-content/uploads/2019/09/14-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/14-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/14-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/14-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/14-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/14-818x420.png 818w, https://www.osradar.com/wp-content/uploads/2019/09/14.png 1366w" sizes="(max-width: 660px) 100vw, 660px" /></p>
<p>Now type your domain name and set login credentials for OWA and click &#8220;Continue&#8221;</p>
<p><img loading="lazy" class="alignnone wp-image-13357" src="https://www.osradar.com/wp-content/uploads/2019/09/15-300x195.png" alt="" width="658" height="428" srcset="https://www.osradar.com/wp-content/uploads/2019/09/15-300x195.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/15-768x500.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/15-696x453.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/15-645x420.png 645w, https://www.osradar.com/wp-content/uploads/2019/09/15.png 876w" sizes="(max-width: 658px) 100vw, 658px" /></p>
<p>Then you will see below screen with success and your login information. Click on &#8220;Login and generate a site tracker&#8221;</p>
<p><img loading="lazy" class="alignnone wp-image-13358" src="https://www.osradar.com/wp-content/uploads/2019/09/16-300x195.png" alt="" width="666" height="433" srcset="https://www.osradar.com/wp-content/uploads/2019/09/16-300x195.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/16-768x499.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/16-696x452.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/16-646x420.png 646w, https://www.osradar.com/wp-content/uploads/2019/09/16.png 882w" sizes="(max-width: 666px) 100vw, 666px" /></p>
<p>So, you will be redirected to the login page, enter your login details</p>
<p><img loading="lazy" class="alignnone wp-image-13359" src="https://www.osradar.com/wp-content/uploads/2019/09/17-300x197.png" alt="" width="665" height="437" srcset="https://www.osradar.com/wp-content/uploads/2019/09/17-300x197.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/17-768x503.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/17-696x456.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/17-741x486.png 741w, https://www.osradar.com/wp-content/uploads/2019/09/17-641x420.png 641w, https://www.osradar.com/wp-content/uploads/2019/09/17.png 894w" sizes="(max-width: 665px) 100vw, 665px" /></p>
<p>Finally, you will see below the dashboard of OWA (Open Web Analytics)</p>
<p><img loading="lazy" class="alignnone wp-image-13360" src="https://www.osradar.com/wp-content/uploads/2019/09/18-300x152.png" alt="" width="661" height="335" srcset="https://www.osradar.com/wp-content/uploads/2019/09/18-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/18-768x390.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/18-1024x520.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/18-696x354.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/18-1068x543.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/18-827x420.png 827w, https://www.osradar.com/wp-content/uploads/2019/09/18.png 1366w" sizes="(max-width: 661px) 100vw, 661px" /></p>
<p>That&#8217;s it!</p>
<p>Also, you can read our post about <a href="https://osradar.com/tag/centos/">CentOS</a></p>
<p>Please share and join <a href="https://t.me/osradar">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-open-web-analytics-rhel-centos-8/">Install Open Web Analytics on RHEL / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-open-web-analytics-rhel-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
