Jun 3 13:05:40 qaz-mko systemd: Stopped Advanced key-value store. Jun 3 13:05:40 qaz-mko systemd: rvice: Scheduled restart job, restart counter is at 13. Jun 3 13:05:40 qaz-mko systemd: rvice: Service hold-off time over, scheduling restart. Jun 3 13:05:40 qaz-mko systemd: Failed to start Advanced key-value store. Jun 3 13:05:40 qaz-mko systemd: rvice: Failed with result 'timeout'. Jun 3 13:05:40 qaz-mko systemd: rvice: Start operation timed out. I looked at /var/log/syslog and it says => /var/log/syslog /dev/null & debian-sa1 1 1) The redis-server package cannot be fully installed. I have upgraded to ubuntu 18.04 from 17.10. Installing new version of config file /etc/redis/nf. Processing triggers for man-db (2.8.3-2ubuntu0.1). Processing triggers for systemd (237-3ubuntu10.17). Processing triggers for ureadahead (0.100.0-20). 96119 files and directories currently installed.) Get:2 bionic/main amd64 redis-tools amd64 5:5.0.4-1chl1~bionic1 Get:1 bionic/main amd64 redis-server amd64 5:5.0.4-1chl1~bionic1 The following additional packages will be installed:Ģ upgraded, 0 newly installed, 0 to remove and 2 not upgraded.Īfter this operation, 2429 kB of additional disk space will be used.
The following package was automatically installed and is no longer required:
INSTALL REDIS SERVER UBUNTU INSTALL
Wahoo! Now to install it and we can Redis away: $ sudo apt-get install redis-server
INSTALL REDIS SERVER UBUNTU UPDATE
$ cat /etc/apt//chris-lea-ubuntu-redis-server-bionic.listĭo an update as usual: $ sudo apt-get updateĪnd now we can see we have a newer redis-server candidate: $ apt-cache policy redis-server rw-r-r- 1 root root 108 Apr 6 07:56 nodesource.list rw-r-r- 1 root root 148 Apr 6 07:56 chris-lea-ubuntu-redis-server-bionic.list rw-r-r- 1 root root 134 Apr 6 07:56 certbot-ubuntu-certbot-bionic.list Now we can see a new file in the apt sources list: $ ls -l /etc/apt// Press to continue or Ctrl-c to cancel adding it. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. Redis is an open source, advanced key-value store. Okay, we’ll add the repo now: $ sudo add-apt-repository ppa:chris-lea/redis-server rw-r-r- 1 root root 134 certbot-ubuntu-certbot-bionic.list Note that we currently have the following two package repos added to our system already: $ ls -l /etc/apt// The following instructions: $ sudo add-apt-repository ppa:chris-lea/redis-server Where I got these instructions, and what I did.Ĭhris Lea’s PPS for Redis Server, and here we can see The rest of this post then is mostly to remind myself So, let’s fix this so we can get Redis v5 on the new server. Installation is Redis v4: $ apt-cache policy redis-serverĥ00 bionic-updates/universe amd64 Packagesĥ00 bionic-security/universe amd64 Packages On the newer Bionic you can see that the candidate for One running Xenial is currently running Redis v5 as shown: $ apt-cache policy redis-serverĥ00 xenial-updates/universe amd64 Packagesĥ00 xenial-security/universe amd64 PackagesĪs you can also see it is being fetched from Chris Lea’s PPA. I have an older server which is running Ubuntu 16.04 (Xenial) and a newer one running Ubuntu 18.04 (Bionic). You just like being on the latest version which I do.
Whilst this doesn’t matter in most cases, it does if you want to use any of the new features of Redis. For quite a while the Debian/Ubuntu package for redis-server has been behind the official Redis releases.