linux中openssl安装需要哪些软件包

linux中openssl安装需要哪些软件包,第1张

安装环境:

*** 作系统:RedHat 12.0

OpenSSL Version:openssl-0.9.8l

Download

安装包(Linux source) : openssl-0.9.8l.tar.gz(or the latest version of openssl)

下载地址:http://www.openssl.org/source/

在linux下解压缩下载到的安装包,命令如下.....

tar -xzf openssl-xxx.tar.gz

Our Configuration

Install to : /usr/local/ssl

Module type : dynamically and staticly loaded modules, *.so *.a

Build Instructions

Configure

.../openssl-0.9.8l]# ./config --prefix=/usr/local/ssl-0.9.8l shared zlib-dynamic enable-camellia

--prefix=/usr/local/ssl-0.9.8l

[this is the installation locationdefault is '/usr/local/ssl' -- which we will symlink]

shared

[in addition to the usual static libraries, create shared libraries]

zlib-dynamic

[like "zlib", but has OpenSSL load the zlib library dynamically when needed]

enable-camellia

[enables the symmetric cipher 'Camellia' (128-bit, 192-bit, 256-bit key versions), which is now available for royalty-free use]

display guess on system made by './config'...

.../openssl-0.9.8l]# ./config -t

Build and Install

.../openssl-0.9.8l]# make depend

[step required since extra cipher was enabled]

.../openssl-0.9.8l]# make

.../openssl-0.9.8l]# make test

.../openssl-0.9.8l]# make install

Symlink

Form symlink from '/usr/local/ssl-0.9.8l' to '/usr/local/ssl'(...]代表“/usr/local/”)

...]# cd /usr/local

/usr/local]# ln -s ssl-0.9.8l ssl

Update the Run-time Linker

ld.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...(修改效果如下图1,当然也可以直接在/etc/ld.so.conf.d文件夹下再创建一个.conf文件,把/usr/local/ssl/lib拷贝到里面,另外也可以在现有的.conf文件中添加这个路径,反正ld.so.conf中包含了这个文件夹下的所有.conf文件)

SUSE 界一个很出众的地方在于,它们将绝大多数的系统管理集中于一个名为 YaST2 (另一个设置工具)的工具。你可以从 YaST2 里面处理许多事情――其中一件事就是管理系系统上的软件

我准备使用最新版本的 openSUSE ( 13.2 )和 KDE 桌面。如果你选择了 GNOME 桌面环境,这不会改变 YaST (只是改变你如何找到 YaST2 )。

找到 YaST2 的最容易的方式就是,打开 KDE “ K ”菜单,在搜索栏中输入“ yast ”。 YaST2 项出现后,点击它,即可启动这款工具。

一旦 YaST2 打开,点击左侧导航面板上的 Software (软件)项,就可以显示所有可用的与软件相关的项

安装软件

我想演示的第一点就是如何安装一款软件。这相当简单。从 YaST2 的 Software (软件)部分,点击 Software Management (软件管理),等待软件管理系统打开。

1. 在搜索栏中输入你想要安装的那个软件的名称。

2. 点击 Search (搜索)。

3. 软件出现在主面板中后,点击相关的复选框(见图 3 )。

4. 点击 Accept (接受)。

5. 浏览依赖项(会出现d出式窗口)。

6. 如果依赖项可以接受,点击 Continue (继续)。

7. 让安装过程完成。

8. 软件安装完毕后,点击 Finish (完成)

更新软件

你用 YaST2 能做的最重要的事情之一就是更新系统。更新版至关重要,因为它们常常含有安全补丁和修正版。可以从 YaST2 的同一个子部分(软件)里面来处理更新版。在该子部分里面,你会找到一个项名为 Online Update (在线更新)。点击该项, YaST2 会检查可用的更新版。检查完毕后,系统会显示完整列表,列出了可用更新版


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/8393731.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-16
下一篇2023-04-16

发表评论

登录后才能评论

评论列表(0条)

    保存