본문 바로가기

반응형

centos

리눅스 lsb_release 명령어 lsb_release 명령어 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 redhat에서 redhat-lsb-core(lsb_release) 패키지를 설치하는 방법 yum install -y redhat-lsb-core $ yum install -y redhat-lsb-core ====================================================================================== Package Arch Version Repository Size ===================================================.. 더보기
CentOS 7에서 PHP-FPM을 최신 버전으로 설치하기 CentOS 7에서 PHP-FPM(php-fpm 8.1)을 최신 버전으로 설치하기 php-fpm : PHP FastCGI Process Manager CentOS 7에는 PHP 8.1 버전이 공식적으로 포함되어 있지 않습니다. CentOS 7의 기본 저장소에서는 PHP 8.1이 제공되지 않으며, PHP 8.1을 설치하려면 추가적인 저장소를 구성해야 합니다. 아래는 Remi 저장소를 사용하여 CentOS 7에 PHP 8.1을 설치하는 방법을 안내합니다. Remi 저장소는 최신 PHP 버전을 제공하는 인기있는 저장소 중 하나입니다. 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 EPEL 및 .. 더보기
리눅스 curl 명령어(curl bash -x) curl 명령어(curl bash -x) curl로 스크립트를 다운로드하기 curl -Ssf https://sangchul.kr/scripte/webconfsync.sh -o /tmp/webconfsync.sh curl로 스크립트를 다운로드하고 실행하기 curl -Ssf https://sangchul.kr/scripte/webconfsync.sh | bash -x wget을 사용하여 스크립트를 다운로드하고 실행하기 wget -qO - https://sangchul.kr/scripte/webconfsync.sh | bash -x 참고URL - curl 명령어 : https://scbyun.com/1005 더보기
CentOS 8에서 Webalizer를 설치하는 방법 CentOS 8에서 Webalizer를 설치하는 방법 Webalizer는 웹 서버 로그를 분석하고 웹 사이트 트래픽을 시각화하는 데 사용되는 오픈 소스 웹 로그 분석 도구입니다. Webalizer는 다양한 유형의 웹 서버 로그를 지원하며, 다양한 시간 범위 및 요약 수준으로 웹 사이트 트래픽을 분석할 수 있습니다. Webalizer는 또한 웹 사이트 트래픽의 원천을 분석하고, 가장 인기 있는 웹 페이지를 식별하고, 각 웹 페이지의 평균 다운로드 시간을 계산할 수 있습니다. Webalizer를 사용하려면 먼저 웹 서버 로그를 Webalizer의 데이터베이스에 저장해야 합니다. Webalizer는 다양한 방법으로 웹 서버 로그를 가져올 수 있습니다. 가장 일반적인 방법은 Webalizer를 웹 서버에 설치하.. 더보기
[linux] rpcgen install for centos 8 rpcgen install for centos 8 CentOS-PowerTools.repo create file $ vim /etc/yum.repos.d/CentOS-PowerTools.repo # CentOS-PowerTools.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other m.. 더보기
curl 명령어로 웹사이트 로딩 속도를 테스트하는 방법 curl 명령어로 웹사이트 로딩 속도를 테스트하는 방법 curl 버전 정보 $ curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets http code 출력 curl -s -o /dev/nul.. 더보기
NGINX와 PHP-FPM을 연동하여 PHP 스크립트를 처리하는 방법 NGINX와 PHP-FPM을 연동하여 PHP 스크립트를 처리하는 방법 1. NGINX 설치 https://scbyun.com/1078 2. PHP-FPM 설치 https://scbyun.com/1080 3. NGINX 설정 nginx(fastcgi_params) 설정 cat /etc/nginx/fastcgi_params fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info; EOF (or) vim /etc/nginx/fastcgi_params fastc.. 더보기
CentOS 7에서 Supervisor(supervisord 데몬)를 설치하는 방법 CentOS 7에서 Supervisor(supervisord 데몬)를 설치하는 방법 UNIX에서 프로세스 상태 제어를 허용하는 시스템 EPEL 저장소 설치 yum install epel-release Supervisor 설치 supervisor 패키지 설치 yum install -y supervisor supervisor 버전 정보 확인 supervisord --version $ supervisord --version 3.4.0 Supervisor 서비스 시작 및 활성화 systemctl --now enable supervisord $ systemctl status supervisord ● supervisord.service - Process Monitoring and Control Daemon Load.. 더보기

728x90
반응형