우분투 Gearman 서버 설치

1 개요[ | ]

우분투 Gearman 서버 설치

2 설치[ | ]

root@zetawiki:~# apt install gearman-job-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libboost-program-options1.58.0 libpq5 memcached
Suggested packages:
  libcache-memcached-perl libmemcached libanyevent-perl libyaml-perl
The following NEW packages will be installed:
  gearman-job-server libboost-program-options1.58.0 libpq5 memcached
0 upgraded, 4 newly installed, 0 to remove and 124 not upgraded.
Need to get 420 kB of archives.
After this operation, 1,450 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-program-options1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [138 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpq5 amd64 9.5.9-0ubuntu0.16.04 [78.8 kB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 gearman-job-server amd64 1.0.6-5.1build2 [114 kB]
Get:4 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 memcached amd64 1.4.25-2ubuntu1.2 [89.0 kB]
Fetched 420 kB in 0s (1,258 kB/s)    
Selecting previously unselected package libboost-program-options1.58.0:amd64.
(Reading database ... 162935 files and directories currently installed.)
Preparing to unpack .../libboost-program-options1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
Unpacking libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) .................] 
Selecting previously unselected package libpq5:amd64.....................................] 
Preparing to unpack .../libpq5_9.5.9-0ubuntu0.16.04_amd64.deb ...
Unpacking libpq5:amd64 (9.5.9-0ubuntu0.16.04) ...........................................] 
Selecting previously unselected package gearman-job-server...............................] 
Preparing to unpack .../gearman-job-server_1.0.6-5.1build2_amd64.deb ...
Unpacking gearman-job-server (1.0.6-5.1build2) ..........................................] 
Selecting previously unselected package memcached........................................] 
Preparing to unpack .../memcached_1.4.25-2ubuntu1.2_amd64.deb ...
Unpacking memcached (1.4.25-2ubuntu1.2) ...#########.....................................] 
Processing triggers for libc-bin (2.23-0ubuntu9) ...#######..............................] 
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
Setting up libpq5:amd64 (9.5.9-0ubuntu0.16.04) ...################.......................] 
Setting up gearman-job-server (1.0.6-5.1build2) ...######################................] 
Setting up memcached (1.4.25-2ubuntu1.2) ...###################################..........] 
Processing triggers for libc-bin (2.23-0ubuntu9) ...##################################...] 
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...

3 확인[ | ]

root@zetawiki:~# netstat -tnlp | grep gearman
tcp        0      0 127.0.0.1:4730          0.0.0.0:*               LISTEN      18178/gearmand
root@zetawiki:~# ps -ef | grep gearman | grep -v grep
gearman  18178     1  0 14:00 ?        00:00:00 /usr/sbin/gearmand --listen=127.0.0.1 --pid-file=/run/gearman/server.pid --log-file=/var/log/gearman-job-server/gearman.log
root@zetawiki:~# sysv-rc-conf --list | grep gearman
gearman-job- 0:off	1:off	2:on	3:on	4:on	5:on	6:off

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}