1. Updated launch.json as follows:
{
    "version": "0.2.0",
    "configurations": [
        {
            "env": {
                "NODE_ENV": "development"
            },
        },


'nodejs' 카테고리의 다른 글

nvm alias default 6.1.0  (0) 2018.08.19
서버 세팅  (0) 2018.06.20
pm2.json 파일 실행  (0) 2018.04.19
pm2 node.js 버전 업데이트  (0) 2018.03.26
pm2 로그보기  (0) 2018.02.26


----------------------------------------------- 서버 시작시 mysql 세팅 ----------------------------------------------


Host is blocked because of many connection errors; unblock with \'mysqladmin flush-hosts\'


1. flush-hosts

    mysqladmin -u root -p flush-hosts


2. sudo mysql -u root -p

    set global max_connections=999999;

    set global max_connect_errors=999999;

    show variables like '%max_connect%';


3. 접속자수 조회


mysql> show status like '%CONNECT%';

+--------------------------+-------+

| Variable_name            | Value |

+--------------------------+-------+

| Aborted_connects         | 200   |

| Connections              | 300   |

| Max_used_connections     | 101   |   ==> 현재 연결된 접속수

| Ssl_client_connects      | 0     |

| Ssl_connect_renegotiates | 0     |

| Ssl_finished_connects    | 0     |

| Threads_connected        | 101   |   ==> 연결되었던 최대 접속수

+--------------------------+-------+

'mysql' 카테고리의 다른 글

mac mysql 삭제  (0) 2018.01.21
그룹내 시퀀스 생성  (0) 2017.03.09

git clone https://github.com/letsencrypt/letsencrypt

cd letsencrypt

./letsencrypt-auto certonly

1번(standalone) 선택

A : 약관 동의

이메일 주소 입력

도메인 입력

sudo ./certbot-auto certonly --standalone -d 도메인주소

npm install auto-sni --save

npm install le-acme-core

-- 443 포트 permission deny

sudo setcap 'cap_net_bind_service=+ep' $(readlink -f $(which node))

'Linux' 카테고리의 다른 글

vi 사용법  (0) 2018.08.13
환경변수  (0) 2018.07.27
WinSCP 를 이용한 FTP 동기화  (0) 2018.05.13
crontab 추가  (0) 2018.05.13
iwinV 포트 경로  (0) 2018.03.28

+ Recent posts