????????????????£???linux?????????????????????????????????????^_^??
??????????????????
????Linux?3?????????????????????
????????????????????????е???????
?????????????????????????lib???μ????
?????????????????????????????
????????????????????????linux????man???????????????
????????linux?3????????
????linux????????????????????????
????/etc?? /bin?? /sbin?? /lib  ????????????????????Щ?????????????????????????????????????
????/usr/bin??/usr/sbin??/usr/lib???????????????????????????
????/usr/local/bin??/usr/local/sbin??/usr/local/lib??/usr/local/etc??/usr/local/man?????????????????????????????????????????????????????????????????
??????????????????????? /usr/local????
??????????????????
????1???????????????????????gcc??????????п???????yum???gcc
????gcc --version  #??????gcc
????2??????????????磺
????tar -xvf nginx-1.7.7.tar.gz #???????
????3?????????????????
????cd nginx-1.7.7 #????????
????4?????configure?????????????????????1???????????????????2????????????configure??к?????MakeFile????????磺
????./configure --prefix=/usr/local/nginx --conf-path=/etc/nginx/nginx.conf
???????????????--prefix???????·???????--conf-path?????????????????λ?á???????????е?????configure????????????? ??????? ./configure --help??????????????????ó??????????????????????а?????????configure???????????????????????????????
????5?????make???????????
????make
????6?????????????????????????????
????make install
????????????????????????????????к??????????
??????????ó???
????1?????PATH???????????????????????????????·????
???????/etc/profile???????????? ???
????export PATH=$PATH:/path/to/somewhere????#?????????????????????·???в????????????????
?????????? ??
????source /etc/profile #????????????Ч
????2?????????£??????????????·??/lib?? /usr/lib; ???????????·??(????е???????????????????????????)
??????/etc/ld.so.conf.d/?д?????.conf????????????????????????·?????д????????У????????????????????Ч
????ldconfig
????3??????????????????????????????????????????????include???£???????????????·?????/usr/include???????????/usr/include??????????????????????????????
????ln -s /usr/local/nginx/include  /usr/include/yourname
????4???????????????????????????????μ?man?????????????????man????????????????????????????????/etc/man.config????????MANPATH???????????????