Skip to content

Instantly share code, notes, and snippets.

@vranac
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vranac/1da31b7285d5e3eb1f7e to your computer and use it in GitHub Desktop.
Save vranac/1da31b7285d5e3eb1f7e to your computer and use it in GitHub Desktop.
[vagrant@vagrant-centos65 ~]$ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
[vagrant@vagrant-centos65 ~]$ yum install gearmand -y
Loaded plugins: fastestmirror, versionlock
You need to be root to perform this command.
[vagrant@vagrant-centos65 ~]$ sudo yum install gearmand -y
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
epel/metalink | 25 kB 00:00
* base: mirrors.neterra.net
* epel: mirror.de.leaseweb.net
* extras: centos.mirrors.linux.ro
* updates: centos.mirrors.linux.ro
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:04
epel | 4.4 kB 00:00
epel/primary_db | 6.7 MB 00:12
extras | 3.4 kB 00:00
extras/primary_db | 31 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 4.4 MB 00:05
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gearmand.x86_64 0:1.1.8-2.el6 will be installed
--> Processing Dependency: libtokyocabinet.so.8()(64bit) for package: gearmand-1.1.8-2.el6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: gearmand-1.1.8-2.el6.x86_64
--> Processing Dependency: libgearman.so.8()(64bit) for package: gearmand-1.1.8-2.el6.x86_64
--> Processing Dependency: libboost_system.so.5()(64bit) for package: gearmand-1.1.8-2.el6.x86_64
--> Processing Dependency: libboost_program_options-mt.so.5()(64bit) for package: gearmand-1.1.8-2.el6.x86_64
--> Running transaction check
---> Package boost-program-options.x86_64 0:1.41.0-25.el6.centos will be installed
---> Package boost-system.x86_64 0:1.41.0-25.el6.centos will be installed
---> Package libgearman.x86_64 0:1.1.8-2.el6 will be installed
---> Package postgresql-libs.x86_64 0:8.4.20-3.el6_6 will be installed
---> Package tokyocabinet.x86_64 0:1.4.33-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================
Installing:
gearmand x86_64 1.1.8-2.el6 epel 156 k
Installing for dependencies:
boost-program-options x86_64 1.41.0-25.el6.centos updates 107 k
boost-system x86_64 1.41.0-25.el6.centos updates 25 k
libgearman x86_64 1.1.8-2.el6 epel 70 k
postgresql-libs x86_64 8.4.20-3.el6_6 updates 202 k
tokyocabinet x86_64 1.4.33-6.el6 base 428 k
Transaction Summary
================================================================================================================================================================================================================
Install 6 Package(s)
Total download size: 988 k
Installed size: 3.0 M
Downloading Packages:
(1/6): boost-program-options-1.41.0-25.el6.centos.x86_64.rpm | 107 kB 00:00
(2/6): boost-system-1.41.0-25.el6.centos.x86_64.rpm | 25 kB 00:00
(3/6): gearmand-1.1.8-2.el6.x86_64.rpm | 156 kB 00:00
(4/6): libgearman-1.1.8-2.el6.x86_64.rpm | 70 kB 00:00
(5/6): postgresql-libs-8.4.20-3.el6_6.x86_64.rpm | 202 kB 00:00
(6/6): tokyocabinet-1.4.33-6.el6.x86_64.rpm | 428 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 377 kB/s | 988 kB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : boost-system-1.41.0-25.el6.centos.x86_64 1/6
Installing : libgearman-1.1.8-2.el6.x86_64 2/6
Installing : tokyocabinet-1.4.33-6.el6.x86_64 3/6
Installing : postgresql-libs-8.4.20-3.el6_6.x86_64 4/6
Installing : boost-program-options-1.41.0-25.el6.centos.x86_64 5/6
Installing : gearmand-1.1.8-2.el6.x86_64 6/6
Verifying : libgearman-1.1.8-2.el6.x86_64 1/6
Verifying : boost-system-1.41.0-25.el6.centos.x86_64 2/6
Verifying : boost-program-options-1.41.0-25.el6.centos.x86_64 3/6
Verifying : postgresql-libs-8.4.20-3.el6_6.x86_64 4/6
Verifying : tokyocabinet-1.4.33-6.el6.x86_64 5/6
Verifying : gearmand-1.1.8-2.el6.x86_64 6/6
Installed:
gearmand.x86_64 0:1.1.8-2.el6
Dependency Installed:
boost-program-options.x86_64 0:1.41.0-25.el6.centos boost-system.x86_64 0:1.41.0-25.el6.centos libgearman.x86_64 0:1.1.8-2.el6 postgresql-libs.x86_64 0:8.4.20-3.el6_6 tokyocabinet.x86_64 0:1.4.33-6.el6
Complete!
[vagrant@vagrant-centos65 ~]$ chkconfig gearmand on
You do not have enough privileges to perform this operation.
[vagrant@vagrant-centos65 ~]$ sudo chkconfig gearmand on
[vagrant@vagrant-centos65 ~]$ service gearmand start
Starting gearmand: runuser: cannot set groups: Operation not permitted
[FAILED]
[vagrant@vagrant-centos65 ~]$ sudo service gearmand start
Starting gearmand: [ OK ]
[vagrant@vagrant-centos65 ~]$ sudo service gearmand status
gearmand (pid 2044) is running...
[vagrant@vagrant-centos65 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment