亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

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

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

puppet源碼安裝部署

發布時間:2020-07-07 16:54:52 來源:網絡 閱讀:476 作者:liuk1303 欄目:編程語言

一、安裝環境

系統環境

CentOS release 6.8 (Final)

2.6.32-642.1.1.el6.x86_64

編譯環境

gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) 


二、源碼編譯Puppet

步驟1 Ruby的安裝

wget https://codeload.github.com/ruby/ruby/zip/ruby_1_8_7

unzip ruby-ruby_1_8_7.zip

cd ruby-ruby_1_8_7

run autoconf to (re)generate configure.

./configure --prefix=/usr/local/puppet-2.7.25

make

make install

出現如下錯誤:

  1. ossl_pkey_ec.c:761: warning: assignment makes pointer from integer without a cast

  2. ossl_pkey_ec.c:815: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)

  3. ossl_pkey_ec.c:815: error: (Each undeclared identifier is reported only once

  4. ossl_pkey_ec.c:815: error: for each function it appears in.)

解決辦法:

該問題在ruby網站上已經提交并有了補丁。

參見鏈接:https://bugs.ruby-lang.org/issues/8384

vi ext/openssl/ossl_pkey_ec.c

 760 #if !defined(OPENSSL_NO_EC2M)

 761             } else if (id == s_GF2m_simple) {

 762                 method = EC_GF2m_simple_method();

 763 #endif

.......

 816 #if !defined(OPENSSL_NO_EC2M)

 817             } else if (id == s_GF2m) {

 818                 new_curve = EC_GROUP_new_curve_GF2m;

 819 #endif  

步驟2 安裝Ruby的擴展支持及手動導入系統環境變量

export PATH=$PATH:/usr/local/puppet/bin:/usr/local/puppet/sbin

[root@puppet ruby-ruby_1_8_7]# ruby -r base64 -e "puts:installed"

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r cgi -e "puts:installed"      

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r digest/md5 -e "puts:installed"      

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r etc -e "puts:installed"          

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r fileutils -e "puts:installed"   

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r ipaddr -e "puts:installed"         

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r openssl -e "puts:installed"      

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r strscan -e "puts:installed"       

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r syslog -e "puts:installed"       

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r uri -e "puts:installed"      

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r webrick -e "puts:installed"   

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r webrick/https -e "puts:installed"

installed

[root@puppet ruby-ruby_1_8_7]# ruby -r xmlrpc/client -e "puts:installed"            

installed

步驟3 安裝ruby-shadow

wget https://codeload.github.com/apalmblad/ruby-shadow/zip/2.1.4

unzip ruby-shadow-2.1.4.zip

cd ruby-shadow-2.1.4

ruby extconf.rb 

make

make install

步驟4 安裝Facter

wget https://codeload.github.com/puppetlabs/facter/zip/1.7.4

unzip facter-1.7.4.zip

cd facter-1.7.4

ruby install.rb 

步驟5 安裝Puppet

wget https://codeload.github.com/puppetlabs/puppet/zip/2.7.x

unzip puppet-2.7.x.zip 

cd puppet-2.7.x 

ruby install.rb --full




向AI問一下細節

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

AI

安福县| 伊春市| 义乌市| 获嘉县| 南华县| 砀山县| 元阳县| 莱芜市| 甘谷县| 平江县| 温宿县| 瑞昌市| 柏乡县| 开原市| 德令哈市| 大余县| 崇义县| 蓬安县| 朝阳市| 萍乡市| 石阡县| 双江| 常德市| 砚山县| 卢龙县| 皮山县| 布拖县| 广汉市| 延津县| 南汇区| 晋宁县| 大埔县| 基隆市| 濮阳市| 原平市| 桂阳县| 马关县| 葵青区| 兴宁市| 榕江县| 历史|