목록분류 전체보기 (26)
Xesper's blog
CHECKLIST 1. vpc생성 2. subnet group 추가 3. subnet 추가 4. haproxy 설정 $vi /etc/haproxy/haproxy.cfg listen MySQL bind 0.0.0.0:3306 timeout connect 10s timeout client 1m timeout server 1m mode tcp server singleMySQL test-aurora-serverless.cluster-XXXXXXXXXXXXX.ap-northeast-2.rds.amazonaws.com:3306
commit은 이미 했는데 마지막 commit메세지가 마음에 들지 않는다면, git commit --amend -m "원하는 메세지" 변경이 가능하다. 만약 마지막 커밋이 아니고 더 지난 경우라면 git rebase 를 통하여 전략을 수립하여 수정이 가능하다 상세한 내용은 추후 다시 기록하는 걸로. git rebase를 통하여 현재 base로 부터 파생된 commit들을 수정하는 전략을 통하여 수정 가능하다.
git update-index --no-assume-unchanged 'abc.txt' 입력하면 git status에서 노출되지 않는다. unchanged 로 지정된 파일들을 확인하는 방법 git ls-files -v | grep ^h
친절한 말은 자신감을 만들어내고 친절한 생각은 고귀함을 만들며 친절한 행동은 끊어지지 않는 인연을 만든다. - 노자
.htaccess에서 아래와 같이 바꾼다. 포인트는 HTTP:X-Forwarded-Proto를 사용해야 한다는점. RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} =http RewriteRule .* https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]
리눅스 환경으로 가정한다 Step 1 /etc/httpd/conf/httpd.conf 를 수정한다. vi에서 /LogFormat을 검색하면 항목이 나온다. 아래의 볼드 부분을 주석처리하고 LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%a %l %u %t \"%r\" %>s %b" common 이놈을 추가한다. LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" proxy Step 2vi /etc/httpd/conf.d/vhost.conf를 수정한다 각각 vhost부분에서Custo..
1.설치sudo yum install certbot 2. 확인 sudo firewall-cmd --permanent --add-service=https$ sudo firewall-cmd --reload firewall을 사용하고 있으면 443포트를 열어줘야함. 3.실행 sudo certbot certonly --standalone -d www.example.com 도메인을 여러개 추가 하고 싶으면 뒤에 -d test.example.com 형식으로 추가 시키면 됨. 참고 : https://gongzza.github.io/php/laravel/install-letsencrypt-nginx/
Centos 7 기준 설치 경로/opt/atlassian/jira/ JIRA application home dicrectory/var/atlassian/application-data/jira home 디렉토리에서 dbconfig.xml을 삭제하고 접속하면 디비 기록이 사라지면서 지라의 설정이 초기화 된것으로 인식한다.DB에서 jira 스키마를 삭제하고 다시 만들어주면 된다. 스키마 생성시에는 utf bin 으로 해야함. CREATE DATABASE 'jira' CHARACTER SET utf8 COLLATE utf8_bin; 추가 ) 이미 생성되어있는 jira scheme를 삭제하지 않고 그냥 캐릭터 셋만 변경해야 되는 경우 아래를 참고하면 된다. https://confluence.atlassian.co..
여러가지 방법이 있다. 1. 서버에 세팅된 LONG의 비트가 몇인지를 확인해보기 getconf LONG_BIT 2. uname -m 또는 -ax86_64 x86만 있으면 32, 64가 있으면 64비트로 생각하면 되겠다. 3. arch머신 하드웨어 이름 확인하는 명령어 2와 마찬가지로 x86_64가 나옴.
먼저 부모가 flex로 지정되어야함. .container { display:flex;} flex-direction 각각 아이템들을 가로로 나열하려면 row, 세로는 column justify-content가로 정렬flex-start(default)flex-endcenterspace-betweenspace-around align-items세로 정렬flex-start(default)flex-endcenterbaselinestretch위의 정렬들은 자식들을 전체정렬하는 기준이고 개별적으로 정의하고 싶을땐 자식 자체가 값을 달리하면 됨. .item1 {align-self: flex-end;} 예제 : https://jsfiddle.net/xnbrmhxy/