查询postfix文件列表
cd /opt
rpm -ql postfix
查看ethtool软件详细信息
cd /mnt
ll
cd Packages/
rpm -qpi ethtool-4.8-9.el7.x86_64.rpm
cd /
rpm -ivh /mnt/Packages/lynx-2.8.8-0.3.dev15.el7.x86_64.rpm
编译安装
yum -y install gcc gcc-c++ make
掌握从源码包编译安装程序 (编译安装)
上传http-2.4.25.tar.gz软件包到/opt目录下
cd /opt
ll
解压压缩包
tar xzvf httpd-2.4.25.tar.gz -C /opt
进入httpd-2.4.25目录
./configure配置 这里添加了安装的路径
rpm -ivh /mnt/Packages/pcre-devel-8.32-17.el7.x86_64.rpm
rpm -ivh /mnt/Packages/apr-devel-1.4.8-3.el7_4.1.x86_64.rpm
rpm -ivh /mnt/Packages/expat-devel-2.1.0-10.el7_3.x86_64.rpm
rpm -ivh /mnt/Packages/libdb-devel-5.3.21-24.el7.x86_64.rpm
rpm -ivh /mnt/Packages/cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm
rpm -ivh /mnt/Packages/openldap-devel-2.4.44-20.el7.x86_64.rpm
rpm -ivh /mnt/Packages/apr-util-devel-1.5.2-6.el7.x86_64.rpm
make
make install
在194行 # 号去掉
vi /usr/local/apache/conf/httpd.conf
shift+:
:set nu^I
安装客户端浏览器
rpm -ivh /mnt/Packages/lynx-2.8.8-0.3.dev15.el7.x86_64.rpm