This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENABLED_SERVICES=q-meta,q-lbaas,n-obj,n-cpu,n-sch,n-cauth,horizon,mysql,rabbit,sysstat,cinder,c-api,c-vol,c-sch,n-cond,quantum,q-svc,q-agt,q-dhcp,q-l3,n-novnc,n-xvnc,q-lbaas,g-api,g-reg,key,n-api,n-crt | |
DATABASE_PASSWORD=password | |
ADMIN_PASSWORD=password | |
SERVICE_PASSWORD=password | |
SERVICE_TOKEN=password | |
RABBIT_PASSWORD=password | |
# Compute Service | |
NOVA_BRANCH=stable/grizzly | |
# Volume Service | |
CINDER_BRANCH=stable/grizzly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://ftp.daum.net/ubuntu lucid main multiverse restricted universe | |
deb-src http://ftp.daum.net/ubuntu lucid main multiverse restricted universe | |
deb http://ftp.daum.net/ubuntu lucid-backports main multiverse restricted universe | |
deb-src http://ftp.daum.net/ubuntu lucid-backports main multiverse restricted universe | |
deb http://ftp.daum.net/ubuntu lucid-proposed main multiverse restricted universe | |
deb-src http://ftp.daum.net/ubuntu lucid-proposed main multiverse restricted universe | |
deb http://ftp.daum.net/ubuntu lucid-security main multiverse restricted universe | |
deb-src http://ftp.daum.net/ubuntu lucid-security main multiverse restricted universe | |
deb http://ftp.daum.net/ubuntu lucid-updates main multiverse restricted universe | |
deb-src http://ftp.daum.net/ubuntu lucid-updates main multiverse restricted universe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 프록시 포트 ( 기본 포트는 3128 ) | |
http_port 3128 | |
# 프록시 호스트명 | |
visible_hostname ruo91 | |
#캐시에 사용될 메모리 지정 | |
# 512 MB = 160 MB, 1024 MB = 320 MB | |
cache_mem 320 MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- code | |
#!/bin/bash | |
df -h | awk '/%/ { | |
limit = 70 | |
percent = sprintf("%d",$5) | |
if ( percent > limit ) { | |
print "Warning: ",$6," (",$1,") is to ",percent,"% full:" | |
print $0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- nginx.conf 설정파일 | |
[root@localhost ~]# vim /etc/nginx/nginx.conf | |
user nobody; | |
pid logs/nginx.pid; | |
error_log logs/error.log; | |
access_log off; | |
worker_processes 2; | |
events { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# php | |
location ~ \.php$ { | |
fastcgi_pass unix:/var/run/php5-fpm.sock; | |
#fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
일단 이건 테스트 | |
logs 데이터베이스에 nginx json 로그를 import | |
[root@dev mongodb]# mongoimport --host localhost --db logs --collection logs < /usr/local/nginx/logs/mirror-json-access.log | |
connected to: localhost | |
Sun Oct 13 23:25:01.874 check 9 4688 | |
Sun Oct 13 23:25:01.891 imported 4688 objects | |
쿼리 해서 값이 잘 들어갔는지 확인 | |
[root@dev mongodb]# mongo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- Put site-specific property overrides in this file. --> | |
<configuration> | |
<property> | |
<name>dfs.data.dir</name> | |
<value>/opt/hadoop/dfs/name/data</value> | |
<final>true</final> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@dev conf]# flume-ng agent --conf $FLUME_HOME/conf -f $FLUME_HOME/conf/flume.conf -Dflume.root.logger=DEBUG,console -n YongbokAgent | |
Info: Sourcing environment configuration script /home/hadoop/flume/conf/flume-env.sh | |
Info: Including Hadoop libraries found via (/home/hadoop/2.2.0/bin/hadoop) for HDFS access | |
Info: Excluding /home/hadoop/2.2.0/share/hadoop/common/lib/slf4j-api-1.7.5.jar from classpath | |
Info: Excluding /home/hadoop/2.2.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar from classpath | |
+ exec /usr/local/jdk/bin/java -Xmx20m -Dflume.root.logger=DEBUG,console -cp '/home/hadoop/flume/conf:/home/hadoop/flume/lib/*:/home/hadoop/2.2.0/etc/hadoop:/home/hadoop/2.2.0/share/hadoop/common/lib/activation-1.1.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/asm-3.2.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/avro-1.7.4.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/home/hadoop/2.2.0/share/hadoop/common/l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@dev conf]# flume-ng agent --conf $FLUME_HOME/conf -f $FLUME_HOME/conf/flume.conf -Dflume.root.logger=DEBUG,console -n YongbokAgent | |
Info: Sourcing environment configuration script /home/hadoop/flume/conf/flume-env.sh | |
Info: Including Hadoop libraries found via (/home/hadoop/2.2.0/bin/hadoop) for HDFS access | |
Info: Excluding /home/hadoop/2.2.0/share/hadoop/common/lib/slf4j-api-1.7.5.jar from classpath | |
Info: Excluding /home/hadoop/2.2.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar from classpath | |
+ exec /usr/local/jdk/bin/java -Xmx20m -Dflume.root.logger=DEBUG,console -cp '/home/hadoop/flume/conf:/home/hadoop/flume/lib/*:/home/hadoop/2.2.0/etc/hadoop:/home/hadoop/2.2.0/share/hadoop/common/lib/activation-1.1.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/asm-3.2.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/avro-1.7.4.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/home/hadoop/2.2.0/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/home/hadoop/2.2.0/share/hadoop/common/l |
OlderNewer