분류 전체보기49 pm2-web window환경 설정 1. pm2 home 디렉토리 확인 c:User/UserName/AppData/Roaming/npm/node_modules/pm2/paths.js PM2_ROOT_PATH = p.resolve(process.env.HOMEDRIVE, process.env.HOME || process.env.HOMEPATH, '.pm2'); pm2-web . config.json . 수정 // To monitor multiple hosts, add extra entries to this array"pm2": [{"host": "localhost","rpc": "~/.pm2/rpc.sock","events": "~/.pm2/pub.sock" // To debug remote processes, run node-inspect.. 2017. 9. 27. [CentOS] DNS 설정 보통 /etc/resolve.conf 파일의 내용을 수정하여 DNS를 설정 ex) [root@localhost etc]# vi resolv.conf 1 2 3 # Generated by NetworkManager nameserver 168.126.63.1 nameserver 168.126.63.2 [root@localhost ~]# /etc/rc.d/init.d/network restart network 재시작을 하고나서 dns를 못찾는 것을 확인하고, [root@localhost ~]# ping www.google.com ping: unknown host www.google.com resolv.conf 파일의 내용을 다시 보면 다음과 같다 1 2 3 4 5 6 7 8 9 # Generated by Ne.. 2014. 3. 9. [CentOS] 네트워크 인터페이스 설정 [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 DEVICE=eth0 TYPE=Ethernet UUID=6437e7ce-8f1c-40fd-9f41-462ff3c2f727 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.219.219 GATEWAY=192.168.219.1 NETMASK=255.255.255.0 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth0" HWADDR=00:16:EC:17:BA:06 PEERDNS=yes PEERROUTE.. 2014. 3. 9. [FreeBSD] 인터페이스 설정 Interface configuration /etc/rc.conf 1 # -- sysinstall generated deltas -- # Fri Aug 9 16:39:00 2013 2 # Created: Fri Aug 9 16:39:00 2013 3 # Enable network daemons for user convenience. 4 # Please make all changes to this file, not to /etc/defaults/rc.conf. 5 # This file now contains just the overrides from /etc/defaults/rc.conf. 6 defaultrouter="192.168.123.1" 7 hostname="free" 8 ifconfig_re0=.. 2013. 10. 21. 이전 1 ··· 9 10 11 12 13 다음 반응형