centos (177) 썸네일형 리스트형 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/wget으로 스크립트 다운로드 및 실행하기 curl / wget으로 스크립트 다운로드 및 실행하기 (bash -x)curl과 wget은 원격 서버의 파일을 다운로드하거나 스크립트를 바로 실행할 때 자주 사용하는 CLI 도구입니다.특히 서버 초기 설정, 자동화 스크립트 실행, 배포 스크립트 실행 등에 많이 활용됩니다.1. curl로 스크립트 다운로드원격 서버에 있는 스크립트를 로컬 파일로 저장합니다.curl -Ssf https://sangchul.kr/scripte/webconfsync.sh -o /tmp/webconfsync.sh옵션 설정-S 오류 발생 시 에러 메시지 출력-s 진행 상태(progress) 출력 생략-f HTTP 오류(4xx, 5xx) 발생 시 실패 처리-o 출력 파일 지정다운로드 후 파일 확인ls -l /tmp/webconfsy.. CentOS 8에서 Webalizer를 설치하는 방법 CentOS 8에서 Webalizer를 설치하는 방법Webalizer는 웹 서버 로그를 분석하고 웹 사이트 트래픽을 시각화하는 데 사용되는 오픈 소스 웹 로그 분석 도구입니다. Webalizer는 다양한 유형의 웹 서버 로그를 지원하며, 다양한 시간 범위 및 요약 수준으로 웹 사이트 트래픽을 분석할 수 있습니다. Webalizer는 또한 웹 사이트 트래픽의 원천을 분석하고, 가장 인기 있는 웹 페이지를 식별하고, 각 웹 페이지의 평균 다운로드 시간을 계산할 수 있습니다. Webalizer를 사용하려면 먼저 웹 서버 로그를 Webalizer의 데이터베이스에 저장해야 합니다. Webalizer는 다양한 방법으로 웹 서버 로그를 가져올 수 있습니다. 가장 일반적인 방법은 Webalizer를 웹 서버에 설치하고.. rpcgen install for centos 8 rpcgen install for centos 8CentOS-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 mirrors... 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/10803. NGINX 설정nginx(fastcgi_params) 설정cat > /etc/nginx/fastcgi_paramsfastcgi_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_para.. 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.. CentOS 7에서 전원 버튼을 비활성화하는 방법 CentOS 7에서 전원 버튼을 비활성화하는 방법- 시스템이 비정상적으로 종료되는 현상이 발생하였다.테스트 환경서버 모델$ dmidecode -t system | egrep 'Manufacturer|Product Name' Manufacturer: HP Product Name: ProLiant DL360p Gen8운영체제 버전$ cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core)운영체제 아키텍처$ uname -aLinux test-server 3.10.0-1127.18.2.el7.x86_64 #1 SMP Sun Jul 26 15:27:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxmessages.. 이전 1 ··· 4 5 6 7 8 9 10 ··· 23 다음