# make VM in vagrant
https://github.com/doohee323/fedora16_in_vagrant
# change repo. source
vi /etc/yum.repos.d/fedora.repo
sudo mkdir /etc/yum.repos.d/repo.disabled
sudo mv /etc/yum.repos.d/* repo.disabled
sudo vi /etc/yum.repos.d/fedora16.repo
[Fedora16-Repository]
name=DVD-Fedora16 Repository
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/16/Fedora/x86_64/os/
enabled=1
gpgcheck=0
yum clean all
yum search glibc
sudo yum install glibc-common.x86_64
# get source
sudo yum install curl-devel expat-devel gettext-devel \
openssl-devel perl-devel zlib-devel
git clone https://github.com/openssl/openssl.git
git ls-remote --tags ./.
git ls-remote --tags ./. | grep OpenSSL_1_0_2
git checkout tags/OpenSSL_1_0_2g
git describe --tags
# build
./config
#./config --prefix=/usr/local --openssldir=/usr/local/openssl
make
make test
sudo make install
export PATH=$PATH:/usr/local/ssl/bin
# version check
openssl version -a
[vagrant@localhost openssl]$ openssl version -a
OpenSSL 1.0.0e-fips 6 Sep 2011
# remove old ones
sudo yum remove openssl-devel
sudo rm -Rf /usr/bin/openssl /usr/lib64/openssl /usr/local/openssl /usr/share/man/man1/openssl.1ssl.gz
# cf. doesn't work with dependancies
wget ftp://195.220.108.108/linux/mageia/distrib/5/x86_64/media/core/updates/openssl-1.0.2g-1.1.mga5.x86_64.rpm
rpm -U openssl-1.0.2g-1.1.mga5.x86_64.rpm
wget ftp://rpmfind.net/linux/centos/6.7/updates/x86_64/Packages/openssl-1.0.1e-42.el6_7.4.i686.rpm
rpm -U openssl-1.0.1e-42.el6_7.4.i686.rpm
Comments
Post a Comment