개발56 tmp ci_session 삭제 1. 셀 작성 # vi /tmp/del_ci_session.sh #! /bin/sh find /tmp/ -name 'ci_*' -mtime +1 -delete -mtime +1 -delete : 1 일이상 지난 내용 2. 권한 설정 # chmod 755 del_ci_session.sh 3. 크론탭 설정 # crontab -e #/tmp ci_session 삭제 0 0 * * * /tmp/del.sh 2022. 7. 29. nginx openssl apt-get update apt-get install nginx openssl mkdir /etc/nginx/certificate cd /etc/nginx/certificate openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out nginx-certificate.crt -keyout nginx.key Commen Name - 서버 IP 작성 Generating a RSA private key ............++++ .......................................................++++ writing new private key to 'nginx.key' ----- You are about .. 2022. 6. 12. s3 getObject - 파일 내용 읽기 'latest', 'region' => #{region값. ap-northeast-2}, 'credentials' => array( 'key' => #{aws 키값}, 'secret' => #{aws secret값}, )]);$result = $s3Client ->getObject([ 'Bucket' => #{사용하는 버킷명}, 'Key' => #{사용하고자 하는 파일명. 폴더/파일명, 파일명}']);echo $result['Body'];?> 2022. 6. 4. [설정 및 설치]4. 파일질라 aws 접속 1. Edit - Setting 클릭 2. Add key file 클릭 - pem 선택 - OK 2022. 5. 23. 이전 1 2 3 4 5 6 7 8 ··· 14 다음