惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

博客园 - CrunchYou

VMWare虚拟机Bridged类型网卡ping不通的原因和解决办法 CentOS以及Oracle数据库发展历史及各版本新功能介绍, 便于构造环境时有个对应关系 virtio-blk简介[转] UML基础与Rose建模实训教程 实现阶段, 详细设计, 编码过程中的控制与管理 应用系统部署后远程备份 POSIX正则表达式 修改msde登录方式,设置sa密码为空 windows脚本调用批处理 诗经 全文 转:ADO.NET连接字符串 MindProject R6025解决 颜色的搭配适用,摘自某论坛 准确理解SO_REUSEADDR [转]UDP穿透NAT的原理与实现(UDP“打洞”原理) [转载]QQ空间技术架构之深刻揭密 Eclipse快捷键大全(转载) boost编译过程 -- linux log4cxx编译过程–linux
openssl的编译 - linux
CrunchYou · 2013-04-27 · via 博客园 - CrunchYou

环境: CentOS 6.3 gcc-4.4.6 openssl-1.0.1c

CentOS 6.3安装时, 选择了openssl组件的, 但最高版本为1.0.0e. 我们程序中使用的版本为
1.0.1c. 所以需要自己动手下载openssl-1.0.1c, 然后手动安装.
OS自带的openssl安装后, lib是在/usr/lib下, include在/usr/include下.

openssl在linux下的比windows下还要简单一些.
首先查看openssl解压后, 根目录下的INSTALL文件.
里面会告诉编译前的准备和编译步骤.

1 准备工作:
  主要是perl 5.0以上的版本.
  yum install perl.i686 –> yum list perl 可以查看名称

2 ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl threads zlib shared
  INSTALl 有各项参数的说明

3 make

4 make test - 如果需要test的话.

5 make install

--> 完成. include和lib, ssl可执行文件等, 在/usr/local/openssl下.

如果不指定--prefix和--openssldir, 那么, 生成的文件在
/usr/local/include, /usr/local/lib, /usr/local/ssl这三个目录下
--prefix是指定include和lib install路径
--openssldir是指定bin  certs  man  misc  openssl.cnf  private的安装路径