Linux????????????????
???????????? ???????[ 2015/1/26 13:30:25 ] ????????Linux ??????
????????????????£???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???????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11