그놈의 안드로이드
Lighttpd 벤치마크를 테스트 하는도중 유독 php로 들어가는 HTTP Request에서 다량의 오류가 발생했다. 서버에서 반환되는 서버에러는 500 - Internal Server Error 서버에 많은 요청이 몰리면서 서버가 감당을 못하는것으로 처음에는 예측했다. 하지만 에러 로그를 확인해본 결과(/var/log/lighttpd/error.log) 다음과 같은 에러로그가 남겨진걸 확인할 수 있었다. 2018-12-31 16:05:50: (mod_fastcgi.c.2995) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 133 ..
1. https://dev.mysql.com/downloads/connector/j/ 접속 2. Looking for previous GA versions? 클릭 3. TAR 버전 다운로드 4. 압축해제 5. 사용할 파일은 mysql-connector-java-5.1.47-bin.jar 파일임 6. 인텔리들어가서 우측 상단의 Project Structure 클릭 7. Project Setting -> Libraries -> 상단 +버튼 -> Java -> mysql-connector-java-5.1.47-bin.jar 찾기 -> 확인 확인 ㄲ
$ apt install nmon $ apt install ksh $ mkdir /var/log/nmon $ chmod -R 777 /var/log/nmon https://github.com/aguther/nmonchart -> 다운로드 & 압축풀기 (터미널 1) $ nmon -f -s 1 -c 100 -m /var/log/nmon (1초 간격 100초간 기록) (터미널 2) $ ps aux | grep nmon (백그라운드에서 Nmon이 동작하는지 확인) (터미널 3) $ cd /home/tn/Downloads/nmonchart-master $ ./nmonchart /var/log/nmon/파일이름 /var/log/nmon/변환할파일명.html
apt-get install libexpat1-dev
import tornado.ioloop import tornado.web import pymysql 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253class Main(tornado.web.RequestHandler): def get(self): #key is key key = self.get_argument('key', None) #self.write(key) if key == 'big': top = "" img = "" bottom = "" self.write(top+img+bottom) if key == 'small1': top = "" img = "" bottom = "" ..
1. Vert.x Examples 주소 -> https://github.com/vert-x3/vertx-examples 2. Intllij로 open 한다. 3. chat 프로젝트 #server.java123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131..
1. $ apt-get install curl 2. $ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - 3. $ apt-get install -y nodejs 4. $ npm config get prefix -> npm 디렉토리 확인 /usr 일경우 바로 밑에 진행 ㄱㄱ 5. $ mkdir ~/npm-global-modules 6. $ npm config set prefix '~/npm-global-modules' 7. $ export PATH=~/npm-global-modules/bin:$PATH 8. $ source ~/.profile 9. $ npm install -S mysql (MySQL 설치) #이미지는 /usr/image 안에 ..
1. https://github.com/netty/netty -> 4.0.56.Final 버전으로 다운 2. 압축해제 후 생긴 디렉토리를 인텔리제이로 Open 3. Netty-4.0.56.Final > example > ~ > HttpSaticFileServer.java 실행 4. HttpSaticFileServerHandler 파일을 열고 이미지 경로를 지정해준다. -이미지경로 : 압축해제한 디렉토리 /examples -buf.append("")를 삽입한다. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737..