-
Notifications
You must be signed in to change notification settings - Fork 0
/
index9.html
584 lines (534 loc) · 24.9 KB
/
index9.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Note Book</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="liugehao">
<!-- Le styles -->
<link rel="stylesheet" href="http://liugehao.github.io/theme/css/bootstrap.min.css" type="text/css" />
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
.tag-1 {
font-size: 13pt;
}
.tag-2 {
font-size: 10pt;
}
.tag-2 {
font-size: 8pt;
}
.tag-4 {
font-size: 6pt;
}
</style>
<link href="http://liugehao.github.io/theme/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="http://liugehao.github.io/theme/css/font-awesome.css" rel="stylesheet">
<link href="http://liugehao.github.io/theme/css/pygments.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="http://liugehao.github.io/theme/images/favicon.ico">
<link rel="apple-touch-icon" href="http://liugehao.github.io/theme/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="http://liugehao.github.io/theme/images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="http://liugehao.github.io/theme/images/apple-touch-icon-114x114.png">
<link href="http://liugehao.github.io/" type="application/atom+xml" rel="alternate" title="My Note Book ATOM Feed" />
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="http://liugehao.github.io/index.html">My Note Book </a>
<div class="nav-collapse">
<ul class="nav">
<li class="divider-vertical"></li>
<li >
<a href="http://liugehao.github.io/category/c.html">
<i class="icon-folder-open icon-large"></i>c
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/db.html">
<i class="icon-folder-open icon-large"></i>db
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/linux.html">
<i class="icon-folder-open icon-large"></i>linux
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/linux2fe697a0e7babfe7bd91e58da1make3a202a2a2a2flib.html">
<i class="icon-folder-open icon-large"></i>linux(2fe697a0e7babfe7bd91e58da1)make(3a202a2a2a2f)lib
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/nginx.html">
<i class="icon-folder-open icon-large"></i>nginx
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/others.html">
<i class="icon-folder-open icon-large"></i>Others
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/php.html">
<i class="icon-folder-open icon-large"></i>php
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/python.html">
<i class="icon-folder-open icon-large"></i>python
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/ruby.html">
<i class="icon-folder-open icon-large"></i>ruby
</a>
</li>
<li >
<a href="http://liugehao.github.io/category/tmp.html">
<i class="icon-folder-open icon-large"></i>tmp
</a>
</li>
<ul class="nav pull-right">
<li><a href="http://liugehao.github.io/archives.html"><i class="icon-th-list"></i>Archives</a></li>
</ul>
</ul>
<!--<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>-->
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="span9" id="content">
<div class="article">
<h1><a href="http://liugehao.github.io/moinmoinjin-zhi-yong-hu-zhu-ce.html">moinmoin禁止用户注册</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-31T00:00:00">
<i class="icon-calendar"></i>五 31 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/others.html"><i class="icon-folder-open"></i>Others</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>wikiconfig.py 中加入:
{{{
actions_excluded = multiconfig.DefaultConfig.actions_excluded + ['newaccount']
}}}</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/moinmoinjin-zhi-yong-hu-zhu-ce.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/zai-zhe-li-xiang-shu-linuxlvm-kvm-kuo-rong-suo-xiao-rong-liang-ye-gua-yong-yu-host-lvmjuan-diao-zheng.html">在这里详述 linux/lvm kvm 扩容 缩小容量。也适用于host lvm卷调整</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-22T00:00:00">
<i class="icon-calendar"></i>三 22 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>== raw 镜像文件增加容量 ==
{{{
qemu-img info xp_4_test.disk01 #查看文件信息
qemu-img resize xp_4_test.disk01 +150M //更改大小
}}}
在windows中,查看磁盘,会出现空余容量。
==== win2003中 ====
[[windows2003 extpart.exe更改C盘容量]] 无损增加容量,win2008 diskpart.exe
==== linux lvm ====
用free空间建立一个分区,把分区加入卷组,把卷组空间加入lvm。如果是/分区,用光盘引导进入rescue模式
{{{
fdisk /dev/vda
n //建立分区
p //主分区
lvm pvcreate /dev/vda4 //建立物理卷
lvm vgextend vg卷组名 /dev/vda4 //把物理卷添加到已有卷组 ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/zai-zhe-li-xiang-shu-linuxlvm-kvm-kuo-rong-suo-xiao-rong-liang-ye-gua-yong-yu-host-lvmjuan-diao-zheng.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/xiu-gai-linuxnei-he-can-shu-jian-shao-tcplian-jie-zhong-de-time-wait-sockets.html">修改Linux内核参数,减少TCP连接中的TIME-WAIT sockets</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-20T00:00:00">
<i class="icon-calendar"></i>一 20 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/others.html"><i class="icon-folder-open"></i>Others</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>用netstat -an命令发现服务器中有大量状态为TIME-WAIT的TCP连接,于是用/sbin/sysctl -a查看了一下Linux的各项内核参数,并翻阅有关资料,决定修改其中的两项参数,以达到减少TCP连接中TIME-WAIT sockets的目的。<<BR>></p>
<p>vi /etc/sysctl.conf<<BR>></p>
<p>编辑/etc/sysctl.conf文件,增加三行:<<BR>>
{{{
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
}}}
说明:<<BR>>
net.ipv4.tcp_syncookies = 1 表示开启SYN Cookies。当出现SYN等待队列溢出时,启用cookies来处理,可防范少量SYN攻击,默认为0,表示关闭;<<BR>>
net.ipv4.tcp_tw_reuse = 1 表示开启重用。允许将TIME-WAIT sockets重新用于新的TCP连接 ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/xiu-gai-linuxnei-he-can-shu-jian-shao-tcplian-jie-zhong-de-time-wait-sockets.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/moinmoin-ubuntu-nginx.html">moinmoin ubuntu nginx</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-18T00:00:00">
<i class="icon-calendar"></i>六 18 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/python.html"><i class="icon-folder-open"></i>python</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>vi /etc/rc.local ,在exit 0 前面添加
{{{
uwsgi -x /www/moin/uwsgi.xml >/dev/null 2>&1 &
}}}</p>
<p>cat /etc/nginx/sites-enabled/wiki
{{{
server {
listen 4081;
access_log /dev/null;
location / {
include uwsgi_params;
uwsgi_pass unix:///www/moin/moin.sock;
uwsgi_modifier1 30;
}
}</p>
<p>}}}</p>
<p>cat moin/uwsgi.xml
{{{
<uwsgi>
<uid>www-data</uid>
<gid>www-data</gid>
<plugin>python</plugin>
<socket>/www/moin/moin.sock ...</socket></uwsgi></p>
<a class="btn primary xsmall" href="http://liugehao.github.io/moinmoin-ubuntu-nginx.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/windows2003-extpartexegeng-gai-cpan-rong-liang.html">windows2003 extpart.exe更改C盘容量</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-18T00:00:00">
<i class="icon-calendar"></i>六 18 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/others.html"><i class="icon-folder-open"></i>Others</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>extpart.exe</p>
<p>解压后在 c:\dell\extpart\ 目录下 windows 2003 cmd下执行</p>
<p>[[attachment:ExtPart.exe]] [[attachment:9347455_1331257508PE5x.jpg]]</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/windows2003-extpartexegeng-gai-cpan-rong-liang.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/she-zhi-redisde-chi-jiu-hua.html">设置redis的持久化</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-17T00:00:00">
<i class="icon-calendar"></i>五 17 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/others.html"><i class="icon-folder-open"></i>Others</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>设置redis的配置文件相应段落,下面2种方法均可</p>
<p>=== 一 设置快照模式 ===</p>
<h6></h6>
<p>{{{</p>
<h1>900秒(15分钟)之后,且至少1次变更</h1>
<p>save 900 1 </p>
<h1>300秒(5分钟)之后,且至少10次变更</h1>
<p>save 300 10</p>
<h1>60秒之后,且至少10000次变更</h1>
<p>save 60 10000</p>
<p>#是否压缩
rdbcompression yes </p>
<h1>数据库的文件名</h1>
<p>dbfilename dump.rdb</p>
<h1>文件路径</h1>
<p>dir ./
}}}</p>
<p>=== 二 设置纯累加模式 ===</p>
<p>{{{
appendonly no 纯累加模式 这里写yes的话,上面save段要都注释掉 ,否则写入dump.rdb的内容不能写进aof文件</p>
<h1>appendfsync always 每次写操作都立刻写入到aof文件。慢。</h1>
<p>appendfsync everysec 每秒写一次</p>
<h1>appendfsync no ...</h1>
<a class="btn primary xsmall" href="http://liugehao.github.io/she-zhi-redisde-chi-jiu-hua.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/moinmoin-install-nginx-uwsgi.html">moinmoin install nginx uwsgi</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-16T00:00:00">
<i class="icon-calendar"></i>四 16 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/nginx.html"><i class="icon-folder-open"></i>nginx</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>=== Config nginx ===</p>
<p>{{{
server {
#server_name wiki.example.com;
listen 4081;
#access_log /var/log/nginx/access.log;
#error_log /var/log/nginx/error.log;</p>
<div class="highlight"><pre><span class="n">location</span> <span class="o">/</span> <span class="p">{</span>
<span class="n">include</span> <span class="n">uwsgi_params</span><span class="p">;</span>
<span class="n">uwsgi_pass</span> <span class="n">unix</span><span class="o">:</span><span class="c1">///srv/www/moin/moin.sock;</span>
<span class="n">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre></div>
<p>}
}}}</p>
<p>vi /etc/init/moin.conf
{{{
description "moin uwsgi service"</p>
<p>start on runlevel [2345]
stop on runlevel [!2345 ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/moinmoin-install-nginx-uwsgi.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/nginxunavailable-modifier-requested-30-uwsgi.html">nginx/unavailable modifier requested 30 uwsgi</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-05-16T00:00:00">
<i class="icon-calendar"></i>四 16 五月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/nginx.html"><i class="icon-folder-open"></i>nginx</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>{{{
your server socket listen backlog is limited to 100 connections
<strong><em> Operational MODE: single process </em></strong>
<strong><em> no app loaded. going in full dynamic mode </em></strong>
<strong><em> uWSGI is running in multiple interpreter mode </em></strong>
spawned uWSGI worker 1 (and the only) (pid: 5207, cores: 1)
-- unavailable modifier requested: 0 --
-- unavailable modifier requested: 0 --
-- unavailable modifier ...</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/nginxunavailable-modifier-requested-30-uwsgi.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/rhel57bu-shu-twitter-storm.html">rhel5.7部署twitter storm</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-04-16T00:00:00">
<i class="icon-calendar"></i>二 16 四月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>== python install ==</p>
<p>{{{</p>
<h1>wget http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz</h1>
<h1>tar zxvf Python-2.7.2.tgz</h1>
<h1>cd Python-2.7.2</h1>
<h1>./configure</h1>
<h1>make</h1>
<h1>make install</h1>
<h1>vi /etc/ld.so.conf</h1>
<div class="highlight"><pre> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span>
</pre></div>
<h1>/sbin/ldconfig</h1>
<p>no acceptable C compiler found in $PATH</p>
<h1>rpm -ivh gcc-4.1 ...</h1>
<a class="btn primary xsmall" href="http://liugehao.github.io/rhel57bu-shu-twitter-storm.html">more ...</a>
</div>
</div>
<hr />
<div class="article">
<h1><a href="http://liugehao.github.io/nginx-php-504.html">nginx php 504</a></h1>
<div class="well small"><footer class="post-info">
<span class="label">Date</span>
<abbr class="published" title="2013-03-14T00:00:00">
<i class="icon-calendar"></i>四 14 三月 2013
</abbr>
<span class="label">By</span>
<a href="http://liugehao.github.io/author/liugehao.html"><i class="icon-user"></i>liugehao</a>
<span class="label">Category</span>
<a href="http://liugehao.github.io/category/linux.html"><i class="icon-folder-open"></i>linux</a>.
</footer><!-- /.post-info --></div>
<div class="summary"><p>nginx.conf http段
{{{
fastcgi_connect_timeout 300s;
fastcgi_send_timeout 300s;
fastcgi_read_timeout 300s;
fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;#8 128
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
}}}
这里最主要的设置是前三条,即
{{{
fastcgi_connect_timeout 300s;
fastcgi_send_timeout 300s;
fastcgi_read_timeout 300s;
}}}</p>
<a class="btn primary xsmall" href="http://liugehao.github.io/nginx-php-504.html">more ...</a>
</div>
</div>
<hr />
<div class="pagination">
<ul>
<li class="prev"><a href="http://liugehao.github.io/index8.html">← Previous</a></li>
<li class=""><a href="http://liugehao.github.io/index.html">1</a></li>
<li class=""><a href="http://liugehao.github.io/index2.html">2</a></li>
<li class=""><a href="http://liugehao.github.io/index3.html">3</a></li>
<li class=""><a href="http://liugehao.github.io/index4.html">4</a></li>
<li class=""><a href="http://liugehao.github.io/index5.html">5</a></li>
<li class=""><a href="http://liugehao.github.io/index6.html">6</a></li>
<li class=""><a href="http://liugehao.github.io/index7.html">7</a></li>
<li class=""><a href="http://liugehao.github.io/index8.html">8</a></li>
<li class="active"><a href="http://liugehao.github.io/index9.html">9</a></li>
<li class=""><a href="http://liugehao.github.io/index10.html">10</a></li>
<li class=""><a href="http://liugehao.github.io/index11.html">11</a></li>
<li class=""><a href="http://liugehao.github.io/index12.html">12</a></li>
<li class=""><a href="http://liugehao.github.io/index13.html">13</a></li>
<li class=""><a href="http://liugehao.github.io/index14.html">14</a></li>
<li class=""><a href="http://liugehao.github.io/index15.html">15</a></li>
<li class=""><a href="http://liugehao.github.io/index16.html">16</a></li>
<li class=""><a href="http://liugehao.github.io/index17.html">17</a></li>
<li class="next"><a href="http://liugehao.github.io/index10.html">Next →</a></li>
</ul>
</div>
</div><!--/span-->
<div class="span3 well sidebar-nav" id="sidebar">
<ul class="nav nav-list">
<li class="nav-header"><h4><i class="icon-external-link"></i>blogroll</h4></li>
<li><a href="http://getpelican.com/"><i class="icon-external-link"></i>Pelican</a></li>
<li><a href="http://python.org/"><i class="icon-external-link"></i>Python.org</a></li>
<li><a href="http://jinja.pocoo.org/"><i class="icon-external-link"></i>Jinja2</a></li>
<li><a href="#"><i class="icon-external-link"></i>You can modify those links in your config file</a></li>
<li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li>
<li><a href="http://liugehao.github.io/" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>
<li><a href="#"><i class="icon-You can add links in your config file-sign icon-large"></i>You can add links in your config file</a></li>
<li><a href="#"><i class="icon-Another social link-sign icon-large"></i>Another social link</a></li>
<li class="nav-header"><h4><i class="icon-folder-close icon-large"></i>Categories</h4></li>
<li>
<a href="http://liugehao.github.io/category/c.html">
<i class="icon-folder-open icon-large"></i>c
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/db.html">
<i class="icon-folder-open icon-large"></i>db
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/linux.html">
<i class="icon-folder-open icon-large"></i>linux
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/linux2fe697a0e7babfe7bd91e58da1make3a202a2a2a2flib.html">
<i class="icon-folder-open icon-large"></i>linux(2fe697a0e7babfe7bd91e58da1)make(3a202a2a2a2f)lib
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/nginx.html">
<i class="icon-folder-open icon-large"></i>nginx
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/others.html">
<i class="icon-folder-open icon-large"></i>Others
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/php.html">
<i class="icon-folder-open icon-large"></i>php
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/python.html">
<i class="icon-folder-open icon-large"></i>python
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/ruby.html">
<i class="icon-folder-open icon-large"></i>ruby
</a>
</li>
<li>
<a href="http://liugehao.github.io/category/tmp.html">
<i class="icon-folder-open icon-large"></i>tmp
</a>
</li>
<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
</ul> </div><!--/.well -->
</div><!--/row-->
<hr>
<footer>
<address id="about">
Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican <i class="icon-external-link"></i></a>,
which takes great advantage of <a href="http://python.org">Python <i class="icon-external-link"></i></a>.
</address><!-- /#about -->
<p>The theme is from <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter <i class="icon-external-link"></i></a>,
and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome <i class="icon-external-link"></i></a>, thanks!</p>
</footer>
</div><!--/.fluid-container-->
<script type="text/javascript">
var disqus_shortname = 'liugehaonotebook';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- Le javascript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://liugehao.github.io/theme/js/jquery-1.7.2.min.js"></script>
<script src="http://liugehao.github.io/theme/js/bootstrap.min.js"></script>
</body>
</html>