![]() ![]() :~$ sudo cp /etc/redis/nf /etc/redis/Īnd now, proceed to open it. In case we make a mistake we can always go back to the original configuration. It is very well documented so you can customize it to the maximum by just reading it.įirst, we will make a backup. ![]() These will allow a smooth use of the program and allow you to get the most out of it.įirst of all, the /etc/redis/nf file is where all Redis’ settings are located. Configuring Redis on Ubuntu 20.04Įven though Redis is ready for battle, some of his settings need to be reviewed. 2.- Redis service statusĪs you can see, Redis is installed and running smoothly. ![]() Jul 22 19:54:09 osradar systemd: Started Advanced key-value store. Jul 22 19:54:09 osradar systemd: rvice: Can't open PID file /run/redis/redis-server.pid (yet?) after start: Operation not permitted Jul 22 19:54:09 osradar systemd: Starting Advanced key-value store… Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Wed 19:54:09 UTC 28s agoĬGroup: /system.slice/rvice You can do this using systemd like any other system service. In the end, you can check whether the Redis service is running. Once the proposal for units has been accepted, the whole process will begin. Libatomic1 libhiredis0.14 libjemalloc2 liblua5.1-0 lua-bitop lua-cjson redis-server redis-toolsĠ upgraded, 8 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 4123 kB of additional disk space will be used.ĭo you want to continue? 1.- Install Redis on Ubuntu 20.04 The following NEW packages will be installed: Libatomic1 libhiredis0.14 libjemalloc2 liblua5.1-0 lua-bitop lua-cjson redis-tools The following additional packages will be installed: So, install Redis with the following command: :~$ sudo apt install redis-server Also, you will have the security patches installed and thus a more stable system. This ensures that your system will be ready for the installation of Redis. So, open a terminal or connect to your server through SSH and update your system. Remember that on a server it is sometimes preferable to sacrifice new features for the sake of stability. This is perhaps the easiest and safest way to install Redis. Redis is available in the official Ubuntu 20.04 repositories. ![]() So today you will learn how to install it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |