gearmand 環境安裝與配置

2021-07-07 05:37:14 字數 1349 閱讀 1759

gearman是乙個用來把工作委派給其他機器、分布式的呼叫更適合做某項工作的機器、併發的做某項工作在多個呼叫間做負載均衡、或用來在呼叫其它語言的函式的系統。

編譯安裝 gearmand

php**  

cd gearmand-1.1.12  

[root@ay1403121111165237f2z gearmand-1.1.12]# ls  

aclocal.m4  build-aux     configure.ac  gear_config.in  libgearman-1.0     libhashkit-1.0  makefile.am  readme   tests  

authors     changelog     copying       gearmand        libgearmancore     libhostile      makefile.in  rpm      thanks  

benchmark   configmake.h  docs          hacking         libgearman-server  libtest         man          scripts  util  

bin         configure     examples      libgearman      libhashkit         m4              news         support  version.m4  

[root@ay1403121111165237f2z gearmand-1.1.12]# ./configure   

configure: error: could not find boost 錯誤解決  

[root@ay1403121111165237f2z gearmand-1.1.12]#yum install boost-devel*  

configure: error: could not find gperf 錯誤解決  

[root@ay1403121111165237f2z gearmand-1.1.12]#yum install gperf*  

configure: error: unable to find libevent 錯誤解決  

[root@ay1403121111165237f2z gearmand-1.1.12]#yum install libevent-devel*  

configure: error: unable to find libuuid 錯誤解決  

[root@ay1403121111165237f2z gearmand-1.1.12]#yum install libuuid-devel  

上面錯誤的原因是編譯器找不到 標頭檔案

Python Apache環境安裝與配置

python和apache也有直接整合 cgi fastcgi三種配置方式 1.直接整合 直接將python以mod python模組的形式整合到apache中。客戶端請求到達 apache apache 找到cgi 指令碼後,在伺服器上直接使用指定 python 直譯器來執行 python 指令碼...

Selenium安裝與環境配置

一 概述 selenium主要用於web的自動化測試。selenium的主要套件有 1 selenium ide 乙個firefox外掛程式,配合firefox使用可以錄製網頁指令碼並執行測試 2 selenium rc selenium remote control 支援使用多種語言來編寫測試類,...

mmdetection安裝與環境配置

最近自己真的安裝了太多的計算機視覺環境了 越來越會找bug了,是不是很棒,hh 這次趁熱打鐵總結一下mmdetection的安裝步驟。涉及到 cuda,python,pytorch,mmcv,gcc 去官網上找到對應cuda和python的版本 conda install pytorch 1.5.0...