1.二进制程序的访问方法 vim /etc/profile.d/apache.sh PATH=/usr/local/apache/bin:/usr/local/apache/sbin=$PATH export PATH 2.头文件输出给系统 ln -sv /sur/local/apache/include /usr/include/httpd 3.库文件输出 vim /etc/ld.so.conf.d/httpd.conf /usr/local/apache/bin ldconfig -v 重新生成库文件路径缓存 4.导出man文件 vim /etc/man.config 添加 MANPATH /usr/local/apache/man 5.编译二进制包 rpmbuild --bb name-version-release.src.rpm
时间: 2024-10-12 04:11:20