<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>혼자만의 개발노트</title>
    <link>https://gslabs.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Wed, 6 May 2026 15:33:35 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>jungtae17</managingEditor>
    <image>
      <title>혼자만의 개발노트</title>
      <url>https://t1.daumcdn.net/cfile/tistory/1872CF414ED5DD7007</url>
      <link>https://gslabs.tistory.com</link>
    </image>
    <item>
      <title>Mongo Shell 에서 서버 상태/정보 확인하기</title>
      <link>https://gslabs.tistory.com/133</link>
      <description>1. 서버 설정/정보 확인하기/* 서버 빌드 정보 (버전 포함) */db.serverBuildInfo();/* 서버 런타임 정보 (시스템 정보) */db.serverStatus();/* 실행 옵션 (MongoDB 설정) */db.serverCmdLineOpts();/* 해당 DB 의 Storage 정보 (간략 정보) */db.stats();2. Replica Set 정보 확인하기/* Replica Set 멤버 설정 */rs.conf();/* Replic..</description>
      <category>MongoDB/MongoDB 관리</category>
      <category>conf</category>
      <category>MongoDB</category>
      <category>replica set</category>
      <category>serverBuildInfo</category>
      <category>serverCmdLineOpts</category>
      <category>serverStatus</category>
      <category>stats</category>
      <category>Status</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/133</guid>
      <comments>https://gslabs.tistory.com/133#entry133comment</comments>
      <pubDate>Fri, 25 Nov 2016 16:09:49 +0900</pubDate>
    </item>
    <item>
      <title>Linux 에서 vim 으로 node.js 프로그래밍 하기</title>
      <link>https://gslabs.tistory.com/132</link>
      <description>링크1&amp;gt;&amp;nbsp;http://luckyyowu.tistory.com/353링크2&amp;gt;&amp;nbsp;https://github.com/uyu423/TIL/blob/master/Vim/Syntastic%20Plugin%EC%97%90%20eslint-es6-airbnb%20%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0.md</description>
      <category>Node.js</category>
      <category>ES6</category>
      <category>eslint</category>
      <category>Linux</category>
      <category>node.js</category>
      <category>Syntastic</category>
      <category>vim</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/132</guid>
      <comments>https://gslabs.tistory.com/132#entry132comment</comments>
      <pubDate>Wed, 16 Nov 2016 16:30:18 +0900</pubDate>
    </item>
    <item>
      <title>ReplicaSet 구성하기</title>
      <link>https://gslabs.tistory.com/131</link>
      <description>1. 설정 파일에 ReplicaSet 옵션을 추가한다.replication:&amp;nbsp; replSetName: {ReplicaSet이름}2. MongoDB 서버 실행 후 Primary 가 될 MongoDB 서버로 접속한다.&amp;nbsp; &amp;nbsp;a. ReplicaSet 초기화한다.rs.initiate();&amp;nbsp; &amp;nbsp;b. Primary 이름을 변경한다.conf = rs.conf();conf.members[0].host = &quot;IP주소:포트&quot;;r..</description>
      <category>MongoDB/MongoDB 관리</category>
      <category>MongoDB</category>
      <category>replica set</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/131</guid>
      <comments>https://gslabs.tistory.com/131#entry131comment</comments>
      <pubDate>Fri, 14 Oct 2016 20:03:55 +0900</pubDate>
    </item>
    <item>
      <title>유용한 npm 명령어</title>
      <link>https://gslabs.tistory.com/130</link>
      <description>npm buildnpm cachenpm confignpm dedupenpm installnpm linknpm listnpm outdatednpm packnpm pingnpm rebuildnpm reponpm search참고&amp;gt;&amp;nbsp;https://docs.npmjs.com/</description>
      <category>Node.js/npm 모듈</category>
      <category>cli</category>
      <category>NPM</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/130</guid>
      <comments>https://gslabs.tistory.com/130#entry130comment</comments>
      <pubDate>Mon, 26 Sep 2016 14:22:33 +0900</pubDate>
    </item>
    <item>
      <title>MongoDB 에서 Collection Export/Import 하기</title>
      <link>https://gslabs.tistory.com/129</link>
      <description>1. Collection Export

mongoexport \
&amp;nbsp; --host {ReplicaSet이름}/{호스트:포트,...} \
&amp;nbsp; --readPreference primary \
&amp;nbsp; --username {사용자계정} \
&amp;nbsp; --password {비밀번호} \
&amp;nbsp; --authenticationDatabase admin \
&amp;nbsp; --db {DB이름} \
&amp;nbsp; --collection {Coll..</description>
      <category>MongoDB/MongoDB 관리</category>
      <category>MongoDB</category>
      <category>mongoexport</category>
      <category>mongoimport</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/129</guid>
      <comments>https://gslabs.tistory.com/129#entry129comment</comments>
      <pubDate>Wed, 21 Sep 2016 14:30:22 +0900</pubDate>
    </item>
    <item>
      <title>MongoDB 에서 특정 DB 또는 Collection 백업/복원하기</title>
      <link>https://gslabs.tistory.com/128</link>
      <description>1. DB 또는 Collection&amp;nbsp;백업하기mongodump \&amp;nbsp; --host={호스트:포트} \&amp;nbsp; --readPreference=secondary \&amp;nbsp; --username={관리자계정} \&amp;nbsp; --password={비밀번호} \&amp;nbsp; --authenticationDatabase=admin \&amp;nbsp; --db={DB이름} \&amp;nbsp; --collection={Collection이름} \&amp;nbsp; -..</description>
      <category>MongoDB/MongoDB 관리</category>
      <category>MongoDB</category>
      <category>mongodump</category>
      <category>mongorestore</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/128</guid>
      <comments>https://gslabs.tistory.com/128#entry128comment</comments>
      <pubDate>Wed, 7 Sep 2016 14:22:56 +0900</pubDate>
    </item>
    <item>
      <title>MongoDB 에서 간단하게 Replica Set 옵션 사용하기</title>
      <link>https://gslabs.tistory.com/127</link>
      <description>MongoDB 접속을 위한 URI 문자열을 이용하여 Replica Set 옵션(Write Concern, Read Concern, Read Preference)을 설정할 수 있다.1. Replica Set 옵션&amp;nbsp; :&amp;nbsp;https://docs.mongodb.com/manual/reference/connection-string/#connection-string-options2. Write Concern 옵션&amp;nbsp; :&amp;nbsp;https..</description>
      <category>MongoDB</category>
      <category>mongo</category>
      <category>MongoDB</category>
      <category>Read Concern</category>
      <category>Read Preference</category>
      <category>replica set</category>
      <category>Write Concern</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/127</guid>
      <comments>https://gslabs.tistory.com/127#entry127comment</comments>
      <pubDate>Wed, 31 Aug 2016 22:43:30 +0900</pubDate>
    </item>
    <item>
      <title>MongoDB 에 접속할 때 보이는 경고 없애기</title>
      <link>https://gslabs.tistory.com/126</link>
      <description>mongo shell 로 접속할 때 다음과 같은 메시지를 보게 될 때가 있다.


$ mongo
MongoDB shell version: 3.2.9
connecting to: test
Server has startup warnings:
2016-08-18T11:36:03.292+0900 I CONTROL  [initandlisten]
2016-08-18T11:36:03.292+0900 I CONTROL  [initandlisten] ** WARNING:..</description>
      <category>MongoDB</category>
      <category>mongo</category>
      <category>mongo shell</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/126</guid>
      <comments>https://gslabs.tistory.com/126#entry126comment</comments>
      <pubDate>Wed, 31 Aug 2016 22:18:21 +0900</pubDate>
    </item>
    <item>
      <title>Linux 에서 .NET Core 로 C# DLL 만들기</title>
      <link>https://gslabs.tistory.com/125</link>
      <description>1. .NET Core 설치&amp;nbsp; :&amp;nbsp;https://www.microsoft.com/net/core#ubuntu2.&amp;nbsp;프로젝트 만들기$ mkdir project$ cd project$ dotnet new --type Lib3. 프로젝트 빌드$ dotnet restore$ dotnet build4. edge 모듈을 사용할 경우 (필요한 패키지 설치)$&amp;nbsp;sudo apt-get -y install g++ make</description>
      <category>Node.js/npm 모듈</category>
      <category>.NET Core</category>
      <category>c#</category>
      <category>dll</category>
      <category>dotnet</category>
      <category>EDGE</category>
      <category>node.js</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/125</guid>
      <comments>https://gslabs.tistory.com/125#entry125comment</comments>
      <pubDate>Thu, 25 Aug 2016 17:33:27 +0900</pubDate>
    </item>
    <item>
      <title>$project 스테이지에서 상수값 지정하기</title>
      <link>https://gslabs.tistory.com/124</link>
      <description>aggregation 의 $project 스테이지에서 필드값이 아닌 상수값을 지정할 수 있다.아래와 같이 $literal 오퍼레이터를 이용한다.db.statistics.aggregate([&amp;nbsp; { $match: { _id: { $lte: 1000 } } },&amp;nbsp; { $project: { _id: 0, &quot;Tags&quot;: { $literal: &quot;User&quot; } } }]);Tags&amp;nbsp;필드 값은 &quot;User&quot;(문자열)으로 반환된다.</description>
      <category>MongoDB/Aggregation</category>
      <category>$literal</category>
      <category>$project</category>
      <category>Aggregate</category>
      <category>Aggregation</category>
      <category>MongoDB</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/124</guid>
      <comments>https://gslabs.tistory.com/124#entry124comment</comments>
      <pubDate>Wed, 6 Jul 2016 19:10:02 +0900</pubDate>
    </item>
    <item>
      <title>Ops Manager 에서 하드웨어 모니터링 기능 활성화 하기</title>
      <link>https://gslabs.tistory.com/123</link>
      <description>1.&amp;nbsp;munin-node 패키지 설치하기sudo apt-get -y install munin-nodesudo /etc/init.d/munin-node stop2. iostat 관련 플러그인 설정하기sudo ln -s /usr/share/munin/plugins/iostat /etc/munin/plugins/iostatsudo ln -s /usr/share/munin/plugins/iostat_ios /etc/munin/plugins/iostat..</description>
      <category>MongoDB/MongoDB 관리</category>
      <category>MongoDB</category>
      <category>munin-node</category>
      <category>Ops Manager</category>
      <category>모니터링</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/123</guid>
      <comments>https://gslabs.tistory.com/123#entry123comment</comments>
      <pubDate>Fri, 10 Jun 2016 18:10:40 +0900</pubDate>
    </item>
    <item>
      <title>Node.js 에서 실행 경로를 소스 위치로 바꾸는 방법</title>
      <link>https://gslabs.tistory.com/122</link>
      <description>실행되는 소스 코드에서 가장 윗줄에 아래와 같이 코드를 추가한다.

참고&amp;gt; 실행되는 코드 중 가장 첫번째 한번만 실행하도록 추가해야 한다.

// 소스 코드 최상위
process.chdir(__dirname);  // 첫번째 소스 코드에 한번만 추가한다.

const fs = require('fs');
const path = require('path');
...</description>
      <category>Node.js</category>
      <category>chdir</category>
      <category>node.js</category>
      <category>실행경로</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/122</guid>
      <comments>https://gslabs.tistory.com/122#entry122comment</comments>
      <pubDate>Tue, 24 May 2016 14:01:13 +0900</pubDate>
    </item>
    <item>
      <title>Ubuntu 에서 Node.js, MongoDB 설치하기</title>
      <link>https://gslabs.tistory.com/121</link>
      <description>1. Node.js 설치1-1. 빌드된 패키지로 설치(apt-get 패키지)
#!/bin/sh

# install node.js v6.x -------------------------------------
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
echo

read -p &quot;Press [Enter] key to next step...</description>
      <category>Node.js</category>
      <category>EDGE</category>
      <category>Linux</category>
      <category>MongoDB</category>
      <category>Mono</category>
      <category>node.js</category>
      <category>Shell</category>
      <category>ubuntu</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/121</guid>
      <comments>https://gslabs.tistory.com/121#entry121comment</comments>
      <pubDate>Fri, 13 May 2016 14:33:40 +0900</pubDate>
    </item>
    <item>
      <title>새로운 DB로 백업 DB를 복구하기</title>
      <link>https://gslabs.tistory.com/119</link>
      <description>새로운 DB로 백업 DB를 전체 복구하는 방법1. 새로운 DB 설치를 위하여 MongoDB 서버를 실행한다. (DB 생성, 인증 생략)mongod.exe ^&amp;nbsp; --port 27017 ^&amp;nbsp; --dbpath &quot;{새로운 DB 경로}&quot; ^&amp;nbsp; --directoryperdb ^&amp;nbsp; --noauth ^&amp;nbsp; --rest2. 백업된 DB를 복구한다. (전체 복구)mongorestore.exe ^&amp;nbsp; /port 27017 ..</description>
      <category>MongoDB/MongoDB 관리</category>
      <category>DB 백업</category>
      <category>DB 복구</category>
      <category>mongod</category>
      <category>MongoDB</category>
      <category>mongorestore</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/119</guid>
      <comments>https://gslabs.tistory.com/119#entry119comment</comments>
      <pubDate>Thu, 10 Mar 2016 14:22:45 +0900</pubDate>
    </item>
    <item>
      <title>ES2015 에 대하여</title>
      <link>https://gslabs.tistory.com/118</link>
      <description>JavaScript 의 새로운 표준으로 ES2015 가 뜨고 있다.&amp;nbsp;그래서 웹에서 ES2015 에 대하여 검색해봤더니 아래와 같은 정보를 찾을 수 있었다.JavaScript 표준안:&amp;nbsp;http://www.ecma-international.org/ecma-262/6.0/ES2015 바뀐 내용:&amp;nbsp;https://babeljs.io/docs/learn-es2015/Node.js 에서 지원하는 최신 JavaScript 기능:&amp;nbsp;h..</description>
      <category>JavaScript</category>
      <category>ES2015</category>
      <category>ES6</category>
      <category>JavaScript</category>
      <author>jungtae17</author>
      <guid isPermaLink="true">https://gslabs.tistory.com/118</guid>
      <comments>https://gslabs.tistory.com/118#entry118comment</comments>
      <pubDate>Thu, 3 Mar 2016 16:01:28 +0900</pubDate>
    </item>
  </channel>
</rss>