RockyLinux 8.x 에는 openssl 1.1.1 버전이 설치되어 있으므로 기존 openssl 라이브러리인 libcrypto.so.10, libssl.so.10 파일이 존재하지 않는 것 같습니다.

​RockyLinux 8.x 에 libcrypto.so.10, libssl.so.10 파일을 설치하는 방법은 다음과 같은 것 같습니다.

# yum install compat-openssl10
compat-openssl10 패키지에 포함된 파일 리스트는 다음과 같습니다.

# repoquery -l compat-openssl10
/etc/pki
/etc/pki/openssl10.cnf
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/b58c473d7139e785790ba04ff391537f6dd1f9
/usr/lib/.build-id/97
/usr/lib/.build-id/97/f01bd6cb968372c03fea6fc7c0806adbf40ba0
/usr/lib64/.libcrypto.so.1.0.2o.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/.libssl.so.1.0.2o.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libcrypto.so.1.0.2o
/usr/lib64/libcrypto.so.10
/usr/lib64/libssl.so.1.0.2o
/usr/lib64/libssl.so.10
/usr/share/doc/compat-openssl10
/usr/share/doc/compat-openssl10/FAQ
/usr/share/doc/compat-openssl10/NEWS
/usr/share/doc/compat-openssl10/README
/usr/share/doc/compat-openssl10/README.FIPS
/usr/share/doc/compat-openssl10/README.legacy-settings
/usr/share/licenses/compat-openssl10
/usr/share/licenses/compat-openssl10/LICENSE
/etc/pki
/etc/pki/openssl10.cnf
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/0572ab24f698a413b17a4bc6639ee04141e074
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/db58815e208df6a4da932ace9b21df133a9265
/usr/lib/.libcrypto.so.1.0.2o.hmac
/usr/lib/.libcrypto.so.10.hmac
/usr/lib/.libssl.so.1.0.2o.hmac
/usr/lib/.libssl.so.10.hmac
/usr/lib/libcrypto.so.1.0.2o
/usr/lib/libcrypto.so.10
/usr/lib/libssl.so.1.0.2o
/usr/lib/libssl.so.10
/usr/share/doc/compat-openssl10
/usr/share/doc/compat-openssl10/FAQ
/usr/share/doc/compat-openssl10/NEWS
/usr/share/doc/compat-openssl10/README
/usr/share/doc/compat-openssl10/README.FIPS
/usr/share/doc/compat-openssl10/README.legacy-settings
/usr/share/licenses/compat-openssl10
/usr/share/licenses/compat-openssl10/LICENSE


출처 :https://blog.naver.com/websearch/223125226220

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

User-Agent: <product>/<product-version> (platform; os version; ) Browser version ; <comment>

 

* 소문자로 치환된 값

- macbook, chrome

mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/94.0.4606.61 safari/537.36

- macbook, safari

mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/605.1.15 (khtml, like gecko) version/15.0 safari/605.1.15

- iphone, kakaotalk webview

mozilla/5.0 (iphone; cpu iphone os 15_0_1 like mac os x) applewebkit/605.1.15 (khtml, like gecko) mobile/15e148 kakaotalk 9.5.1

- iphone, safari

mozilla/5.0 (iphone; cpu iphone os 15_0_1 like mac os x) applewebkit/605.1.15 (khtml, like gecko) version/15.0 mobile/15e148 safari/604.1

- iphone, chrome

mozilla/5.0 (iphone; cpu iphone os 15_0 like mac os x) applewebkit/605.1.15 (khtml, like gecko) crios/94.0.4606.52 mobile/15e148 safari/604.1

- android, kakaotalk webview

Mozilla/5.0 (Linux; Android 15; SM-S908N Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/138.0.7204.63 Mobile Safari/537.36 KAKAOTALK/25.6.0 (INAPP) 

- android, chrome

Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Mobile Safari/537.36

- android, naver webview

mozilla/5.0 (linux; android 11; sm-a908n build/rp1a.200720.012; wv) applewebkit/537.36 (khtml, like gecko) version/4.0 chrome/80.0.3987.163 whale/1.0.0.0 crosswalk/25.80.14.29 mobile safari/537.36 naver(inapp; search; 1000; 11.6.7)

- windows, chrome

mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/94.0.4606.61 safari/537.36

- windows, edge

mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/94.0.4606.71 safari/537.36 edg/94.0.992.38

- windows, ie

mozilla/5.0 (windows nt 10.0; wow64; trident/7.0; .net4.0c; .net4.0e; .net clr 2.0.50727; .net clr 3.0.30729; .net clr 3.5.30729; zoom 3.6.0; rv:11.0) like gecko

* 추가 

- android, instagram webview

Mozilla/5.0 (Linux; Android 13; SM-S908N Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/120.0.6099.43 Mobile Safari/537.36 Instagram 311.0.0.32.118 Android (33/13; 420dpi; 1080x2115; samsung; SM-S908N; b0q; qcom; ko_KR; 545986896)

- android, naver webview

Mozilla/5.0 (Linux; Android 14; SM-S908N Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.0.0 Whale/1.0.0.0 Crosswalk/28.114.0.25 Mobile Safari/537.36 NAVER(inapp; search; 2000; 12.9.2)

- android, line webview

Mozilla/5.0 (Linux; Android 15; SM-S908N Build/AP3A.240905.015.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/138.0.7204.63 Mobile Safari/537.36 Line/15.10.2/IAB

 

- iphone, naver webview

Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/605.1 NAVER(inapp; search; 2000; 12.9.3; 12)

 

출처 : https://kakao-tam.tistory.com/110

 

리눅스 rpm 패키지는 의존적이다. 특정 패키지를 설치하기 위해서는 의존하고 있는 다른 패키지가 설치되어 있어야 한다.

패키지 의존성을 확인하려면 rpm 명령어에 -qpR 옵션을 사용하면 된다.

rpm -qpR [패키지명]

예를 들어 리눅스에 있는 openssl-1.0.2k-19.el7.x86_64.rpm 설치 시 필요한 의존성 확인을 위해서는

[root@newhost rpm]# rpm -qpR openssl-1.0.2k-19.el7.x86_64.rpm
/bin/bash
/bin/sh
coreutils
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libcom_err.so.2()(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
libcrypto.so.10(OPENSSL_1.0.2)(64bit)
libcrypto.so.10(libcrypto.so.10)(64bit)
libdl.so.2()(64bit)
libgssapi_krb5.so.2()(64bit)
libk5crypto.so.3()(64bit)
libkrb5.so.3()(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
libz.so.1()(64bit)
make
openssl-libs(x86-64) = 1:1.0.2k-19.el7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

이런 식으로 확인할 수 있다.


다만 여기 출력된 건 말그대로 필요한 패키지 목록일뿐 이 리눅스에 해당 패키지들이 설치가 되어 있는지를 알려주지는 않는다. 
그래서 이거 확인하는 게 큰 의미가 있나… 싶은 생각도 들긴 한다.

하지만 필요한 glibc 버전을 알 수 있다는 점에서 어느 정도 도움은 되지 않나 싶다.

libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit)

이런 식으로 같은 so 라이브러리에 대해 여러 개의 GLIBC 버전이 보이기도 하는데 이중 가장 높은 버전의 GLIBC 버전이 설치되어 있어야 한다고 생각하면 된다.
이 경우엔 GLIBC_2.15이 설치되어 있어야 된다.

ldd 버전을 확인하면 현재 리눅스에 설치된 glibc 버전을 볼 수 있다.

[root@newhost rpm]# ldd --version
ldd (GNU libc) 2.17

출처 : https://binwrite.com/linux-rpm-dependencies/

'All about car' 카테고리의 다른 글

엔진에 좋다는 연료첨가제의 진실은?  (0) 2015.10.28

[백업]

문법)

BACKUP DATABASE [데이터베이스명] TO DISK = [경로];

예제)

BACKUP DATABASE TEST TO DISK = 'E:\DB_BACKUP\TEST.bak';

 

[복원]

문법)

RESTORE DATABASE [복원 데이터베이스] FROM DISK = [경로] WITH MOVE [파일명] TO [저장경로]

예제)

RESTORE DATABASE TEST_T FROM DISK = 'E:\DB_BACKUP\TEST.bak' WITH 
     MOVE 'TEST' TO 'D:\DB\TEST_T.MDF',
     MOVE 'TEST_log' TO 'D:\DB\TEST_log.LDF'