참고사이트 https://pracon.tistory.com/170설치 yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm yum install exfat-utils fuse-exfat ex) 마운트 mount -t exfat /dev/sdb1 /home/ok FAT는 6기가 짜리 파일 인식이 안되어세 exfat 로 포맷해봄
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/UKmWo/btqxMsYZ3LZ/niKO8dMdK96809V3Wsl70k/img.jpg)
참고 원문 링크 https://docs.gitlab.com/runner/install/linux-repository.html 21 centos8 공식 runner 는 없는 상태 테스트 환경 Centos7 다운 & 설치 curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash yum install gitlab-runner버젼 선택하여서 설치 (아래 참고) yum list gitlab-runner --showduplicates | sort -r sudo yum install gitlab-runner-10.0.0-1runner 업데이트 하는 경우 (아래 참고) yum update y..
인증서 갱신하기certbot renew인증서 갱신 관련 방화벽 설정인바운드 tcp 80번 북미 해외쪽 접근 허용 필요현재 셋팅되어 있는 인증서 목록 보기certbot certificates인증서 삭제하기 (설정까지 삭제)certbot revoke --cert-path /etc/letsencrypt/live/도메인/fullchain.pem인증서 이메일 주소 넣기certbot update_account --email youremail@ address
가상서버를 운영중인 호스트 서버가 GUI 환경을 지원하지 않는다면 필수 설정임 centos5 & centos6 grubby --update-kernel=ALL --args="console=ttyS0" reboot 해야 적용됨 centos7 (centos8 도 적용됨) vim /etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet console=ttyS0" GRUB_DISABLE_RECOVERY="true" grub2-mkconfig -o /boot/grub2/grub.cfg 실행후 ..
궁극적으로는 스크립트 파일내 평문으로 패스워드가 저장되어 있는것은 보안상 좋지 않으며 1회성으로 사용할때 좋을듯 하다. 설치 yum install expect스크립트 내용 #!/usr/bin/expect spawn bash -c "명령어 입력"; expect -re "password" send "패스워드입력\r" interact interact 는 crontab 에서 동작시 에러 발생하다는 예기가 있어서 아래와 같이 변경했는데도 안되는건 안비밀 #!/usr/bin/expect spawn "명령어" expect { -nocase password: { send 패스워드입력\r expect eof } } exit
error log /etc/php-fpm.conf error_log = /var/log/php-fpm/error.log 디폴트 설정으로 딱히 수정할 내용은 없어 보인다. php error log 라는 부분이 좀 이슈가 있어 보이는데 /var/log/php-fpm drwxrwx--- 2 apache root 44 7월 3 09:12 php-fpm 웹서버를 apache 로 구성한 경우는 위 권한이 올바르며 nginx 로 구성한 경우는 로그 디렉토리 소유권 변경이 필요하다 chown nginx.root /var/log/php-fpmphp-fpm 을 재구동 해보면 service php-fpm restartwww-error.log 가 생성되어 있으며 로그 기록또한 남고 있다 -rw-r--r-- 1 nginx ng..
명령어 (예시) curl -v https://google.com curl -L -v --cacert /etc/pki/tls/certs/ca-bundle.crt https://www.google.com:443인증서 정보 출력 * About to connect() to google.com port 443 (#0) * Trying * Connected to google.com (178) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA2..
mysql 5.0 -> mysql 5.1 새로 생긴 변수들 나만 궁금한건 안비밀 | foreign_key_checks | ON | | have_compress | YES | | have_partitioning | YES | | have_ssl | DISABLED | | identity | 0 | | ignore_builtin_innodb | OFF | | insert_id | 0 | | keep_files_on_create | OFF | | last_insert_id | 0 | | log_bin_trust_routine_creators | OFF | | log_output | FILE | | max_long_data_size | 33554432 | | min_examined_row_limit | 0 | ..
- Total
- Today
- Yesterday
- Apache
- IPSEC
- GeoIP
- pptp
- 인증서
- mod_security
- glusterfs
- 리눅스
- softether
- centos8
- centOS7
- WAF
- HAProxy
- ssh
- mariadb
- MySQL
- cURL
- yum
- NGINX
- 베이어다이나믹
- ntp
- virtualbox
- galera
- iptables
- SSL
- php
- L2TP
- OpenVPN
- gitlab
- kvm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |