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

溫馨提示×

溫馨提示×

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

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

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

大荔县| 比如县| 黎川县| 凌云县| 秦安县| 饶平县| 保康县| 大同县| 西安市| 阜南县| 兴业县| 五峰| 洞头县| 永善县| 台州市| 贺兰县| 鹤岗市| 修武县| 丘北县| 达州市| 腾冲县| 田阳县| 株洲县| 宿松县| 黄浦区| 咸宁市| 钟山县| 云霄县| 交口县| 渭源县| 金溪县| 威宁| 丘北县| 建阳市| 乡城县| 福安市| 宾川县| 宁安市| 祁阳县| 乌兰浩特市| 拉孜县|