728x90
반응형

윈도11 설치 (미지원 하드웨어)

setup /product server

 

로컬 계정으로 설치 (MS계정 사용 안함)


oobe\bypassnro

728x90
SMALL
Posted by gromet
728x90
반응형

오디오코드 메디언트 500 

AudioCodes Mediant 500 

AudioCodes M500-ESBC

Voip Solution

줌폰, 구글폰 등 SIP 연결용 게이트웨이 장비

 

 

https://www.audiocodes.com/solutions-products/products/session-border-controllers-sbcs/mediant-500-sbc

 

Mediant 500/500L Session Border Controller (SBC)

The AudioCodes Mediant 500/500L are compact, high performance hybrid session border controller (SBC) and media gateway devices for small enterprises and branch office locations.

www.audiocodes.com

 

프로젝트 진행 후 남은 장비 판매합니다.

 

제품: 1. M500-ESBC (하드웨어)

         2. SW/SBC/10S/10-250 (Session 라이선스)

         3. SW/SBC/10T/10-250 (Transcoding 라이선스)

제품상태: 개봉 / 미사용

제품가격: 250만원

 

 

#오디오코드 #AudioCodes #메디언트 #Mediant #M500-ESBC #ESBC #VOIP #SIP

728x90
SMALL
Posted by gromet

2023. 10. 26. 09:32 WorkHolic

CentOS 8 php-imap 문제

728x90
반응형

CentOS 8 php-imap 문제

 

CentOS 8 php-imap 문제

CentOS 8 install php-imap
https://forum.mailwizz.com/threads/centos-8-install-php-imap.7476/

php72 remi repo not compatible with CentOS8 php 7.2.11

I followed the remirepo instructions and I switched stream for php from centos8 to remipro:
https://forums.centos.org/viewtopic.php?t=72195


RHEL 8.8 to Rocky Linux 8.8 Migration
It seems to hit version 8.2 instead of going to 8.8.
https://forums.rockylinux.org/t/rhel-8-8-to-rocky-linux-8-8-migration/10678

How to Install PHP Extensions on CentOS 8
https://www.liquidweb.com/kb/how-to-install-php-extensions-on-centos-8/

Install imap extension on PHP 7.x or Higher in CentOS 8
https://blog.olineit.com/2021/06/install-imap-extension-on-php-7x-or.html

728x90
SMALL
Posted by gromet
728x90
반응형

MySQL: Fastest way to count number of rows

데이터의 수량을 빨르게 확인하는 방법

 

MySQL DB replication을 하고 있는데 중간에 오류가 났다.
2개 DB의 데이터가 얼마나 틀리는지 알고 싶었다.
150GB의 DB데이터를 빨리 비교하는 방법을 확인해 보았다.

 

 

This is the best query able to get the fastest results.

SELECT SQL_CALC_FOUND_ROWS 1 FROM `orders`;
SELECT FOUND_ROWS();

 

일반적으로 많이 사용하지만 느리다

 

SELECT COUNT(*) FROM ... WHERE ...

SELECT 1 FROM ... WHERE ...



I did some benchmarks to compare the execution time of COUNT(*) vs COUNT(id) 
(id is the primary key of the table - indexed).

Number of trials: 10 * 1000 queries

Results: COUNT(*) is faster 7%

 

결과가 빠르게 나오기는 하지만, 결과값이 의심스럽다.

EXPLAIN SELECT id FROM ....

see the number of rows under rows column of the result.

 

 

MySQL: Fastest way to count number of rows

 

MySQL: Fastest way to count number of rows

Which way to count a number of rows should be faster in MySQL? This: SELECT COUNT(*) FROM ... WHERE ... Or, the alternative: SELECT 1 FROM ... WHERE ... // and then count the results with a bu...

stackoverflow.com

 

728x90
SMALL
Posted by gromet

2023. 8. 18. 18:15 WorkHolic

OpenSSL 1.1.1 / CentOS 6

728x90
반응형

Is there a way to install openssl 1.1.1 or later on centOS 6?

https://github.com/openssl/openssl/issues/19750

 

Using centOS 6 (i know..eol, but I can't switch or upgrade quite yet.).
If relevant, please remember to tell us in what OpenSSL version you
found the issue.

Trying to install OpenSSL 1.1.1s by compiling from source
Downloaded the openssl source code from openss.org (openssl-1.1.1s.tar.gz) to /usr/src/openssl-1.1.1s.tar.gz
Then I unzipped it to to /usr/src/openssl-1.1.1s
Then I cd'ed into /usr/src/openssl-1.1.1s
issued the following commands
 
After that it appears that it it installed the new open SSL binary in /usr/local/bin (so /usr/local/bin/openssl is the location), and that it installed shared objects? in /usr/local/lib64 (libssl.so.1.1, libcrypto.so.1.1, libcrypto.a, libssl.a). When I move the old openssl (v 1.0.1e-fips) for safekeeping and copy /usr/local/bin/openssl and then do a ./openssl version I get:
./openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
So, how can I get this to work? Any help is appreciated.
Thank you!
 
 
 
Member
t8m commented on Nov 24, 2022 • 
edited 
Do NOT replace the system openssl library, you will certainly break your system. The system applications built against the 1.0.1e version will not run with 1.1.1.
However, you can install the new version of openssl in /usr/local as you did. You might need to run ldconfig or configure the /usr/local/lib64 in /etc/ld.so.conf if the shared library loader cannot find the libcrypto.so.1.1 and libssl.so.1.1 placed there.
👍1
 
 
Author
Thank you. Can you please tell me what to do with ldconfig or what to put in /etc/ld.so.conf? I certainly would appreciate it.
 
 
 
Member
t8m commented on Nov 29, 2022
You just put a line with /usr/local/lib64 in /etc/ld.so.conf and run ldconfig as root.
 
 
 
Author
mrlerch commented on Nov 29, 2022 via email  • 
edited 
So this will not replace anything, but include that path, right? On Nov 28, 2022, at 10:40 AM, Tomáš Mráz ***@***.***> wrote: You just put a line with /usr/local/lib64 in /etc/ld.so.conf and run ldconfig as root. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
 
 
 
Member
t8m commented on Nov 29, 2022
Yes
 
 
 
Author
Thank you so much! That worked! Lifesaver you!
 
 
 
Author
mrlerch commented on Dec 13, 2022 via email 
Tomas, you rock. Thank you! That worked! Martin
 
 
 
Author
mrlerch commented on Jan 20
One more question. How can I get SSH to use the new OpenSSL?
SSH -v output:
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013

openssl version output:
OpenSSL 1.1.1s 1 Nov 2022

Is it even possible?
Thanks.
 
 
 
Member
t8m commented on Jan 20
You would have to build the openssh yourself to link it against the new openssl build. I personally would not recommend doing that unless you know what you're doing.

 

728x90
SMALL
Posted by gromet
728x90
반응형

클라이언트 아이피가 일치할 경우에만 프로그램 실행

 

Bing AI의 도움을 받음

#php #remote_addr #bing_ai

 

 

<?php
$ip = $_SERVER['REMOTE_ADDR']; // 클라이언트 IP 주소 가져오기
$allowed_ip = "192.168.0.1"; // 허용할 IP 주소 설정
if ($ip == $allowed_ip) { // IP 주소가 일치하면
  // 프로그램 실행
        echo $_SERVER['SERVER_ADDR'];
        phpinfo();
} else { // IP 주소가 일치하지 않으면
  // 에러 메시지 출력 또는 다른 작업 수행
        echo $ip;
        exit();
}
?>

 

728x90
SMALL
Posted by gromet
이전버튼 1 2 3 4 5 6 7 8 ··· 27 이전버튼

블로그 이미지
나는 운이 좋은 사람이다 나는 나날이 점점 더 좋아진다 내가 하는 선택과 행동은 반드시 성공으로 이어진다 내게는 인내력과 지속력이 있다 네게는 좋은것들만 모여든다
gromet

공지사항

Yesterday
Today
Total
반응형

달력

 « |  » 2024.7
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

160x600