<?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>AllScoop</title>
	<atom:link href="https://www.allscoop.com/feed" rel="self" type="application/rss+xml" />
	<link>https://www.allscoop.com/</link>
	<description>Gadgets - PHP Code - Web Tools - Technology</description>
	<lastBuildDate>Mon, 26 May 2025 17:08:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://www.allscoop.com/wp-content/uploads/cropped-coffee-32x32.jpg</url>
	<title>AllScoop</title>
	<link>https://www.allscoop.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Best VPS Deal</title>
		<link>https://www.allscoop.com/best-vpn-deal.html</link>
					<comments>https://www.allscoop.com/best-vpn-deal.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Fri, 16 May 2025 15:04:22 +0000</pubDate>
				<category><![CDATA[allscoop]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1860</guid>

					<description><![CDATA[5 GB RAM KVM VPS Price: $54.99/Year]]></description>
										<content:encoded><![CDATA[
<p><strong>5 GB RAM KVM VPS</strong></p>



<ul class="wp-block-list">
<li>4x vCPU Cores</li>



<li>5 GB RAM</li>



<li>100 GB SSD</li>



<li>10 TB Bandwidth</li>
</ul>



<p><a href="https://my.racknerd.com/aff.php?aff=3852&amp;pid=915" target="_blank" rel="noreferrer noopener sponsored nofollow">Price: $54.99/Year</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/best-vpn-deal.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WP CLI + cron to update plugins</title>
		<link>https://www.allscoop.com/wp-cli-cron-to-update-plugins.html</link>
					<comments>https://www.allscoop.com/wp-cli-cron-to-update-plugins.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Fri, 21 Feb 2025 16:18:21 +0000</pubDate>
				<category><![CDATA[allscoop]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualmin]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1846</guid>

					<description><![CDATA[For whatever reason my auto updating of plugins was failing. I use a daily cron job to band-aid the problem. This system I set this up on is Ubuntu Server 22.04 / Virtualmin]]></description>
										<content:encoded><![CDATA[
<p>For whatever reason my auto updating of plugins was failing. I use a daily cron job to band-aid the problem. This system I set this up on is Ubuntu Server 22.04 / Virtualmin</p>



<pre class="wp-block-code"><code>/usr/local/bin/wp plugin update --all --path=/home/your-name/public_html > /dev/null 2>&amp;1

OR

/usr/local/bin/wp plugin update --all <strong>--quiet</strong> --path=/home/your-name/public_html</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/wp-cli-cron-to-update-plugins.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tdarr container on QNAP</title>
		<link>https://www.allscoop.com/tdarr-container-on-qnap.html</link>
					<comments>https://www.allscoop.com/tdarr-container-on-qnap.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sat, 26 Oct 2024 01:07:26 +0000</pubDate>
				<category><![CDATA[other stuff]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[qnap]]></category>
		<category><![CDATA[tdarr]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1825</guid>

					<description><![CDATA[How to fix Tdarr container: &#8220;No nodes detected&#8221; when using container station on a QNAP NAS. You only need the base haveagitgat/tdarr container, as it includes the node. It just needs an environment variable set for it to be activated. Do the advanced setup, and add a new variable: variable: internalNode and set the value...]]></description>
										<content:encoded><![CDATA[
<p>How to fix Tdarr container: &#8220;No nodes detected&#8221; when using container station on a QNAP NAS.</p>



<span id="more-1825"></span>



<p>You only need the base <a href="https://docs.tdarr.io/docs/installation/docker/run-compose" target="_blank" rel="noreferrer noopener">haveagitgat/tdarr</a> container, as it includes the node. It just needs an environment variable set for it to be activated.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="583" src="https://www.allscoop.com/wp-content/uploads/container-environment-add-new-1024x583.png" alt="" class="wp-image-1826" srcset="https://www.allscoop.com/wp-content/uploads/container-environment-add-new-1024x583.png 1024w, https://www.allscoop.com/wp-content/uploads/container-environment-add-new-300x171.png 300w, https://www.allscoop.com/wp-content/uploads/container-environment-add-new-768x437.png 768w, https://www.allscoop.com/wp-content/uploads/container-environment-add-new.png 1225w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Do the advanced setup, and add a new variable:</p>



<p>variable: internalNode
and set the value to be: true

This will create the node within the main Tdarr container.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="537" height="156" src="https://www.allscoop.com/wp-content/uploads/inernal-node-true.png" alt="" class="wp-image-1827" srcset="https://www.allscoop.com/wp-content/uploads/inernal-node-true.png 537w, https://www.allscoop.com/wp-content/uploads/inernal-node-true-300x87.png 300w" sizes="(max-width: 537px) 100vw, 537px" /></figure>



<p>You may also have to go to Storage and add a &#8220;bind mount host path&#8221;, this will be your QNAP storage location, you can add the same value for each field.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/tdarr-container-on-qnap.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ngnix .htaccess disable</title>
		<link>https://www.allscoop.com/ngnix-htaccess-disable.html</link>
					<comments>https://www.allscoop.com/ngnix-htaccess-disable.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sun, 19 Nov 2023 19:01:23 +0000</pubDate>
				<category><![CDATA[the web]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualmin]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1803</guid>

					<description><![CDATA[I recently converted a bunch of sites from Apache to Ngnix. This left a ton of .htaccess files that I wanted to keep for reference, but don&#8217;t want them to be read. This handy command will change the permissions on all &#8220;.htaccess&#8221; files under &#8220;/home/&#8221; so they can&#8217;t be read by a browser.]]></description>
										<content:encoded><![CDATA[
<p>I recently converted a bunch of sites from Apache to Ngnix. This left a ton of .htaccess files that I wanted to keep for reference, but don&#8217;t want them to be read. </p>



<span id="more-1803"></span>



<p>This handy command will change the permissions on all &#8220;.htaccess&#8221; files under &#8220;/home/&#8221; so they can&#8217;t be read by a browser.</p>



<pre class="wp-block-code"><code>find /home/ -name .htaccess | xargs chmod 0600</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/ngnix-htaccess-disable.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install PHP 8.2 on Ubuntu</title>
		<link>https://www.allscoop.com/install-php-8-2-on-ubuntu.html</link>
					<comments>https://www.allscoop.com/install-php-8-2-on-ubuntu.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sat, 10 Dec 2022 18:55:07 +0000</pubDate>
				<category><![CDATA[allscoop]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1778</guid>

					<description><![CDATA[Quick guide on how to install PHP 8.2 on Ubuntu. You could easily change this for any 8.x version of PHP, just change to 8.3, etc. Install PHP 8.2 sudo apt install php8.2 -y Install common extensions sudo apt install php8.2-cli php8.2-common php8.2-fpm php8.2-mysql php8.2-zip php8.2-gd php8.2-mbstring php8.2-curl php8.2-xml php8.2-bcmath php8.2-intl php8.2-imagick Install SQLite extension...]]></description>
										<content:encoded><![CDATA[
<p>Quick guide on how to install PHP 8.2 on Ubuntu. You could easily change this for any 8.x version of PHP, just change to 8.3, etc. </p>



<span id="more-1778"></span>



<p>Install PHP 8.2</p>



<p><code>sudo apt install php8.2 -y</code></p>



<p>Install common extensions</p>



<p><code>sudo apt install php8.2-cli php8.2-common php8.2-fpm php8.2-mysql php8.2-zip php8.2-gd php8.2-mbstring php8.2-curl php8.2-xml php8.2-bcmath php8.2-intl php8.2-imagick</code></p>



<p>Install SQLite extension</p>



<p><code>sudo apt-get install php8.2-sqlite</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/install-php-8-2-on-ubuntu.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>My Virtualmin Setup Guide for a Webserver</title>
		<link>https://www.allscoop.com/virtualmin-setup-guide-for-a-webserver.html</link>
					<comments>https://www.allscoop.com/virtualmin-setup-guide-for-a-webserver.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sun, 06 Nov 2022 19:21:32 +0000</pubDate>
				<category><![CDATA[php code]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualmin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cloudflare]]></category>
		<category><![CDATA[csf]]></category>
		<category><![CDATA[php-fpm]]></category>
		<category><![CDATA[webmin]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1760</guid>

					<description><![CDATA[Virtualmin is a rock-solid web hosting control panel I have used for 10+ years. There are free and paid tiers. This is a simple list I created of steps I take from a bare Ubuntu VPS to a production ready web server. Note that use CloudFlare for all my websites, so everything in this guide...]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image alignright"><img decoding="async" width="300" height="216" src="https://www.allscoop.com/wp-content/uploads/virutalmin-300x216.jpg" alt="" class="wp-image-1767" srcset="https://www.allscoop.com/wp-content/uploads/virutalmin-300x216.jpg 300w, https://www.allscoop.com/wp-content/uploads/virutalmin-1024x737.jpg 1024w, https://www.allscoop.com/wp-content/uploads/virutalmin-768x553.jpg 768w, https://www.allscoop.com/wp-content/uploads/virutalmin.jpg 1067w" sizes="(max-width: 300px) 100vw, 300px" /></figure>



<p><a href="https://www.virtualmin.com" target="_blank" rel="noopener">Virtualmin</a> is a <strong>rock-solid web hosting control panel</strong> I have used for 10+ years. There are free and paid tiers.</p>



<span id="more-1760"></span>



<p>This is a simple list I created of steps I take from a bare Ubuntu VPS to a production ready web server. Note that use CloudFlare for all my websites, so everything in this guide is setup this way. I also don&#8217;t use mail for domains either, so I have mostly disabled incoming mail, etc. Mail can be sent out of course.</p>



<h2 class="wp-block-heading">Virtualmin Install</h2>



<p>Fresh Install of a supported version of Ubuntu per the <a href="https://www.virtualmin.com/os-support/" target="_blank" rel="noopener">virtualmin grade A supported OS list</a>.</p>



<p>SSH into the server, login as root.</p>



<p>Set the hostname on the server:<br><code>hostnamectl set-hostname server.hostname.com</code></p>



<p>Set the timezone: <code>sudo timedatectl set-timezone America/Detroit</code></p>



<p>Update the system: <code>sudo apt update &amp;&amp; sudo apt upgrade -y</code></p>



<p>Install virtualmin. see the simple instructions here: <a href="https://www.virtualmin.com/download/" target="_blank" rel="noopener">https://www.virtualmin.com/download/</a></p>



<p>Optional to use NGNIX instead of Apache: sudo sh virtualmin-install.sh &#8211;bundle LEMP</p>



<p>Install has a few questions along the way, but is mostly quiet.</p>



<p>Once Webmin/Virtualmin is installed it will provide a web link to login to the web interface. https://yourservername.some:10000</p>



<p>Login to the fresh new web interface as root.</p>



<p>Run through the initial configuration steps.</p>



<p>Disable Quotas. Virtualmin -&gt; System Settings -&gt; Virtualmin Configuration -&gt; Disk Quotas</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="300" height="106" src="https://www.allscoop.com/wp-content/uploads/disable-quota-300x106.png" alt="" class="wp-image-1771" srcset="https://www.allscoop.com/wp-content/uploads/disable-quota-300x106.png 300w, https://www.allscoop.com/wp-content/uploads/disable-quota.png 545w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<p>Optionally:&nbsp; Webmin &gt; System &gt; Disk and Network Filesystems -&gt; Root file system -&gt; Use Quotas Drop-down&nbsp; = NO</p>



<h2 class="wp-block-heading">Misc</h2>



<p><span data-sub_title="">Virtualmin -&gt; Server Settings -&gt; Server Templates -&gt;Website for Domain</span></p>



<p>Don&#8217;t create Apache Redirects for webmail or admin.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="300" height="112" src="https://www.allscoop.com/wp-content/uploads/no-redirects-for-admin-or-webmail-300x112.png" alt="" class="wp-image-1772" srcset="https://www.allscoop.com/wp-content/uploads/no-redirects-for-admin-or-webmail-300x112.png 300w, https://www.allscoop.com/wp-content/uploads/no-redirects-for-admin-or-webmail.png 350w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<p>Remove mail subdomain from Apache. Virtualmin -&gt; Server Settings -&gt; Server Templates -&gt;Website for Domain</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="300" height="107" src="https://www.allscoop.com/wp-content/uploads/remove-mail-subdomain2-300x107.png" alt="" class="wp-image-1775" srcset="https://www.allscoop.com/wp-content/uploads/remove-mail-subdomain2-300x107.png 300w, https://www.allscoop.com/wp-content/uploads/remove-mail-subdomain2.png 374w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<p>This is needed to automatically sync your time.</p>



<p><code>sudo apt-get install ntp</code></p>



<h2 class="wp-block-heading">Remove Unneeded Modules</h2>



<p>Delete unused modules. Webmin -&gt; Webmin Configuration -&gt; Webmin Modules -&gt; Click on the &#8220;Delete&#8221; tab.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="300" height="87" src="https://www.allscoop.com/wp-content/uploads/delete-webmin-modules-300x87.png" alt="" class="wp-image-1766" srcset="https://www.allscoop.com/wp-content/uploads/delete-webmin-modules-300x87.png 300w, https://www.allscoop.com/wp-content/uploads/delete-webmin-modules.png 527w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<p>Here are the modules I removed which I know will not use. (these can easily be added back if needed)</p>



<p>I want my system to run as lean as possible to maximize speed and performance for the websites, so I never run anything extra like AWStats or ClamAV, etc.</p>



<ul class="wp-block-list">
<li>ADSL Client</li>



<li>AWStats Reporting</li>



<li>BIND DNS Server</li>



<li>Cluster Change Passwords</li>



<li>Cluster Copy Files</li>



<li>Cluster Cron Jobs</li>



<li>Cluster Shell Commands</li>



<li>Cluster Software Packages</li>



<li>Cluster Usermin Servers</li>



<li>Cluster Users and Groups</li>



<li>Cluster Webmin Servers</li>



<li>DHCP Server</li>



<li>FirewallD</li>



<li>iSCSI Client</li>



<li>iSCSI Server</li>



<li>iSCSI Target</li>



<li>iSCSI TGTd</li>



<li>Jabber IM Server</li>



<li>PostgreSQL Database Server</li>



<li>PPP Dialin Server</li>



<li>PPP Dialup Client</li>



<li>PPTP VPN Client</li>



<li>PPTP VPN Server</li>



<li>Printer Administration</li>



<li>ProFTPD Server</li>



<li>Ruby GEMS</li>



<li>Shorewall Firewall</li>



<li>Shorewall6 Firewall</li>



<li>SpamAssassin Mail Filter</li>



<li>Squid Proxy Server</li>



<li>Squid Report Generator</li>



<li>Voicemail Server</li>



<li>Webalizer Logfile Analysis</li>



<li>WU-FTP Server</li>
</ul>



<p>Remove Clam AV:</p>



<p><code>sudo apt-get remove clamav<br>
sudo apt-get autoremove clamav</code></p>



<p>System -&gt; Bootup and Shutdown -&gt; set both <strong>clamav-daemon</strong> and <strong>clamav-freshclam</strong> to not start on boot.</p>



<h2 class="wp-block-heading">Firewall</h2>



<p>Install CSF (<a href="https://download.configserver.com/csf/readme.txt" target="_blank" rel="noopener">https://download.configserver.com/csf/readme.txt</a>)</p>



<ol class="wp-block-list">
<li>Open a SSH terminal</li>



<li>cd /usr/src</li>



<li>wget https://download.configserver.com/csf.tgz</li>



<li>tar -xzf csf.tgz</li>



<li>cd csf</li>



<li>sh install.sh</li>
</ol>



<p>Then setup Webmin Interface:</p>



<p>In &#8220;Webmin Configuration&#8221; select &#8220;Webmin Modules, install from local file: /usr/local/csf/csfwebmin.tgz</p>



<p>Setting: <strong>Firewall Allow IPs</strong>,&nbsp; make sure to put my current IP, and any others that might be needed.</p>



<p>Turn off Test Mode, and set RESTRICT_SYSLOG to &#8220;3&#8221;</p>



<p>Firewall Setup: IP V4 and IP V6</p>



<p>Allow incoming only: 80, 443 (I don&#8217;t run mail server on my installs)</p>



<p>Whitelisted IP&#8217;s are not restricted, so as long as you are whitelisted you can SSH and SFTP (22) and Webmin (10000) without problems.</p>



<p>IGNORE_ALLOW to ON</p>



<p>**MORE coming soon on setting of LFD and ignoring certain processes**</p>



<h2 class="wp-block-heading">Postfix</h2>



<p>Servers -&gt; Postfix -&gt;Edit Config Files -&gt; main.cf</p>



<p>Postfix main.cf set: inet_protocols = ipv4</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="192" height="33" src="https://www.allscoop.com/wp-content/uploads/postfix-ipv4.png" alt="" class="wp-image-1765"/></figure>



<p>Forward mail to &#8220;root&#8221; by creating a &#8220;.forward&#8221; file containing an email address into root&#8217;s home directory.</p>



<h2 class="wp-block-heading">Customize the Virtualmin Interface:</h2>



<p>I like to customize the theme with unique colors and my own logo. This is useful since I usually have a number of virtualmin servers, so I can easily tell which interface is being used.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="231" height="57" src="https://www.allscoop.com/wp-content/uploads/virutalmin-theme-configuration.png" alt="" class="wp-image-1761"/></figure>



<h2 class="wp-block-heading">Apache / PHP Configuration</h2>



<p>I use SQLite as my go to database.</p>



<p><code>sudo&nbsp;apt&nbsp;install&nbsp;sqlite3</code></p>



<p><code>sudo apt-get install php-sqlite3</code></p>



<p>This is useful if you use CloudFlare,&nbsp; allows the real IP to be seen in your logs.</p>



<p><code>sudo a2enmod remoteip &amp;&amp; systemctl restart apache2</code></p>



<p>These to repositories are added in order to get the latest PHP and Apache versions.</p>



<p><code>sudo apt-get install software-properties-common</code></p>



<p><code>sudo add-apt-repository ppa:ondrej/php</code></p>



<p><code>sudo add-apt-repository ppa:ondrej/apache2</code></p>



<p>Install CURL for php<br><code>sudo apt-get install php8.1-curl</code></p>



<p>Install php-zip</p>



<p><code>sudo apt-get install php-zip</code></p>



<p>Install Internationalization extension</p>



<p><code>apt-get install -y php-intl</code></p>



<p>Install imagick<br><code>sudo apt-get install php-imagick -y</code></p>



<p>I use <a href="https://www.php.net/manual/en/install.fpm.php" target="_blank" rel="noopener">PHP-FPM</a> with Apache mpm-event provides the most efficient performance.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="282" height="102" src="https://www.allscoop.com/wp-content/uploads/php-fmp-on-virtualmin.png" alt="" class="wp-image-1762"/></figure>



<p>Servers -&gt; Apache Webserver -&gt; Global Configuration tab -&gt; Configure Apache Modules</p>



<p>Apache: Use <strong>MPM-Event</strong></p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="300" height="48" src="https://www.allscoop.com/wp-content/uploads/virtualmin-apache-mpm-event-300x48.png" alt="" class="wp-image-1763" srcset="https://www.allscoop.com/wp-content/uploads/virtualmin-apache-mpm-event-300x48.png 300w, https://www.allscoop.com/wp-content/uploads/virtualmin-apache-mpm-event.png 426w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<p>I add the <strong>expires</strong> and the <strong>headers</strong> module.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="143" height="135" src="https://www.allscoop.com/wp-content/uploads/apache-headers-and-expires.png" alt="" class="wp-image-1764"/></figure>



<p><a href="https://www.allscoop.com/php-fpm-parse-htm-or-html-files.php" target="_blank" rel="noopener">More information on PHP-FMP</a></p>



<p>**More coming on setting up CloudFlare**</p>



<p>Now using the LEMP stack (Nginx instead of Apache), will update soon&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/virtualmin-setup-guide-for-a-webserver.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu: Install Redis Cache with WordPress</title>
		<link>https://www.allscoop.com/ubuntu-install-redis-cache-with-wordpress.html</link>
					<comments>https://www.allscoop.com/ubuntu-install-redis-cache-with-wordpress.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sun, 06 Nov 2022 02:16:53 +0000</pubDate>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1768</guid>

					<description><![CDATA[https://redis.io/docs/getting-started/installation/install-redis-on-linux/ Install the WordPress Plugin https://wordpress.org/plugins/redis-cache/ Activate the plugin, then click to enable the object cache. Optionally install: sudo apt-get install php-redis]]></description>
										<content:encoded><![CDATA[
<p><a href="https://redis.io/docs/getting-started/installation/install-redis-on-linux/" target="_blank" rel="noreferrer noopener">https://redis.io/docs/getting-started/installation/install-redis-on-linux/</a></p>



<p>Install the WordPress Plugin <a href="https://wordpress.org/plugins/redis-cache/" target="_blank" rel="noopener">https://wordpress.org/plugins/redis-cache/</a></p>



<span id="more-1768"></span>



<p>Activate the plugin, then click to enable the object cache.</p>



<figure class="wp-block-image aligncenter"><img loading="lazy" decoding="async" width="300" height="233" src="https://www.allscoop.com/wp-content/uploads/redit-object-cache-300x233.png" alt="" class="wp-image-1770" srcset="https://www.allscoop.com/wp-content/uploads/redit-object-cache-300x233.png 300w, https://www.allscoop.com/wp-content/uploads/redit-object-cache.png 395w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<figure class="wp-block-image aligncenter"><img loading="lazy" decoding="async" width="300" height="244" src="https://www.allscoop.com/wp-content/uploads/redit-object-cache-enabled-300x244.png" alt="" class="wp-image-1769" srcset="https://www.allscoop.com/wp-content/uploads/redit-object-cache-enabled-300x244.png 300w, https://www.allscoop.com/wp-content/uploads/redit-object-cache-enabled.png 367w" sizes="auto, (max-width: 300px) 100vw, 300px" /></figure>



<p>Optionally install: <code>sudo apt-get install php-redis</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/ubuntu-install-redis-cache-with-wordpress.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress + SQLite</title>
		<link>https://www.allscoop.com/wordpress-sqlite.html</link>
					<comments>https://www.allscoop.com/wordpress-sqlite.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Mon, 31 Jan 2022 05:11:29 +0000</pubDate>
				<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1742</guid>

					<description><![CDATA[WordPress needs a database abstraction layer. WordPress should support any major database, especially with the divergence of MySQL and MariaDB. WordPress will eventually have to choose between them if they are to continue down the path of a single database technology. SQLite should be the default database of WordPress. It would likely improve performance and...]]></description>
										<content:encoded><![CDATA[<p>WordPress needs a database abstraction layer.</p>
<p>WordPress should support any major database, especially with the divergence of MySQL and MariaDB. WordPress will eventually have to choose between them if they are to continue down the path of a single database technology.</p>
<p><a href="https://www.sqlite.org/index.html" target="_blank" rel="noopener">SQLite</a> should be the default database of WordPress. It would likely improve performance and easy of 95% of all WordPress self-installs.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/wordpress-sqlite.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP-FPM parse .htm or .html files.</title>
		<link>https://www.allscoop.com/php-fpm-parse-htm-or-html-files.html</link>
					<comments>https://www.allscoop.com/php-fpm-parse-htm-or-html-files.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Mon, 24 Jan 2022 02:06:36 +0000</pubDate>
				<category><![CDATA[code]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php-fpm]]></category>
		<category><![CDATA[virtualmin]]></category>
		<category><![CDATA[webmin]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1737</guid>

					<description><![CDATA[In order to get the PHP-FPM process to parse files other than PHP, I followed these steps below. Edit the Apache Conf file for the website in question as follows:REMOVE the line below in red (best way is just put # in front of the line, so it&#8217;s still there) &#60;FilesMatch \.php&#62; Change the top...]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image alignright"><img loading="lazy" decoding="async" width="362" height="105" src="https://www.allscoop.com/wp-content/uploads/files-match-php-htm.jpg" alt="" class="wp-image-1739" srcset="https://www.allscoop.com/wp-content/uploads/files-match-php-htm.jpg 362w, https://www.allscoop.com/wp-content/uploads/files-match-php-htm-300x87.jpg 300w" sizes="auto, (max-width: 362px) 100vw, 362px" /></figure>



<p>In order to get the PHP-FPM process to parse files other than PHP, I followed these steps below.</p>



<p>Edit the Apache Conf file for the website in question as follows:<br>REMOVE the line below in red (best way is just put # in front of the line, so it&#8217;s still there)</p>



<pre class="wp-block-preformatted"><span style="color: #ff0000;">&lt;FilesMatch \.php&gt;</span><span style="color: #ff0000;"></span></pre>



<p>Change the top line as follows:</p>



<pre class="wp-block-preformatted"><strong>&lt;FilesMatch \.(php|phar|htm)</strong>
     SetHandler proxy:fcgi://localhost:8006 
&lt;/FilesMatch&gt;</pre>



<p>Next, you need to edit the PHP-FPM conf file for the website specifically.</p>



<p>I was using Virtualmin on Ubuntu 20.04, so that file was located here:<br><code> /etc/php/8.1/fpm/pool.d/ </code></p>



<figure class="wp-block-image alignright"><img loading="lazy" decoding="async" width="425" height="204" src="https://www.allscoop.com/wp-content/uploads/php-fpm-conf-each-website-e1642990628415.jpg" alt="PHP FPM Conf Files" class="wp-image-1738" srcset="https://www.allscoop.com/wp-content/uploads/php-fpm-conf-each-website-e1642990628415.jpg 425w, https://www.allscoop.com/wp-content/uploads/php-fpm-conf-each-website-e1642990628415-300x144.jpg 300w" sizes="auto, (max-width: 425px) 100vw, 425px" /></figure>



<p>Inside that folder were individual .conf files for each website. If you are using Virtualmin, this will be your &#8220;&lt;domain ID&gt;.conf&#8221;<br>(or Virtualmin domain -&gt; services -&gt;php-fpm configuration.)</p>



<p>I added the following line to the end of this file. My goal was &#8220;.htm&#8221; files to be read as PHP.</p>



<p><code>security.limit_extensions = .php .php3 .php4 .php5 .php7 <span style="color: #ff0000;">.htm</span></code></p>



<p>My &#8220;1640832995142367.conf&#8221; looks like below:</p>



<p><code>[1640832995142367]<br>
user = example<br>
group = example<br>
listen = localhost:8006<br>
pm = dynamic<br>
pm.max_children = 20<br>
pm.start_servers = 1<br>
pm.min_spare_servers = 1<br>
pm.max_spare_servers = 5<br>
php_admin_value[upload_tmp_dir] = /home/example/tmp<br>
php_admin_value[session.save_path] = /home/example/tmp<br>
<strong>security.limit_extensions = .php .php3 .php4 .php5 .php7 .htm</strong></code></p>



<p><strong>Remember to restart your PHP-FPM service!</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/php-fpm-parse-htm-or-html-files.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WP CLI Quick Shortcuts</title>
		<link>https://www.allscoop.com/wp-cli-quick-shortcuts.html</link>
					<comments>https://www.allscoop.com/wp-cli-quick-shortcuts.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sat, 22 Jan 2022 22:12:19 +0000</pubDate>
				<category><![CDATA[code]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.allscoop.com/?p=1736</guid>

					<description><![CDATA[WordPress WP CLI is a powerful (and fun) tool to take care of all your WordPress maintenance. WordPress site health nags for a backup theme&#8230; easy to fix wp theme install twentytwentyone Run Yoast SEO index, runs much faster from command line wp yoast index Install BBQ Firewall wp plugin install block-bad-queries wp plugin activate...]]></description>
										<content:encoded><![CDATA[
<h4 class="wp-block-heading">WordPress WP CLI is a powerful (and fun) tool to take care of all your WordPress maintenance.</h4>



<p>WordPress site health nags for a backup theme&#8230; easy to fix</p>



<p><code>wp theme install twentytwentyone</code></p>



<p>Run <a href="https://developer.yoast.com/features/wp-cli/reindex-indexables/" target="_blank" rel="noopener">Yoast SEO index</a>, runs much faster from command line</p>



<p><code>wp yoast index</code></p>



<p>Install BBQ Firewall</p>



<p><code> wp plugin install block-bad-queries<br> wp plugin activate block-bad-queries<br> </code>OR in a single line</p>



<pre class="wp-block-code"><code>wp plugin install block-bad-queries --activate</code></pre>



<p><a href="https://developer.wordpress.org/cli/commands/db/export/" target="_blank" rel="noopener">Export WordPress database</a> as an SQL file</p>



<p><code>wp db export</code></p>



<p><a href="https://developer.wordpress.org/cli/commands/cron/test/" target="_blank" rel="noopener">Test WordPress Cron</a></p>



<p><code>wp cron test</code></p>



<p><a href="https://developer.wordpress.org/cli/commands/search-replace/" target="_blank" rel="noopener">Search and Replace WordPress database</a>: change to https</p>



<p><code>wp search-replace 'http://example.com' 'https://example.com'</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/wp-cli-quick-shortcuts.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>2 GB / 2 CPU 40 GB SSD VPS for $20 month</title>
		<link>https://www.allscoop.com/15-per-month.html</link>
					<comments>https://www.allscoop.com/15-per-month.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Thu, 11 Dec 2014 21:21:00 +0000</pubDate>
				<category><![CDATA[the web]]></category>
		<guid isPermaLink="false">http://www.allscoop.com/?p=1516</guid>

					<description><![CDATA[Great deal on a virtual server with 2 CPU&#8217;s, a full 2 GB of ram and a 40 GB SSD Drive and 3000 GB month transfer. Also you get the ability to make snapshots at anytime without powering off the server. VULTR]]></description>
										<content:encoded><![CDATA[<p><a href="http://vultre.com" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="alignleft wp-image-1517 size-full" src="/wp-content/uploads/vultr-e1418332891324.jpg" alt="vultr" width="179" height="45" /></a>Great deal on a virtual server with 2 CPU&#8217;s, a full 2 GB of ram and a 40 GB SSD Drive and 3000 GB month transfer. Also you get the ability to make snapshots at anytime without powering off the server. <a href="http://vultre.com" target="_blank" rel="nofollow noopener">VULTR</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/15-per-month.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows Apache Rotate Logs</title>
		<link>https://www.allscoop.com/windows-apache-rotate-logs.html</link>
					<comments>https://www.allscoop.com/windows-apache-rotate-logs.html#respond</comments>
		
		<dc:creator><![CDATA[allscoop]]></dc:creator>
		<pubDate>Sun, 30 Nov 2014 17:20:45 +0000</pubDate>
				<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">http://www.allscoop.com/?p=1513</guid>

					<description><![CDATA[Using the Uniform Server to run Apache on Windows. Here is a simple way to implement log rotation using a batch file with Robocopy. The script creates a date-named folder, then stops Apache, moves all the log files to the new folder, then restarts Apache. I wanted to keep it simple, so there is no...]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image alignright"><img loading="lazy" decoding="async" width="180" height="31" src="/wp-content/uploads/uniform-server.jpg" alt="uniform server" class="wp-image-1514"/></figure>



<p>Using the <a href="http://www.uniformserver.com/" target="_blank" rel="noopener">Uniform Server</a> to run Apache on Windows. Here is a simple way to implement log rotation using a batch file with Robocopy.</p>



<span id="more-1513"></span>



<p>The script creates a date-named folder, then stops Apache, moves all the log files to the new folder, then restarts Apache.</p>



<p>I wanted to keep it simple, so there is no compression or purging of old logs, just a simple system to keep the log files from getting large. It is run once a week from a scheduled task.</p>



<p>set folder=%date:~10,4%_%date:~4,2%_%date:~7,2%<br>mkdir D:\data\rotatelogs\%folder%<br>net stop us_apache_1<br>robocopy D:\data\UniServerZ\core\apache2\logs\ D:\data\rotatelogs\%folder%\ *.log /MOV<br>net start us_apache_1</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.allscoop.com/windows-apache-rotate-logs.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
