Redis Server: Difference between revisions
Created page |
m →Starting and testing the server: Added command to enable service on boot |
||
| Line 27: | Line 27: | ||
* Check by typing <code>ping</code>. You should receive the response <code>PONG</code> | * Check by typing <code>ping</code>. You should receive the response <code>PONG</code> | ||
* Exit by typing <code>exit</code> | * Exit by typing <code>exit</code> | ||
* If all is working well, enable the service so that it starts on boot: <code>sudo systemctl enable redis@redis</code> | |||
NOTE: The service name changes depending on the <code>.conf</code> file name - e.g. if you save d the configuration as <code>default.conf</code>, you would run <code>service redis@default start</code>. | NOTE: The service name changes depending on the <code>.conf</code> file name - e.g. if you save d the configuration as <code>default.conf</code>, you would run <code>service redis@default start</code>. | ||