Kamis, 06 September 2018

Install redis-server Ubuntu 16 xenial

  Tidak ada komentar
One day i need to install redis-server on ubuntu
maswachid@cloud:/tmp/redis-stable$ sudo apt-get update && sudo apt-get install redis-server -y
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Hit:3 http://id.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/ondrej/apache2/ubuntu xenial InRelease
Get:5 http://id.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [550 kB]
Get:7 http://id.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [477 kB]
Get:9 http://id.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [841 kB]
..
..
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Running test of redis-server
sysop@vta-cloud:/tmp/redis-stable$ redis-server &
[1] 19868
sysop@vta-cloud:/tmp/redis-stable$ 19868:C 05 Sep 23:49:25.726 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
19868:C 05 Sep 23:49:25.726 # Redis version=4.0.11, bits=64, commit=00000000, modified=0, pid=19868, just started
19868:C 05 Sep 23:49:25.726 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
19868:M 05 Sep 23:49:25.727 * Increased maximum number of open files to 10032 (it was originally set to 1024).
19868:M 05 Sep 23:49:25.728 # Creating Server TCP listening socket *:6379: bind: Address already in use
^C
[1]+  Exit 1                  redis-server
Running the redis-server service
sysop@vta-cloud:/tmp/redis-stable$ service redis-server start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'redis-server.service'.
Authenticating as: sysop,,, (sysop)
Password:
==== AUTHENTICATION COMPLETE ===
sysop@vta-cloud:/tmp/redis-stable$ service redis-server status
● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-09-05 23:49:13 WIB; 50s ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
 Main PID: 19811 (redis-server)
   CGroup: /system.slice/redis-server.service
           └─19811 /usr/bin/redis-server 127.0.0.1:6379

Sep 05 23:49:13 vta-cloud systemd[1]: Starting Advanced key-value store...
Sep 05 23:49:13 vta-cloud run-parts[19803]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Sep 05 23:49:13 vta-cloud run-parts[19812]: run-parts: executing /etc/redis/redis-server.post-up.d/00_example
Sep 05 23:49:13 vta-cloud systemd[1]: Started Advanced key-value store.
Sep 05 23:49:58 vta-cloud systemd[1]: Started Advanced key-value store.
sysop@vta-cloud:/tmp/redis-stable$
sysop@vta-cloud:/tmp/redis-stable$


Tidak ada komentar :

Posting Komentar