91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

nagios制作rpm包

發布時間:2020-10-16 08:02:15 來源:網絡 閱讀:377 作者:zhaogaolong8 欄目:移動開發



rhel5.8 x64

# yum install gcc rpm-build pcre-devel

# pwd

/usr/src/redhat

# ls

BUILD  RPMS  SOURCES  SPECS  SRPMS




# tar jxvf nagios-cn-3.2.3.tar.bz2

# tar czvf nagios-cn-3.2.3.tar.gz nagios-cn-3.2.3

# cp nagios-cn-3.2.3.tar.gz /usr/src/redhat/SOURCES/


# cd nagios-cn-3.2.3

# cp nagios.spec /usr/src/redhat/SPECS/



# rpmbuild -ba nagios.spec


Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/nagios-cn-buildroot

Wrote: /usr/src/redhat/SRPMS/nagios-cn-3.2.3-1.src.rpm

Wrote: /usr/src/redhat/RPMS/x86_64/nagios-cn-3.2.3-1.x86_64.rpm

Wrote: /usr/src/redhat/RPMS/x86_64/nagios-cn-www-3.2.3-1.x86_64.rpm

Wrote: /usr/src/redhat/RPMS/x86_64/nagios-cn-devel-3.2.3-1.x86_64.rpm

Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.64353

+ umask 022

+ cd /usr/src/redhat/BUILD

+ cd nagios-cn-3.2.3

+ rm -rf /var/tmp/nagios-cn-buildroot

+ exit 0


==++++++++++++++++++++++++++++++++++++++++++++++++++=======


rhel 6.5x64


# yum install gcc rpm-build pcre-devel


# yum install -y gd-devel zlib-devel libpng-devel libjpeg-devel gd-devel libjpeg-devel


# pwd

/usr/src/redhat

# ls

BUILD  RPMS  SOURCES  SPECS  SRPMS




# tar jxvf nagios-cn-3.2.3.tar.bz2

# tar czvf nagios-cn-3.2.3.tar.gz nagios-cn-3.2.3

# cp nagios-cn-3.2.3.tar.gz /usr/src/redhat/SOURCES/


# cd nagios-cn-3.2.3

# cp nagios.spec /usr/src/redhat/SPECS/

# cd /usr/src/redhat/SPECS/

# vim nagios.spec


41 BuildRequires: gd-devel > 1.8, zlib-devel > 1.2.2, libpng-devel > 1.2.30, libjpeg-devel > 6.1.9 //修改前

41 BuildRequires: gd-devel > 1.8, zlib-devel > 1.2.2, libpng-devel > 1.2.30, libjpeg-devel  //修改后



#rpmbuild

-bp 只作準備 (解壓與打補丁)

-bc 準備并編譯

-bi 編譯并安裝

-bl 檢驗文件是否齊全

-ba 編譯后做成*.rpm和src.rpm

-bb 編譯后做成*.rpm

-bs 只做成*.src.rpm


# rpmbuild -bb nagios.spec

*******

Processing files: nagios-cn-devel-3.2.3-1

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1

Requires: nagios-cn = 3.2.3

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/nagios-cn-buildroot

Wrote: /usr/src/redhat/RPMS/x86_64/nagios-cn-3.2.3-1.x86_64.rpm

Wrote: /usr/src/redhat/RPMS/x86_64/nagios-cn-www-3.2.3-1.x86_64.rpm

Wrote: /usr/src/redhat/RPMS/x86_64/nagios-cn-devel-3.2.3-1.x86_64.rpm

Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.19349

+ umask 022

+ cd /usr/src/redhat/BUILD

+ cd nagios-cn-3.2.3

+ rm -rf /var/tmp/nagios-cn-buildroot

+ exit 0

You have new mail in /var/spool/mail/root









============================


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

永和县| 克什克腾旗| 乌苏市| 怀宁县| 迭部县| 鄯善县| 吉木乃县| 临夏县| 社旗县| 慈溪市| 建水县| 德化县| 耿马| 保康县| 霍林郭勒市| 磴口县| 济阳县| 巫山县| 长治县| 阿拉善左旗| 福泉市| 温宿县| 瑞丽市| 石屏县| 古浪县| 怀柔区| 台东县| 八宿县| 鹤峰县| 淮安市| 连城县| 清水河县| 和政县| 万盛区| 勃利县| 三江| 聂荣县| 茌平县| 怀来县| 嘉鱼县| 南和县|