OpenFlowãããã¹ããã¹ã¤ãããå®ä¾¡ã«ä½æ ããã£ããã®å°é£ãã§å®ç¾ããOpenFlowãããã¯ã¼ã¯ã Interop ORC 2012ç·¨ © 2012 SRCHACK.ORG 2 © 2012 SRCHACK.ORG èªå·±ç´¹ä» ⢠OpenFlow for WHR-G301N 3 © 2012 SRCHACK.ORG èªå·±ç´¹ä» ⢠OpenFlow for WHR-G301N âOpenFlow 1.0ãããã¹ãã¾ã 4 © 2012 SRCHACK.ORG èªå·±ç´¹ä» ⢠OpenFlow for WHR-G301N âOpenFlow 1.0ãããã¹ãã¾ã âOpenFlow 1.1ãããã¹ãã¾ã 5 © 2012 SRCHACK.ORG èªå·±ç´¹ä» ⢠OpenFlow for WHR-G301N âOpenFlow 1.0ãããã¹ãã¾ã âOpenFlow 1.1ãããã¹ãã¾ã
ãããã¤ã³ã¿ã¼ããã Advent Calendaræçµæ¥ã¯ã硬派ã«Linuxã®ã¡ã¢ãªã«é¢ããåºç¤ç¥èã«ã¤ãã¦ã¿ã¦ã¿ããã¨æãã¾ãã æè¿ã¯ãµã¼ãã¼ãæèããããã°ã©ãã³ã°ã§ããããã«ãªããã¡ã¢ãªã®ç©ºã容éã«ã¤ãã¦æèãããã¨ãå°ãªããªãã¾ããããããä½ã¬ã¤ã¤ã¼ã«è§¦ããªããã°ãããªãã·ãã¥ã¨ã¼ã·ã§ã³ã«ãªã£ãéã«ãOSãç®ã®åã«åç¶ã¨ãã人ãå¤ãããã§ãã åºæ¬çã«Linux ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦ãã¡ã¢ãªãããããã¤ãã°ããã¨ããã¹ã¯ãããããªãã»ããè¯ã ã¨ãããã®ãããã¯è¯ãç¥ããããã¨ã ã¨æãã¾ãã ãã ããªãã¨ãªã ps ã³ãã³ãã free ã³ãã³ã ãªã©ã®çµæãè¦ãã ãã§ãªããããå°ãã¡ã¢ãªã®ãã¨ã«ã¤ãã¦æãä¸ãã¦ã¿ã¦ã¿ããã¨æãã¾ãã ã¡ã¢ãªã¨ãã£ãã·ã¥ Linux ã«ãããã¡ã¢ãªã®ç¶æ ã大ããåããã¨ã使ç¨ä¸ã®ã¡ã¢ãªãããã£ãã·ã¥ãã空ãã¡ã¢ãªããã¹ã¯ãããã® 4 ã¤ã«å
ä»åã¯GNS3ä¸ã®ã«ã¼ã¿ãDHCPãµã¼ãã¨ãã¦æ©è½ãããã¨ãããæ¤è¨¼ãã¦ã¿ã¾ããã ä»åã®ãããã¯ã¼ã¯è¨å®ã§ãã R1 Fastethernet 1/0 :192.168.1.254 /24 PC1-4 : DHCPå²ãå½ã¦ã®ããæªè¨å® æ©éR1ã®DHCPãµã¼ãè¨å®ãè¡ã£ã¦ã¿ã¾ãã R1ã®DHCPãµã¼ãè¨å® R1#configure terminal R1(config)#ip dhcp pool dhcp1ãâDHCPãã¼ã«ãdhcp1ããä½æ R1(dhcp-config)#network 192.168.1.0 /24ãâDHCPãã¼ã«ã®ãããã¯ã¼ã¯ã¢ãã¬ã¹ã»ãµãããããã¹ã¯ãæå® R1(dhcp-config)#default-router 192.168.1.254ãâããã©ã«ãã²ã¼ãã¦ã§ã¤ï¼R1ã®Fa1/0ï¼ãæå® R1(dhcp-config)#exit R1#ip dhcp
LPICã¬ãã«2åå¼·ç¨ã«DHCPãµã¼ããæ§ç¯ ã¤ã³ã¹ãã¼ã« # yum -y install dhcp è¨å®ãã¡ã¤ã«ã®ãµã³ãã«ãããã®ã§ãã³ãã¼ # cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcp/dhcpd.conf è¨å®ãã¡ã¤ã«ç·¨é # vi /etc/dhcpd.conf èªåã®ç°å¢ã«åããã¦ä¿®æ£ subnet 192.168.1.0 netmask 255.255.255.0 ã«ã¼ã¿ã®IPãè¨è¼ option routers 192.168.*.*; option domain-name-servers 192.168.*.*; ãµãããããè¨è¼ option subnet-mask 255.255.255.0; ã³ã¡ã³ãã¢ã¦ã #option nis-domain             "domain.org"
èªå® ãµã¼ãã KVM ã§ä»®æ³åãã¦è¤æ°ã® VM ã稼åããã¦ããããã°ãã¼ãã« IP ã¢ãã¬ã¹ãä¸ã¤ãããªããããå¤é¨ããè¦ã¦1ãã¼ãã«ã¤ã1ã¤ã®ãã©ã¤ãã¼ã IP ã¢ãã¬ã¹ã«ãã NAPT ã§ããªãã ãã㧠HTTP (80), HTTPS (443) ã«é¢ãã¦ã¯ nginx ããªãã¼ã¹ãããã·ã¨ãã¦åä½ããããã©ã¤ãã¼ã IP ãæ¯ã£ã VM (ããã¯ã¨ã³ã Web ãµã¼ã) ã«ä¸ç¶ãããã¨ã«ããããã®ã¨ãã®è¨å®ãã¾ã¨ãã¦ãããOS 㯠Ubuntu 12.04 ã使ç¨ãã¦ããã åºæ¬çãªè¨å® åã« HTTP ãä¸ç¶ããã ããªãã次ã®æé ãå®æ½ããã°è¯ãã ã¾ããªãã¼ã¹ãããã·ã¨ãã¦åä½ããããã¹ãã« nginx ãã¤ã³ã¹ãã¼ã«ããã $ sudo apt-get install -y nginx ãã¼ãã£ã«ãã¹ããã¨ã«è¨å®ãã¡ã¤ã«ãä½æããã $ sudo vi /etc/ngin
ä»å¹´ã®æ¥ãããã«WEB+DBã®ããµã¼ã/ã¤ã³ãã©å¾¹åºæ»ç¥ (WEB+DB PRESS plus)ããèªã¿ãã¤ãã¥ã¼ã¿ãã«ã¤ã³ãã©ã¹ãã©ã¯ãã£ã¨ãããã®ã«èå³ã湧ãããããã§ãããã¾ã§ã¯Bitnami Stacksã§OSXã«ç´æ¥ã¤ã³ã¹ãã¼ã«ãã¦ããWebã¢ããªã±ã¼ã·ã§ã³ããVagrantã¨Dockerã§ä¸å¤ãªãã®ã«ç½®ãæãã¦ã¿ããã¨ã«ããã â»ã¹ã©ã¤ãçè³æãããã¾ã âDockerã§æ¥½ããèªå® ãµã¼ã 2016-02-15è¿½è¨ ç´¹ä»ãã¦ãããµã¼ãæ§æã®ç°¡æçãgithubã«ã¢ãããã¼ããã¾ãããèªå® ã¨å ¨ãåãæ§æã§ã¯ããã¾ããã(éSSLã»å é¨ãããã¯ã¼ã¯åãªã©)ãVagrantã¨OSXããããã°åä½ããããã«ãªã£ã¦ãã¾ãã âãã¢ç¨Vagrantfile + docker-compose.yml æçµçã«åºæ¥ä¸ãã£ãã·ã¹ãã ã®ä¿¯ç°å³ è¨å®ãã¡ã¤ã«ã®ä¸è¦§ âââ Vagrantfile ââ
cronå®è¡ã¹ã¯ãªããã®å¤éèµ·åé²æ¢ã¯ã³ã©ã¤ãã¼ãããã§ãããã ã¸ã§ãã®å¤éå®è¡åé¡ ãããããªæãã§1åããã«ã¸ã§ããæµãããå ´åãããã¨æãã * * * * * /path/to/your/cron_job.sh ã¨ããããã®cron_job.shã1å以å ã«å¦çãçµãããªãå ´åã1åå¾ã«ã¯åãã¹ã¯ãªããã2éã§èµ·åããã¦ãã¾ãã ããã¯è¯ããªãã®ã§ãå¤éèµ·åã®é²æ¢çãå¿ è¦ãã¨ããã®ãããããã®èª²é¡ã å¤éå®è¡é²æ¢æ¹æ³ cron_job.shã®å é¨ãã¸ãã¯ã¨ãã¦ãå¤éå®è¡ãé²ã ã¸ã§ãã®ã¹ã¯ãªããå ã«ãDBã®statusã«ã©ã (0:æªå®è¡, 1:å®è¡ä¸, 2:å®è¡å®äº)ãä½æãã¦ãstatusãåç §ãããã¨ã§å¤éèµ·åé²æ¢ããã ã¨ãããããªæ½çãè¡ããã¨ããããããããæ©è½ããªãã¨ãã°ã«ãªãããã¸ã§ãèµ·åã®ç®¡çã¯ã¹ã¯ãªããæ¬ä½ããã¯åãé¢ããããã¨ãããããããæ¯åãããªå¦çãæ¸ã
ã¹ã¯ã¬ã¤ãã³ã°ãããï¼APIã試ãã«å©ãããããã¨ãã« curl ã³ãã³ãã使ããã¨ã£ã¦ããã¾ãããï¼ Wikipediaã«ãã㨠curlã³ãã³ããéçºãã¦ããããã¸ã§ã¯ãã®ååã cURL ã¨ãããããï¼ãã®ã³ãã³ãã©ã¤ã³ãã¼ã«ã®curlã¨ã©ã¤ãã©ãªã¨ãã¦ã®libcurlã主ãªææç©ãããã§ãï¼ php, perl ãã¯ããã¨ãã¦å¤ãã®è¨èªã«ã libcurl ããã¤ã³ãããéä¿¡ãè¡ãããã®é¢æ°ç¾¤ãããã¨æãã¾ãï¼ ãã¦ï¼ãã®ãããä¸è©±ã«ãªã£ã¦ãã curl ã§ãããªãã¦èªã¿ã¾ãããï¼ãã¼ãã¼ãã¼ãããï¼ ãã¼ãï¼ ã¡ãªã¿ã«èªå㯠ãã¼ãã¼ãã¼ããã æ´¾ã§ãã¦ï¼å人çã«ã¯ ã«ã¼ã« ã£ã¦èãã¨ï¼RIAãã©ãããã©ã¼ã ã®è£½ååãæãã¤ãã¾ãï¼ http://www.curlap.com/ æ£ããèªã¿æ¹ãæ°ã«ãªã£ãã®ã§èª¿ã¹ã¦ã¿ãã¨ï½¥ï½¥ï½¥å ¬å¼ãµã¤ãã§è¨åããã¦ãã¾ããï¼ We pronounc
¤½¤â¤½¤â¥Ã¥¹(PATH)¤Ã¤Ã¡© â ¡¡¥Ã¥¹(PATH)¤Ã±Ã¸ì¤Ã¡à ·Ãé ¡Ã¤Ã¤¤¤¦°Ã㤬¤¢¤ê¤Ã¤¹¡£·Ãé¤Ã¤¤¤¦¤è¤ê¤Ã¡¢¤à ¤·¤Ã¡¢¥³¥Ã¥ó¥Ã¤ò¼Ã¹Ã¤¹¤ë¥Ã¥å°¥é¥à ¤Ã¤¢¤ë¾ì½ê¤Ã¹Ã¤¨¤¿Ãý¤¬Ã䤤«¤â¤·¤ì¤Ã¤»¤ó¡£ ¡¡´Ãñ¤Ã¡Ã³Ã¤Ã¡Ã¥³¥Ã¥ó¥Ã¤ò¼Ã¹Ã¤¹¤ë¤¿¤á¤Ã¡¢¥Ã¥¹¤ÃÃÃÃê¤ò¤¹¤ë»ö¤ò¡à ¥Ã¥¹¤òÃä¹ ¡Ã¤Ã¸Ã¤¤¤Ã¤¹¡£ ¡¡¤¿¤Ã¤¨¤à /usr/local/pgsql/bin/psql ¤Ã¤¤¤¦¥³¥Ã¥ó¥Ã¤ò psql ¤Ã¤Ã¤±ÃþÃ䷤üù䵤»¤ë¤Ã¤·¤Ã¤¹¡£¤³¤Ã¾ì¹ç psql ¤Ã¤¤¤¦¥³¥Ã¥ó¥Ã¤¬¤¢¤ë¾ì½ê¤¬
ç¿æ³³ç¤¾ã§ã¯11æ19æ¥ã«ãããã°ã©ãã®ããã®Dockeræç§æ¸ ã¤ã³ãã©ã®åºç¤ç¥èï¼ã³ã¼ãã«ããç°å¢æ§ç¯ã®èªååããåè¡ãã¾ãããä»åãDockerã大好ãã ã¨ããèè ã®é¿ä½å¿ä¿ããã«ãæ¬æ¸ã®ç´¹ä»ã ãã§ãªãDockerã«é¢ãã人ç観ã«ã¤ãã¦ãã話ãããããã¾ããï¼ã¤ã³ã¿ãã¥ã¼å 容ã¯10æ21æ¥æç¹ã®ãã®ã§ãï¼ã 家äºãè²å ãè¬å¸«ãå·çã®ä¸¡ç« ââãããããé¡ããã¾ããæåã«ãé¿ä½ããã®èªå·±ç´¹ä»ããé¡ãã§ãã¾ãã§ããããã é¿ä½ï¼çµå©ã»åºç£åã¯ãã·ã¹ãã ã®åºç¤ãæ§ç¯ã»éç¨ããã¨ã³ã¸ãã¢ãªã©ããã¦ãã¾ãããã¤ã³ãã©ã®è¨è¨æ§ç¯ã ãã§ãªããã¢ããªã±ã¼ã·ã§ã³éçºæ¨æºåãéç¨è¨è¨ãªã©ãé害ããã©ãã«ä»¥å¤ã§ã¯è¡¨ã«åºããã¨ã®ãªãå°å³ãªä»äºã§ããæ¯æ¥ãææ©ãããçµé»ã¾ã§åãã¦ãã¾ãããä»äºã好ãã ã£ãããé常ã«åªç§ãªã¡ã³ãã¼ã«å²ã¾ãã¦ããã®ã§ãã¾ãè¦ã§ã¯ããã¾ããã§ããã åãããããããã¨ã社çãã§ãã社
Linuxãå ¥éããããã«ã¯ã©ããªç¥èãã¹ãã«ãå¿ è¦ãªã®ï¼ Linuxå ¥éè ã«ããããã®ãµã¤ããæ¬ã¯ï¼ Linuxã®ã¡ãªããããã¡ãªããã«ã¤ãã¦ç¥ããã Linuxç°å¢ãæ§ç¯æ¹æ³ããæ¹æ³ã«ã¤ãã¦è©³ããç¥ããã Linuxã®å¦ç¿ãå§ããããã®ã®ãä½ããå¦ç¿ããã°è¯ããåãããªãæ¹ã¯å¤ãã®ã§ã¯ãªãã§ããããï¼æ®æ®µWindowsãMacã®ãã½ã³ã³ã使ã£ã¦ããæ¹ããããã°ãLinuxã¯é£ããããªã¤ã¡ã¼ã¸ãããã¾ãããã Linuxã¯ãµã¼ãã¼æ§ç¯ãªã©ã®ç®çã§å¤ãã®ä¼æ¥ã«ä½¿ããã¦ãããéè¦ãé«ã¾ã£ã¦ãã¦ãã¾ããLinuxã®ã¹ãã«ã身ã«ä»ãããæ¹ã¯ãä»ã®ãã¡ã«ç解ãæ·±ãã¦ããã¹ãã§ãããã ããã§ä»åã¯ãLinuxã®ã¹ãã«ãç¿å¾ããããã«å¿ è¦ãªä»¥ä¸ã®æ å ±ããã¹ã¦ãä¼ããã¾ãã
ç®ç Elasticsearch clusterã®è¤æ°nodeãè·¨ãã shardsã®åããå®éã«ç¢ºèªããã VMãè¤æ°èµ·åããã®ã¯é¢åãªã®ã§dockerã§ãã£ãã試ããã ç°å¢ MacOS X El Capitan (10.11.5) Docker Toolbox 1.11.2 æºå Docker Toolboxã®å°å ¥ãªã©ã¯ããã¡ãã®è¨äºãªã©ããåèãã ãã docker machineã®IPã¢ãã¬ã¹ã¯192.168.99.100ã¨ãã¾ã (Macã ã¨ããã©ã«ãã§ããã«ãªãã¯ã) dockerã³ãã³ãããã§ã«ä½¿ããç¶æ ãåæã§è©±ãé²ãã¦ããã¾ã è¤æ°nodeã§ãªãã¦è¯ãããã¤ãpluginã®è¿½å ãå¿ è¦ãªãæã¯ å ¬å¼ã¤ã¡ã¼ã¸ããã®ã¾ã¾å©ç¨ããã°è¯ã ã³ã³ããèµ·å $ curl http://192.168.99.100:9200 { "name" : "Wong", "cluster_nam
Kitematic OSX, Windowsã§GUIçµç±ã§Dockerã使ããããã«ãªãã¾ããElectronãã¼ã¹ãããã®ã§ãã®ãã¡ä»ã®OSã«ã対å¿ãããããããã¾ããã ä»ã®äººã®ä½ã£ãã³ã³ããã®ã¤ã³ã¹ãã¼ã« Docker Hubããç°¡åã«æ¤ç´¢ãã¦ããã«ã¯ãªã㯠ãã¹ããã·ã³ã®ãã©ã¦ã¶ããã³ã³ããä¸ã«ç«ã¡ä¸ãããµã¼ãã¹ãéã èªåã§URLãå²ãå½ã¦ããã(å¾è¿°) CLIããã®æä½ãå¯è½ å·¦ä¸ã®Docker CLIãã¿ã³ãã Dockerfileããèªåã§ãã«ãããããè¤æ°ã®ã³ã³ããã§é£æºããå ´åã¯ãã¡ããã 誰ãã®ä½ã£ãã³ã³ãããç°¡åã«æå ã§è©¦ãã¦ã¿ãããã¨ãã£ãã¨ããªã©ã«ãã¡ããã¡ã便å©ã§ããè¤éãªã³ãã³ããè¦ããã®ã¯ä¾¿å©ããæãã¦ããã§ããã§ããã ã¤ã³ã¹ãã¼ã« KitematicããDownload Kitematicãã¯ãªãã¯ã .zipã解åãã¦Applicationãã£ã¬ã¯ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}