리눅스 썸네일형 리스트형 CentOS 8에 Zabbix Agent 5.2를 설치하는 방법 CentOS 8에 Zabbix Agent 5.2를 설치하는 방법 1. Zabbix 저장소 설정 Zabbix 저장소를 추가합니다. sudo rpm -Uvh https://repo.zabbix.com/zabbix/5.2/rhel/8/x86_64/zabbix-release-5.2-1.el8.noarch.rpm 2. Zabbix Agent 설치 Zabbix Agent를 설치합니다. sudo dnf install zabbix-agent 3. Zabbix Agent 구성 Zabbix Agent 설정 파일(/etc/zabbix/zabbix_agentd.conf)을 열어서 Zabbix 서버의 IP 주소나 호스트 이름을 설정합니다. 아래와 같이 Server 또는 ServerActive 항목에 Zabbix 서버의 IP 주.. 더보기 CentOS 8에서 oniguruma-devel 패키지를 설치하는 방법 CentOS 8에서 oniguruma-devel 패키지를 설치하는 방법oniguruma-devel 패키지는 Perl 모듈을 개발하는 데 필요한 개발 도구를 제공합니다.이 패키지를 설치하면 Perl 모듈을 개발할 수 있습니다.configure: errorchecking for oniguruma... noconfigure: error: Package requirements (oniguruma) were not met:Package 'oniguruma', required by 'virtual:world', not foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard pre.. 더보기 우분투에서 MySQL 8을 바이너리 파일로 설치하는 방법 우분투에서 MySQL 8.0.31을 바이너리 파일로 설치하는 방법테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.1 LTSMySQL 설치MySQL 바이너리 파일 다운로드☞ MySQL Community Downloads- https://dev.mysql.com/downloads/mysql1. 필수 패키지 설치sudo apt-get updatesudo apt-get install -y libaio1 libncurses5 libnuma12. MySQL 사용자 및 그룹 생성** ubuntu sudo 그룹에서 group id 27번을 사용하고 있음.더보기Ubuntu 패키지 매니저를 사용하여 MySQL을 설치할 때, mysql 계정 정보$ cat /etc/passwd | gre.. 더보기 VMWARE ESXi 스토리지 datastore1 경로 VMWARE ESXi 스토리지 datastore1 경로- 경로 /vmfs/volumes/datastore1[root@localhost:~] df -h | grep datastore1VMFS-6 430.5G 212.0G 218.5G 49% /vmfs/volumes/datastore1[root@localhost:~] cd /vmfs/volumes/datastore1/Image[root@localhost:~] wget http://mirror.kakao.com/centos/8.2.2004/isos/x86_64/CentOS-8.2.2004-x86_64-dvd1.isoConnecting to mirror.kakao.com (113.29.189.165:80)CentOS-8.2.2004-x86_ 100.. 더보기 도커 컨테이너에서 타임존을 설정하는 방법 도커 컨테이너에서 타임존을 설정하는 방법(timezone)현재 타임존 확인timedatectl타임존 설정(Asia/Seoul)sudo timedatectl set-timezone Asia/Seoul심볼릭 링크(/etc/localtime 파일을 직접 설정)sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtimedocker run 명령을 통한 타임존 설정컨테이너를 실행할 때 환경 변수를 사용하여 타임존을 설정할 수 있습니다.docker run -it --rm -v /usr/share/zoneinfo/Asia/Seoul:/etc/localtime:ro centos bash$ docker run -it --rm -v /usr/share/zoneinfo/Asia/Se.. 더보기 취약점을 방지하기 위한 보안 HTTP 헤더를 설정하기 취약점을 방지하기 위한 보안 HTTP 헤더를 설정하기X-Content-Type-Options###ApacheHeader set X-Content-Type-Options nosniff###Nginxadd_header X-Content-Type-Options nosniff;X-XSS-Protection###ApacheHeader set X-XSS-Protection "1; mode=block"###Nginxadd_header X-XSS-Protection "1; mode=block";X-Frame-Options###ApacheHeader always append X-Frame-Options DENY###Nginxadd_header X-Frame-Options “DENY”;HTTP Strict Transpor.. 더보기 NGING에서 PHP-FPM 상태를 활성화하고 모니터링하는 방법 NGING에서 PHP-FPM 상태를 활성화하고 모니터링하는 방법nginx 설정vim /etc/nginx/conf.d/default.conf$ vim /etc/nginx/conf.d/default.conf... # nginx, php-fpm status location ~ ^/(status|ping)$ { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; allow 127.0.0.1; al.. 더보기 NGINX 및 PHP-FPM Access Log 포맷 설정 NGINX 및 PHP-FPM Access Log 포맷 설정nginx access log format 설정vim /etc/nginx/nginx.confhttp {... log_format main '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr"' ' REQ_TIME: $request_time s - CONNECT_TIME: $upstream_connect_time s - P.. 더보기 이전 1 ··· 122 123 124 125 126 127 128 ··· 186 다음