linux 源码安装软件
2016-09-20 00:00
323 查看
1 下载软件包
wget http://172.16.10.1/resource/http_source/apr-1.4.5.tar.gz
wget http://172.16.10.1/resource/http_source/apr-util-1.3.12.tar.gz
wget http://172.16.10.1/resource/http_source/httpd-2.4.23.tar.gz
特殊提示: wget 下载遇到中文文件名称定时候可能会有乱码,加上 --restrict-file-names=nocontrol 即可
wget -r -np http://172.16.10.1/teach/ 可以批量下载
2 解压文件,三个软件包解压到三个不同的目录
tar -xzvf apr-1.4.5.tar.gz
tar -xzvf apr-util-1.3.12.tar.gz
tar -xzvf httpd-2.4.23.tar.gz
3 安装apr-1-4-5
3.1 进入软件解压包 cd apr-1.4.5 进行校验是否能安装
./configure --prefix=/opt/install_path/apr
3.2 编译
make
3.3 安装
make install
4 安装apr-unti
4.1 进入软件解压包 cd apr-util-1.3.12进行校验
./configure --prefix=/opt/install_path/apr-util --with-apr=/opt/install_path/apr
4.2 编译
make
4.3 安装
make install
5 安装httpd-2.4.23
5.1 进入软件解压包cd httpd-2.4.23进行校验
./configure --prefix=/opt/install_path/httpd --with-apr=/opt/install_path/apr --with-apr-util=/opt/install_path/apr-util
5.2 编译
make
5.3 安装
make install
6 启动
/opt/install_path/httpd/bin/httpd -f /opt/install_path/httpd/conf/httpd.conf
wget http://172.16.10.1/resource/http_source/apr-1.4.5.tar.gz
wget http://172.16.10.1/resource/http_source/apr-util-1.3.12.tar.gz
wget http://172.16.10.1/resource/http_source/httpd-2.4.23.tar.gz
特殊提示: wget 下载遇到中文文件名称定时候可能会有乱码,加上 --restrict-file-names=nocontrol 即可
wget -r -np http://172.16.10.1/teach/ 可以批量下载
2 解压文件,三个软件包解压到三个不同的目录
tar -xzvf apr-1.4.5.tar.gz
tar -xzvf apr-util-1.3.12.tar.gz
tar -xzvf httpd-2.4.23.tar.gz
3 安装apr-1-4-5
3.1 进入软件解压包 cd apr-1.4.5 进行校验是否能安装
./configure --prefix=/opt/install_path/apr
3.2 编译
make
3.3 安装
make install
4 安装apr-unti
4.1 进入软件解压包 cd apr-util-1.3.12进行校验
./configure --prefix=/opt/install_path/apr-util --with-apr=/opt/install_path/apr
4.2 编译
make
4.3 安装
make install
5 安装httpd-2.4.23
5.1 进入软件解压包cd httpd-2.4.23进行校验
./configure --prefix=/opt/install_path/httpd --with-apr=/opt/install_path/apr --with-apr-util=/opt/install_path/apr-util
5.2 编译
make
5.3 安装
make install
6 启动
/opt/install_path/httpd/bin/httpd -f /opt/install_path/httpd/conf/httpd.conf
相关文章推荐
- Linux 源码安装软件之 configure 参数解释
- Linux操作系统下如何编译安装源码包软件
- linux学习之源码安装软件
- linux下软件源码安装
- linux源码包软件的安装与卸载
- Linux如何编译安装源码包软件
- linux源码包软件的安装与卸载
- linux软件源码的编译安装
- Linux如何编译安装源码包软件
- Linux如何编译安装源码包软件
- Linux 源码安装软件之 configure 参数解释
- Linux编译安装源码包软件
- Linux操作系统下如何编译安装源码包软件
- Linux编译安装源码包软件
- linux下,删除用源码安装的软件
- linux 如何从源码包安装软件?
- Linux下的安装(源码包和RPM包)软件包的命令方法
- linux下源码安装软件
- Linux下源码方式安装的软件,如何干净卸载?(转)
- Linux下使用源码编译安装软件