gearmand安装过程

51 cd boost_1_53_0
52 tail -f build_log
53 dir
54 cd gearmand-1.1.8
55 ./configure
56 could not find gperf
57 could not find gperf
58 yum install gperf
59 ./configure
60 make
61 make install
62 gearmand
63 /usr/sbin/gearmand --daemon
64 /usr/localgearmadn
65 /usr/localgearmand
66 /usr/loca/lgearmand
67 /usr/local/gearmand
68 ./configure
69 cd
70 wget http://launchpad.net/gearmand/trunk/0.10/download/gearmand-0.10.tar.gz
71 cd
72 wget https://launchpad.net/gearmand/1.2/1.1.7/+download/gearmand-1.1.7.tar.gz
73 tar -xzf gearmand-1.1.7.tar.gz
74 dir
75 cd gearmand-1.1.7
76 ./configure
77 yum install gcc44 gcc-c++
78 yum install e2fsprogs-devel e2fsprogs
79 ./configure
80 dir
81 cd
82 dir
83 cd gearmand-1.1.7
84 ./configure
85 make
86 ln -s /usr/include/boost141/boost/ /usr/include/boost
87 yum install boost141-devel
88 ln -s /usr/include/boost141/boost/ /usr/include/boost
89 export LDFLAGS="-L/usr/lib64/boost141"
90 export LD_LIBRARY_PATH=/usr/lib64/boost141:$LD_LIBRARY_PATH
91 export CC="gcc44"
92 export CXX="g++44"
93 ./configure
94 ln -s /usr/include/boost141/boost/ /usr/include/boost
95 yum install boost141-devel
96 export LD_LIBRARY_PATH=/usr/lib64/boost141
97 export LDFLAGS="-L/usr/lib64/boost141"
98 ./configure
99 dir
100 cd
101 dir
102 cd boost_1_53_0
103 ./bootstrap.sh --prefix=/usr
104 ./bjam install >build_log 2>&1
105 ./bjam install >build_log 2>&1
106 ./bootstrap.sh --prefix=/usr
107 ./bjam install >build_log1 2>&1
108 cd
109 dir
110 cd gearmand-1.1.7
111 ./configure
112 wget https://launchpad.net/gearmand/1.2/1.1.8/+download/gearmand-1.1.8.tar.gz
113 tar -xzf gearmand-1.1.8.tar.gz
114 dir
115 cd gearmand-1.1.8
116 ./configure
117 yum install boost-static
118 yum install boost*
119 yum install boost
120 ./configure
121 cd
122 wget wget http://connie.slackware.com/~alien/slackbuilds/boost/build/boost_1_38_0.tar.bz2
123 tar -xjvf boost_1_38_0.tar.bz2
124 cd tar -xjvf boost_1_38_0.tar.bz2
125 cd boost_1_38_0
126 dir
127 make
128 cd
129 wget http://cdnetworks-us-2.dl.sourceforge.net/project/boost/boost/1.44.0/boost_1_44_0.tar.gz
130 wget http://cdnetworks-us-2.dl.sourceforge.net/project/boost/boost/1.44.0/boost_1_44_0.tar.gz
131 wget http://downloads.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fboost%2F%3Fsource%3Ddirectory&ts=1370868953&use_mirror=nchc
132 tar -xzf boost_1_53_0.zip
133 unzip boost_1_53_0.zip
134 cd boost_1_53_0
135 cd boost_1_53_0
136 ./bootstrap.sh --prefix=/usr/local/boost
137 /bjam install
138 bjam install
139 yum install icu-3.6-5.11.4
140 yum install icu-*
141 yum install libicu-devel*
142 yum install libicu-*
143 yum install openmpi-libs*
144 yum install openmpi-devel*
145 yum install openmpi*
146 yum install mpi-selector*
147 yum install expat-devel*
148 yum install expat*
149 ./bootstrap.sh --prefix=/usr
150 ./bjam install >build_log 2>&1
151 ffff454
152 php worker.php &
153 php worker.php &
154 php -q worker.php
155 dir
156 cd gearmand-1.1.7
157 dir
158 ./configure
159 make
160 dir
161 libpqyum install libpqxx-devel
162 yum install libpqxx-devel
163 ./configure
164 make
165 export CC=/usr/bin/gcc44yum install gcc44 gcc44-c++ libstdc++44-devel
166 export CXX=/usr/bin/g++44
167 ./configure
168 yum install gcc44 gcc44-c++ libstdc++44-devel
169 ./configure
170 make
171 make install
172 make
173 ./configure
174 make
175 cd
176 dir
177 cd gearmand-1.1.8
178 di9er
179 dir
180 ./configure
181 make
182 sudo yum install boost-devel libevent-devel sqlite-devel libuuid-devel
183 yum -y install mysql55-dev* --enablerepo=webtatic
184 ./configure
185 make
186 make install
187 cd
188 wget http://pecl.php.net/get/gearman-1.1.1.tgz
189 tar -xzf gearman-1.1.1.tgz
190 dir
191 cd gearman-1.1.1
192 dir
193 phpize
194 ./configure
195 make
196 make install
197 service httpd restart
198 php --info | grep "gearman support"
199 php --info | grep "gearman support"
200 php --info | grep "gearman support"
201 service httpd restart
202 gearmand -d
203 nohup /root/worker.php
204 nohup -h
205 nohup --h
206 nohup /root/worker.php
207 nohup /root/worker.php 2>file.out
208 nohup /root/worker.php
209 nohup /root/worker.php
210 nohup /root/worker.php
211 nohup /root/worker.php
212 nohup /root/worker.php 2>file.out
213 nohup /root/worker
214 nohup /root/worker.php &
215 nohup /root/worker.php &
216 jobs
217 jobs
218 nohup /root/worker.php > test.loh 2>&1 &
219 jobs
220 jobs
221 jobs
222 nohup php /root/worker.php > test.loh 2>&1 &
223 jobs
224 jobs
225 jobs
226 jobs
227 jobs
228 fgphp /root/worker.php
229 f gphp /root/worker.php
230 fg php /root/worker.php
231 jobs
232 jobs
233 jobs
234 jobs
235 nohup php /root/worker.php > test.loh 2>&1
236 jobs
237 nohup php /root/worker.php > /root/test.loh 2>&1
238 nohup php /root/worker.php > /root/test.loh
239 nohup php /root/worker.php > /root/test.loh 2>&1 &
240 nohup php /root/worker.php > /root/test.loh 2>&1 &
241 php worker.php
242 php worker.php
243 php worker.php
244 php worker.php
245 nohup php /root/worker.php > /root/test.loh 2>&1 &
246 service httpd restart
247 nohup php /root/worker.php > /root/test.loh 2>&1 &
248 nohup php /root/worker.php > /root/test.loh 2>&1 &
249 nohup php /root/worker.php > /root/test.loh 2>&1 &
250 nohup php /root/worker.php > /root/test.loh 2>&1 &
251 nohup php /root/worker.php > /root/test.loh 2>&1 &
252 nohup php /root/worker.php > /root/test.loh 2>&1 &
253 nohup php /root/worker.php > /root/test.loh 2>&1 &
254 nohup php /root/worker.php > /root/test.loh 2>&1 &
255 service httpd restart
256 setup
257 service mysqld restart
258 nohup php /root/worker.php > /root/test.loh 2>&1 &
259 nohup php /root/worker.php > /root/test.loh 2>&1 &
260 nohup php /root/worker.php > /root/test.loh 2>&1 &
261 nohup php /root/worker.php > /root/test.loh 2>&1 &
262 service mysqld restart
263 nohup php /root/worker.php > /root/test.loh 2>&1 &

原文地址:https://www.cnblogs.com/youlechang123/p/4025555.html