<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to Install Pi.Alert on Raspberry Pi: Step-by-Step Guide (2025)]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1759096507125-pi_alert_instalation_guide2025-11_54_24-pm.png" alt="pi_alert_instalation_guide2025, 11_54_24 PM.png" class=" img-responsive img-markdown" /></p>
<h1>Pi.Alert Installation Guide</h1>
<p dir="auto">Learn how to install and configure Pi.Alert on Raspberry Pi with this step-by-step guide. Monitor your network devices easily and improve home network security.</p>
<hr />
<h2>1. Update Software Repositories</h2>
<pre><code class="language-bash">sudo apt update
</code></pre>
<h2>2. Install Available Software Updates</h2>
<pre><code class="language-bash">sudo apt upgrade -y
</code></pre>
<h2>3. Install Prerequisites</h2>
<pre><code class="language-bash">sudo apt install apt-utils arp-scan dnsutils net-tools python3 -y
</code></pre>
<h2>4. Install Web &amp; Database Components</h2>
<pre><code class="language-bash">sudo apt install lighttpd php php-cgi php-fpm php-sqlite3 sqlite3 -y
</code></pre>
<h2>5. Clean APT Package Cache</h2>
<pre><code class="language-bash">sudo apt clean
</code></pre>
<h2>6. Download the Latest Release</h2>
<pre><code class="language-bash">wget -O ./pialert.tar https://github.com/pucherot/Pi.Alert/...
</code></pre>
<h2>7. Create Required Directories</h2>
<pre><code class="language-bash">sudo mkdir /var/www/pialert
sudo mkdir /var/log/pialert
</code></pre>
<h2>8. Extract the Downloaded Archive</h2>
<pre><code class="language-bash">sudo tar xf ./pialert.tar -C /var/www/pialert --strip-components=1
</code></pre>
<h2>9. Set Ownership of Pi.Alert Directory</h2>
<pre><code class="language-bash">sudo chown -R www-data:www-data /var/www/pialert
</code></pre>
<h2>10. Update Pi.Alert Path in Config File</h2>
<pre><code class="language-bash">sed -i 's/\/home\/pi\/pialert/\/var\/www\/pialert/' /var/www/pialert/config/pialert.conf
</code></pre>
<h2>11. Update Pi.Alert Path in Cron Jobs</h2>
<pre><code class="language-bash">sed -i 's/python ~\/pialert\/back\/pialert.py/python3 \/var\/www\/pialert\/back\/pialert.py/g' /var/www/pialert/install/pialert.cron
</code></pre>
<h2>12. Update Log Paths for Cron Jobs</h2>
<pre><code class="language-bash">sed -i 's/~\/pialert\/log\//\/var\/log\/pialert\//g' /var/www/pialert/install/pialert.cron
</code></pre>
<h2>13. Create Cronjob Schedule</h2>
<pre><code class="language-bash">(crontab -l 2&gt;/dev/null; cat /var/www/pialert/install/pialert.cron) | sudo crontab -
</code></pre>
<h2>14. Create Symbolic Link to Pi.Alert</h2>
<pre><code class="language-bash">sudo ln -s /var/www/pialert/front/ /var/www/html/pialert
</code></pre>
<h2>15. Configure Lighttpd</h2>
<p dir="auto">Copy Pi.Alert Lighttpd configuration:</p>
<pre><code class="language-bash">sudo cp /var/www/pialert/install/pialert_front.conf /etc/lighttpd/conf-available
</code></pre>
<p dir="auto">Enable the Pi.Alert configuration:</p>
<pre><code class="language-bash">sudo ln -s /etc/lighttpd/conf-available/pialert_front.conf /etc/lighttpd/conf-enabled/pialert_front.conf
</code></pre>
<p dir="auto">Enable FastCGI for PHP:</p>
<pre><code class="language-bash">sudo lighttpd-enable-mod fastcgi-php
</code></pre>
<p dir="auto">Restart Lighttpd service:</p>
<pre><code class="language-bash">sudo systemctl restart lighttpd
</code></pre>
<hr />
<h2>✅ Installation Complete</h2>
<p dir="auto">Pi.Alert should now be accessible via your server’s IP address:</p>
<pre><code>http://&lt;your-server-ip&gt;/pialert
</code></pre>
]]></description><link>https://lankadevelopers.lk/topic/1927/how-to-install-pi-alert-on-raspberry-pi-step-by-step-guide-2025</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 00:04:49 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/1927.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Sep 2025 21:58:39 GMT</pubDate><ttl>60</ttl></channel></rss>