centos5 yum update error [root@localhost ~]# yum update Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http\[s\] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: basevim /etc/yum.repos.d..
error: kex protocol error (SSH 접속 에러) SSH 서버 /var/log/secure Nov 30 17:42:39 T sshd[18791]: error: kex protocol error: type 30 seq 1 [preauth]Nov 30 17:42:39 T sshd[18791]: Connection closed by x8.x.1x0.2x2 port 62976 [preauth] client 쪽의 putty 옵션에서 디프헬만 그룹 교환을 제일 아래로 내려보거나 변경해본다.
이미지 매직 (ImageMagick) convert: no images defined 에러 에러 메시지 (httpd error log) convert: no images defined `jpeg:-' @ error/convert.c/ConvertImageCommand/3046.convert: not authorized `//DOMAIN/경로/이미지파일.jpg' @ error/constitute.c/ReadImage/454. google 검색후 auth 관련 에러는 /etc/ImageMagick/policy.xml 정책 파일 수정이 필요 위 에러의 경우는 외부에 웹사이트에서 파일을 다운로드 하여 컨버팅 하는 프로세스였음 원본 아래와 같이 변경후 에러가 발생하지 않았다.
프로세스의 자원한도를 설정하는 명령 soft : 새로운 프로그램을 생성하면 적용되는 MAX값 (일반계정에서도 설정 가능) ulimit -Sn or ulimit -a 1024 이 값을 넘으면 경고만 발생 hard : 소프트에서 최대로 늘릴수 있는 MAX값 (root 권한에서 설정) ulimit -Hn or ulimit -Ha 4096 Too many open files 발생 (장애 발생) limit 관련 이벤트 발생 가능성 파일을 직접 처리하는 프로세스 : Apache 의 접속자가 늘어나는 경우 limit 관련 설정 파일 /etc/security/limits.conf reboot 해야 적용?될것임 시스템 전체의 대한 limit 값 확인 ( 이 수치보다 설정을 작게 해야 한다) cat /proc/sys/fs..
스왑 확인 swapon --summary 스왑 생성 fallocate -l 512M /swapfile dd if=/dev/zero of=/swapfile bs=1M count=512 chmod 600 /swapfile ls -a / | grep swapfile -rw------- 1 root root 536870912 Feb 12 23:55 swapfilemkswap /swapfile swapon /swapfile vim /etc/fstab /swapfile none swap defaults 0 0
참고 원문 사이트 https://blog.asamaru.net/2018/02/14/install-php-7-2-on-centos-with-remi-rpm-repository/remi repo URL https://blog.remirepo.net/tag/CentOS설치 yum install epel-release -y rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum --enablerepo=remi update remi-release yum-config-manager --enable remi-php72 or yum-config-manager --enable remi-php73 yum install -y php php-fpm php-my..
netconsole cat /etc/sysconfig/netconsole # This is the configuration file for the netconsole service. By starting# this service you allow a remote syslog daemon to record console output# from this system. # The local port number that the netconsole module will use# LOCALPORT=6666 # The ethernet device to send console messages out of (only set this if it# can't be automatically determined)# DEV= ..
sestatus selinux 의 상태확인 [root@localhost ~]# sestatus SELinux status: enabledSELinuxfs mount: /sys/fs/selinuxSELinux root directory: /etc/selinuxLoaded policy name: targetedCurrent mode: permissiveMode from config file: error (Success)Policy MLS status: enabledPolicy deny_unknown status: allowedMax kernel policy version: 31 [root@localhost ~]# sestatus SELinux status: disabled
- Total
- Today
- Yesterday
- 리눅스
- softether
- cURL
- IPSEC
- gitlab
- WAF
- php
- mod_security
- OpenVPN
- centOS7
- kvm
- L2TP
- Apache
- iptables
- pptp
- SSL
- MySQL
- galera
- ssh
- yum
- GeoIP
- HAProxy
- 인증서
- NGINX
- virtualbox
- centos8
- mariadb
- glusterfs
- 베이어다이나믹
- ntp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |