亚洲春色中文字幕久久久-三上亚,一吻二脱三床四吻胸,国产真实伦对白视频全集,在线毛片观看,精品成品入口黄网,国产毛aⅴ片久久久,亚洲AV色香蕉一区二区三区老师,萧皇后A级艳片,色情日本视频更新,99久久亚洲精品日本无码

標(biāo)題: Linux下的openssl安裝 [打印本頁(yè)]

作者: 51黑tt    時(shí)間: 2016-3-5 18:12
標(biāo)題: Linux下的openssl安裝
我從網(wǎng)上搜索到了一篇安裝openssl的英文文章,地址在 http://www.devside.net/web/server/linux/openssl 我按照上面說(shuō)的安裝了zlib,openssl。步驟簡(jiǎn)介如下(怕以后忘了)   
先安裝zlib,見(jiàn)linux下安裝zlib
安裝openssl
Building a Web Server, for Linux
下載地址
Our ConfigurationBuild InstructionsConfigure.../openssl-0.9.8c]# ./config --prefix=/usr/local/ --openssldir=/usr/local/openssl -g3 shared zlib-dynamic enable-camellia

display guess on system made by './config'...
.../openssl-0.9.8c]# ./config -t 正式安裝,Build and Install*測(cè)試是否安裝成功,#openssl version 是否是新安裝的版本

SymlinkForm symlink from '/usr/local/ssl-0.9.8c' to '/usr/local/ssl'
Update the Run-time Linkerld.so.cache will need to be updated with the location of the new OpenSSL shared libs: libcrypto.so.0.9.8 and libssl.so.0.9.8
Sometimes it is sufficient to just symlink or copy these two files to /lib, but we recommend you follow these instructions instead.
Edit /etc/ld.so.conf, add to paths...
/usr/local/ssl/lib Update the run-time linker...
...]# ldconfig Update the PATHEdit /root/.bash_profile, add to PATH variable...
/usr/local/ssl/bin Re-login.
[sanity check] OpenSSLVerify that binary 'openssl' is linking against the correct ssl libraries...
...]# ldd /usr/local/openssl/bin/openssl ...]# which openssl /usr/local/ssl/bin/openssl...]# openssl version OpenSSL 0.9.8c 05 Sep 2006If another path, or an older version is shown, your system contains a previously installed OpenSSL that is first [relative to the newer openssl] in the path.
Repeate the steps in section 'Update the PATH', except place the specified location at the start of the PATH variable.
Note that the older openssl, on most systems, is located under /usr/bin
The location of 'openssl' can be found with...
...]# which openssl
     但是我最后沒(méi)有得到想要的結(jié)果,系統(tǒng)原來(lái)的openssl還是沒(méi)能卸載掉,我該怎么做那?我繼續(xù)搜索資料,哈,幸運(yùn)的我找了,在一個(gè)國(guó)內(nèi)論壇上是這么說(shuō)的
      cd /usr/local/ssl/lib
      ln -s libcrypto.so.0.9.7 libcrypto.so.2
      ln -s libssl.so.0.9.7 libssl.so.2

      //最后要刷新系統(tǒng)的動(dòng)態(tài)連接庫(kù)配置
      echo /usr/local/ssl/lib >> /etc/ld.so.conf
      ldconfig -v
        這下子我豁然開(kāi)朗,原來(lái)依賴(lài)的那2個(gè)文件是個(gè)軟鏈接啊,我把它修改為我現(xiàn)在真正的openssl庫(kù)文件不是就行了嗎?于是一頓忙碌后,我終于執(zhí)行了 rpm -e -nodeps ,然后重新啟動(dòng)系統(tǒng),一路運(yùn)行下去,全是綠燈。一時(shí)間感覺(jué)自己好幸福啊





歡迎光臨 (http://www.denmoz.com/bbs/) Powered by Discuz! X3.1