<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://thinkserver.freddythechick.net/index.php?action=history&amp;feed=atom&amp;title=Redis_Server</id>
	<title>Redis Server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://thinkserver.freddythechick.net/index.php?action=history&amp;feed=atom&amp;title=Redis_Server"/>
	<link rel="alternate" type="text/html" href="https://thinkserver.freddythechick.net/index.php?title=Redis_Server&amp;action=history"/>
	<updated>2026-05-30T21:00:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://thinkserver.freddythechick.net/index.php?title=Redis_Server&amp;diff=937&amp;oldid=prev</id>
		<title>Sam: /* Starting and testing the server */ Added command to enable service on boot</title>
		<link rel="alternate" type="text/html" href="https://thinkserver.freddythechick.net/index.php?title=Redis_Server&amp;diff=937&amp;oldid=prev"/>
		<updated>2024-06-25T15:42:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Starting and testing the server: &lt;/span&gt; Added command to enable service on boot&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:42, 25 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Check by typing &amp;lt;code&amp;gt;ping&amp;lt;/code&amp;gt;. You should receive the response &amp;lt;code&amp;gt;PONG&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Check by typing &amp;lt;code&amp;gt;ping&amp;lt;/code&amp;gt;. You should receive the response &amp;lt;code&amp;gt;PONG&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Exit by typing &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Exit by typing &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* If all is working well, enable the service so that it starts on boot: &amp;lt;code&amp;gt;sudo systemctl enable redis@redis&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NOTE: The service name changes depending on the &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; file name - e.g. if you save d the configuration as &amp;lt;code&amp;gt;default.conf&amp;lt;/code&amp;gt;, you would run &amp;lt;code&amp;gt;service redis@default start&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NOTE: The service name changes depending on the &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; file name - e.g. if you save d the configuration as &amp;lt;code&amp;gt;default.conf&amp;lt;/code&amp;gt;, you would run &amp;lt;code&amp;gt;service redis@default start&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key thinkserver:diff:1.41:old-936:rev-937:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Sam</name></author>
	</entry>
	<entry>
		<id>https://thinkserver.freddythechick.net/index.php?title=Redis_Server&amp;diff=936&amp;oldid=prev</id>
		<title>Sam: Created page</title>
		<link rel="alternate" type="text/html" href="https://thinkserver.freddythechick.net/index.php?title=Redis_Server&amp;diff=936&amp;oldid=prev"/>
		<updated>2024-06-25T12:49:48Z</updated>

		<summary type="html">&lt;p&gt;Created page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;code&amp;gt;redis&amp;lt;/code&amp;gt; server is used by Nextcloud to lock files much faster than using the database.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Open YaST&lt;br /&gt;
* Open Software Management&lt;br /&gt;
* Search for &amp;lt;code&amp;gt;redis&amp;lt;/code&amp;gt;&lt;br /&gt;
* Select package &amp;lt;code&amp;gt;redis&amp;lt;/code&amp;gt; for installation&lt;br /&gt;
NOTE: You may see 2 packages - &amp;lt;code&amp;gt;redis&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;redis7&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;redis7&amp;lt;/code&amp;gt; is an out of date version of redis - install the &amp;lt;code&amp;gt;redis&amp;lt;/code&amp;gt; package.&lt;br /&gt;
* Ensure the &amp;lt;code&amp;gt;php8-redis&amp;lt;/code&amp;gt; package is also installed.&lt;br /&gt;
* Accept the installation and allow the package to install.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
* Open &amp;lt;code&amp;gt;/etc/redis/default.conf.example&amp;lt;/code&amp;gt; file with &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt;&lt;br /&gt;
* We will be using Unix sockets so amend the following:&lt;br /&gt;
**&amp;lt;code&amp;gt;port 6379&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;port 0&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;# unixsocket /run/redis.sock&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;unixsocket /var/run/redis/redis.sock&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;# unixsocketperm 700&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;unixsocketperm 770&amp;lt;/code&amp;gt;&lt;br /&gt;
NOTE: Be sure to # uncomment the last two lines.&lt;br /&gt;
* Save the file as &amp;lt;code&amp;gt;redis.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting and testing the server ==&lt;br /&gt;
&lt;br /&gt;
* Run &amp;lt;code&amp;gt;sudo service redis@redis start&amp;lt;/code&amp;gt;&lt;br /&gt;
* Run &amp;lt;code&amp;gt;redis-cli -s /var/run/redis/redis.sock&amp;lt;/code&amp;gt;&lt;br /&gt;
* Check by typing &amp;lt;code&amp;gt;ping&amp;lt;/code&amp;gt;. You should receive the response &amp;lt;code&amp;gt;PONG&amp;lt;/code&amp;gt;&lt;br /&gt;
* Exit by typing &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: The service name changes depending on the &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; file name - e.g. if you save d the configuration as &amp;lt;code&amp;gt;default.conf&amp;lt;/code&amp;gt;, you would run &amp;lt;code&amp;gt;service redis@default start&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Allow web server access ==&lt;br /&gt;
&lt;br /&gt;
* Start YaST&lt;br /&gt;
* Go to &amp;#039;Security and Users&amp;#039;&lt;br /&gt;
* Open &amp;#039;User and Group Management&amp;#039;&lt;br /&gt;
* Go to the &amp;#039;Groups&amp;#039; tab&lt;br /&gt;
* Select &amp;#039;Set Filter&amp;#039; then select &amp;#039;System Groups&amp;#039;&lt;br /&gt;
* From the list, find the &amp;lt;code&amp;gt;redis&amp;lt;/code&amp;gt; group&lt;br /&gt;
* Select &amp;#039;Edit&amp;#039;&lt;br /&gt;
* In the &amp;#039;Group Members&amp;#039; box, find &amp;lt;code&amp;gt;wwwrun&amp;lt;/code&amp;gt; and select it.&lt;br /&gt;
* Once done, accept and close YaST.&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
	</entry>
</feed>