Apacheã«ã¤ãã¦ç¥ãã é£è¼ï¼Apacheã«ããWebãµã¼ãæ§ç¯ï¼1ï¼ããApacheãã§Webãµã¼ããæ§ç¯ãä»åã¯ãããªãApacheãªã®ãï¼ããæ¹ãã¦ç¢ºèªããã¨ã¨ãã«Apacheã®æ¦è¦ã解説ãã
Apacheã«ã¤ãã¦ç¥ãã é£è¼ï¼Apacheã«ããWebãµã¼ãæ§ç¯ï¼1ï¼ããApacheãã§Webãµã¼ããæ§ç¯ãä»åã¯ãããªãApacheãªã®ãï¼ããæ¹ãã¦ç¢ºèªããã¨ã¨ãã«Apacheã®æ¦è¦ã解説ãã
ãªããæéè¨å®æ¹æ³ãæ¸å¼ã«ã¤ãã¦ã¯ããã§ã¯è§£èª¬ãã¾ããã æä½ããããã¡ã¼ã«ããã使ããã ããã ãããã¡ã¼ã« - crontabç¨ã®ã³ãã³ããèªåã§çæãã¾ãã ãã®ã¾ã¾ã³ãããã¦ã使ããã ããã crontab -e ã§ç´æ¥ç·¨éããªã æåãªè©±ã§ãããcrontab -r ã¨ãã£ã¦ãã¾ãã¨å ¨ã¦ãä¸ç¬ã§æ¶ãå»ãã¾ãã ã¾ãã«ãã«ã¹ï¼ ééã㦠crontab -r ãã¦ãã¾ããcrontab ããµã£ã¨ã°ãã¦ãã¾ã£ããã¤ããé£å士ã«ãã -e 㨠-r ã§ç·¨éã¨åé¤ã¨ããé ·ããï¼ï¼ããã crontab -r ãå®å ¨ã«ãã - antipop å¿ ããã¼ã«ã«ãã¡ã¤ã«ã«è¨å®ãæ¸ããããã§ããããåæ ãããããã«ãã¾ãããã $ crontab -l > ~/crontab # ç¾å¨ã®è¨å®ãããã¯ã¢ãã $ vi ~/crontab # ãã¼ã«ã«ãã¡ã¤ã«ãç·¨é $ crontab < ~/cro
å½ãµã¤ãã§ä½¿ç¨ãã¦ããWordPressã®ãµã¼ãã¼ç§»è»¢ãããã®ã§ããã®éã«è¡ã£ãWordPressã®æ§ãã¼ã¿ã®ããã¯ã¢ããã®æé ã®è¦ãæ¸ãã§ãã ã»ããã¢ããç·¨ã«ç¶ãäºå®ã§ãã ã¯ããã«ï¼ç§»è»¢å ã®ç¢ºèª 1. WordPressã®ãµã¤ããã¼ã¿ã®ããã¯ã¢ãã 2. WordPressã®ãã¼ã¿ãã¼ã¹ã®ããã¯ã¢ãã 3. WordPressã®è¨å®ã¨ç¾æ³ã®ããã¯ã¢ãã 4. ããã¯ã¢ãããããã¡ã¤ã«ã®ãªã¹ã ã¯ããã«ï¼ç§»è»¢å ã®ç¢ºèª ç¾å¨ä½¿ç¨ãã¦ããWordPressã®ãã¼ã¿ãä¿åããåã«ã移転å ãç¾å¨ã¨åãç°å¢ã§å©ç¨ã§ããã®ããããã¨ããã¼ã¸ã§ã³ãç°ãªãããªã©ã確èªããå¿ è¦ãããã¾ãã 移転å ã§ä½¿ç¨ããWordPressã®ãã¼ã¸ã§ã³ 移転å ã®PHPã®ãã¼ã¸ã§ã³ 移転å ã¨ç°ãªãå ´åã¯ãäºåã«æ§ç°å¢ã§ãã¼ã¸ã§ã³ã¢ãããæ¸ã¾ãã¦ããåãã¼ã¿ã®ä¿åãè¡ãã¾ãã â»ãã¼ã¸ã§ã³ã¢ããã®åã«ã¯å¥éããã¼ã¿ã®ããã¯
æ¡å¤æåæ¹æ³ãã失æéã®ã»ããã¿ã¡ã«ãªãããï¼ ã¨ããã§hoståãtaihaãªã®ã¯å®å®æ§ã«é¢ä¿ãªãã§ã!!
ããããã£ã¬ã¯ããªã§å ¬éããã¦ããzabbix-releaseããã±ã¼ã¸ããã¦ã³ãã¼ãããdpkgã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ãããã¨ã§Zabbixã®aptãªãã¸ããªãå©ç¨å¯è½ã¨ãªãã Zabbixãµã¼ãã¼ã®ã¤ã³ã¹ãã¼ã« Zabbixãå©ç¨ããã«ã¯ãZabbixãµã¼ãã¼ã¨å¼ã°ããã½ããã¦ã§ã¢ãå¿ è¦ã ãZabbixãµã¼ãã¼ã¯æå®ããããµã¼ãã¼ã®ç£è¦ãè¡ãã½ããã¦ã§ã¢ã§ãç£è¦å¯¾è±¡ããåå¾ãããã¼ã¿ããã¼ã¿ãã¼ã¹ã«ä¿åãããã¾ããWebãã©ã¦ã¶çµç±ã§å©ç¨ã§ããWebããã³ãã¨ã³ããæä¾ãããã管çè ã¯ãã®ããã³ãã¨ã³ãçµç±ã§å種ãã¼ã¿ã確èªããããZabbixã®è¨å®ãè¡ãããã¾ãã¯ãã®Zabbixãµã¼ãã¼ã®æ§ç¯æ¹æ³ã«ã¤ãã¦ç´¹ä»ãããã ãªããä»åã¯CentOS 7ä¸ã§Zabbixãµã¼ãã¼ã稼åãããä¾ãç´¹ä»ãããZabbixãµã¼ãã¼ãå©ç¨ããã«ã¯å¥éãã¼ã¿ãã¼ã¹ãWebãµã¼ãã¼ãå¿ è¦ã¨ãªãããä»åã¯C
解説 ãµã¼ãã¼ç³»ã®Windows OSã§ã¯ã管çè 権éã®ããã¦ã¼ã¶ã¼ããã°ãªã³ï¼ãµã¤ã³ã¤ã³ï¼ããã¨ãããã©ã«ãã§ã¯èªåçã«ããµã¼ãã¼ ããã¼ã¸ã£ã¼ããèµ·åããããã«ãªã£ã¦ããããã°ãªã³å¾ãããã«ãµã¼ãã¼ç®¡çæ¥åãéå§ã§ããã®ã§ä¾¿å©ã ããå ´åã«ãã£ã¦ã¯ãããç¦æ¢ããããã¨ãããã èªåèµ·åããããµã¼ãã¼ããã¼ã¸ã£ã¼ ãµã¼ãã¼ç³»ã®Windows OSã§ã¯ããã°ãªã³ï¼ãµã¤ã³ã¤ã³ï¼ããã¨èªåçã«ãµã¼ãã¼ããã¼ã¸ã£ã¼ãèµ·åãããã·ã¹ãã ãç°å¢ã«ããããããã®èµ·åã®ããã«ãã°ãªã³å¦çãå®äºããã¾ã§ã«å°ãæéãè² è·ããããããã®èªåèµ·åãç¡å¹ã«ããã¨ãç´ æ©ããµã¼ãã¼ã«ãã°ãªã³ã§ããã ã·ã¹ãã ã«ããããããµã¼ãã¼ããã¼ã¸ã£ã¼ãèµ·åããããã«ä½ç§ãä½è¨ã«ãã°ãªã³æéããããããã·ã¹ãã ã®è² è·ãé«ããªããç¹ã«ãã¤ã³ã¿ã¼ãããçµç±ã§ãªã¢ã¼ããã¹ã¯ãããã使ã£ã¦ãã°ãªã³ãã¦ãããããªã±ã¼ã¹ã§ã¯ããªãã¹ããã°ãªã³
å æ¥ããµã¼ãã¼ã®ã»ãã¥ãªãã£è¨å®ããªã«ããã°ãããããããªããã¨ç¸è«ãããã¾ãã¦ã èªåãåå¿è ã®æã©ãã¾ã§ããã°ãããããããæå½ãããã ãã«ãã£ã¦æ²¼ã«å ¥ã£ã¦ããã®ãæãåºããªããèªé¯æ§ç¯ããã¨ãã®ã¡ã¢ãå ã«ã¾ã¨ãã¦ã¿ã¾ããã 注æ ã»ãã¥ãªãã£å¯¾çã¯ç¨éãå ´åãªã©ã«ãã£ã¦éãã¾ãã èªåã§ç解ããããã§èªå·±è²¬ä»»ã§ãããããã¾ãã 対象èªè Linuxã®ãµã¼ãã¼ã建ã¦æ £ãã¦ããªã人 Linuxã¯ããç¨åº¦ãããã人(èªåã§ããã±ã¼ã¸ãå ¥ãããããµã¼ãã¹ãæ¢ãããã§ãã) ã©ã¤ã³ããã âã¯å°å ¥ã®éè¦åº¦ã¨å°å ¥ã®å®¹æãããå人çåè¦ããã¤ããå¤ã§ãã 4ã¤ä»¥ä¸ã"æä½éãããã¨"ã ã¨æã£ã¦ãã ããã sshd
åèè³æ ã»Predictable Network Interface Names ä½ã®è©±ãã¨ãã㨠RHEL7ã§ã¯ãNICã®ãã¼ãã³ã°ã«ã¼ã«ãå¤ãã£ã¦ãã¾ããRHEL6ã§ã¯ãDELL製ã®ãã¼ãã¦ã§ã¢ã®å ´åã ããã¼ãã³ã°ã«ã¼ã«ãå¤ããã¨ããè¬ã®udevã«ã¼ã«ï¼biosdevnameï¼ãããã¾ããããRHEL7ã§ã¯ãããã«ã¾ãä»çµã¿ãå¤ãã£ã¦ãsystemdãNICã®ãã¼ãã³ã°ãè¡ãããã«ãªãã¾ããã ã¾ã¨ããã¨æ¬¡ã®ããã«ãªãã¾ãã ãã¼ã¸ã§ã³ ãã¼ãã¦ã§ã¢ ãã¼ãã³ã°ã«ã¼ã« RHEL5 ãã¹ã¦ å¤å ¸çãªãeth0ããeth1ããªã© RHEL6 ä¸è¬ã®ãã·ã³ å¤å ¸çãªãeth0ããeth1ããªã© RHEL6 DELL製ã®ãã¼ãã¦ã§ã¢ biosdevnameã«ãããem1ããem2ããp1p1ããªã© RHEL7 ä¸è¬ã®ãã·ã³ Predictable Network Interface Name
ã¯ããã« ãµã¼ããéç¨ãããç°å¢ãæ§ç¯ããããã¦ãã¦ãããããã®ããã»ã¹ã§åãã¦ããã°ã©ãã ã£ãã»ã»ããªã©å°ãã¨ããããã¾ãã ãããªã¨ãã«é ¼ãã«ãªããããããªãã³ãã³ãã 3ã¤ãç´¹ä»ãã¾ãã @madeth 師å ã«æãã¦ããã ãã¾ããã 1. proc ã§ããã»ã¹ã使ã£ã¦ãããã¡ã¤ã«ãè¦ã å°ã£ãã㨠ããã»ã¹ã®åããã°ã®ãã¹ãã©ããã¦ãåãããªãã»ã»ã è§£æ±ºæ³ (ç·¨é 2014/09/10) ç¥ãããããã»ã¹ã® ID ã調ã¹ã¾ãã $ ps aux | grep unicorn deploy 3335 xxx xxx xxx xxx X XX 15:14 0:07 unicorn master -c /var/www/myproject/unicorn/staging.rb -E staging -D ããã»ã¹ID (ãã®å ´å㯠3335) ããã¨ã« root 権éã§ãã¡ã¤ã«ãã£ã¹ã¯ãª
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¯ããã«: Vimãªãã§ã¯ã®ä¾¿å©æ©è½ããã¹ã¿ã¼ãããï¼ ããããæ°å¹´åãåãVim(ã¨ãããããã¶ãVi)ã¨å対é¢ããã¨ãã¯ãããªãã¦ä½¿ãã«ããã¨ãã£ã¿ãªãã ï¼ï¼ãã¨ææªã®å°è±¡ã§ããã ããããå¨ãã®ããã°ã©ãããããä¸ã®ã¨ã³ã¸ãã¢ãã¡ã¯ã¿ããªãVim便å©ï¼ããVimæé«ï¼ãã¨è¨ãã¾ãã ãªã®ã§ãã®è¨èãä¿¡ããåãææªã®å°è±¡ã ã£ãVimã¨ããä¸åº¦æ£é¢ããåãåããã¨ã«ãã¾ããã ããã¦ãææ¥ãéãã»ã»ã»åããã¤ãããVim便å©ï¼ããVimæé«ï¼ãã¨å«ã¶ããã«ãªã£ã¦ãã¾ãã¾ããï¼ï¼ ããã£ã¦æ´è³ï¼ ãããããæ´è³ããããã¾ããw Vimã«
æè¿ ChefDKã¨ããå ¨é¨å ¥ãããã±ã¼ã¸ããªãªã¼ã¹ãããã®ã§ãããã§ä¸çºã§ãã http://www.getchef.com/downloads/chef-dk/ CentOS6ã ã¨ãããªæãã§ä¸çºã§ãã sudo rpm -ivh https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.3.0-1.x86_64.rpm rubyã¨ãrbenvã¨ãgemã¨ãã®ç°å¢ã«ã¤ãã¦é ãæ©ã¾ããå¿ è¦ããªãã®ã§ã¨ã¦ã楽ã§ãã ã¡ãªã¿ã«ChefDKã使ããã«èªåã§ããããã¤ã³ã¹ãã¼ã«ãããã¨ããã¨ã©ããªããã¨ããã¨ããããæéããããã¾ãã ã¨ãã«Berkshelfãä¾åãã¦ããã©ã¤ãã©ãªã§"dep-selector-libgecode" ã¨ããã®ããã®ãããæªç©ã®ãããªãããã®ã§ãã³ã³ãã¤ã«ããã®ã«ã¡ã¢ãªãï¼GBãå
ã©ãã大ç§ã§ããã¿ãªãããEC2ãããªããªä½¿ã£ã¦ã¾ãã?使ãããã¨ãã«ãã使ããä»®æ³ãã·ã³ã¨ãã¦ãéçºã»æ¤è¨¼ããæ¬çªã¾ã§å¹ åºãæ´»ç¨ããã¦ããã¨æãã¾ãã æ¥é EC2ãæ¥åã§éç¨ããä¸ã§ãEC2ã¤ã³ã¹ã¿ã³ã¹ãã³ãã¼ããã¨æå³ããªãç°å¢è¨å®ã«å¤ãã£ã¦ãã¾ãã¨ãããã©ãã«ã度ã ãããcloud-initã¨ãããã¼ã«ã«æ ããã¨ãããã£ã¦ãã¾ããã ãEC2ã¤ã³ã¹ã¿ã³ã¹ã®ã³ãã¼ãªãã¦ãä¸æ¦ã¤ã³ã¹ã¿ã³ã¹ãä½æãããã¨ã¯ãã¾ããããªãã®ã§ã¯?ãã¨æãããã¡ã§ãããEC2ç¬ç¹ã®å¶éãªã©ããããå®éã®éç¨ã§ã¯æã£ããããé »ç¹ã«ã¤ã³ã¹ã¿ã³ã¹ã®ã³ãã¼ãå¿ è¦ã«ãªãã¾ããã¤ã³ã¹ã¿ã³ã¹ã®ããã¯ã¢ãã&ãªã¹ãã¢ãªã©ã¯ã¤ã¡ã¼ã¸ããããã¨æãã¾ããããã以å¤ã«ãæå¤ãªã±ã¼ã¹ã¨ãã¦ä»¥ä¸ãããã¾ã *1ãã¤ã³ã¹ã¿ã³ã¹ã®ã³ãã¼ã¯ãAMI(Amazon Machine Image:ã¤ã³ã¹ã¿ã³ã¹ã®ããã¯ã¢ãã)ãåå¾ããæ°è¦ã¤ã³ã¹ã¿
æ¬è¨äºã¯ Vim Advent Calendar 2013 ã®ï¼ï¼æ¥ç®ã§ããï¼ï¼æ¥ç®ã¯ cocopon ããã® ãªã·ã£ã¬æ´¾Vimmerã®ããªãã¸ããã ããã®ã«ã©ã¼ã¹ãã¼ã ã®ã£ã©ãªã¼ãè´ãã¾ãã | ããã½ãã®ã¼ã¨ ã§ããã ããã§ã¯ãµã¼ã管çä½æ¥ãªã©ã§ç¥ã£ã¦ããã¨æãã ãããªã¨æã£ã¦ãã Vim ã®ä½¿ãæ¹ã 10 åã»ã©ç´¹ä»ãããã¨æãã¾ãã 1. EDITOR ç°å¢å¤æ° ã¾ãã¯ãã㯠EDITOR ç°å¢å¤æ°ããããªã vim ã®ä½¿ãæ¹ã§ã¯ããã¾ããããèªåãæ®æ®µä½¿ãã¨ãã£ã¿ãã·ã¹ãã ã«å®£è¨ãã¦ãããã¨ã¯é常ã«éè¦ã§ãï¼ããªãï¼ã UNIX ç³» OS ã§ã¯ãã¡ã¤ã«ãç·¨éããéã«ä½¿ç¨ããããã°ã©ã ã¨ãã¦ãã®å¤ãåç §ããã¢ããªã±ã¼ã·ã§ã³ãããã¤ãããã¾ãã ä¾ãã°ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ãCVS ã SubversionãBazaarãMercurialãGit ãªã©å¤ãã® VCS ã§ã¯ã³ããã
Fedora Coreãæ¨æºã§æ¡ç¨ãã¦ããyumã³ãã³ãã¯ãRPMããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ãã¢ã³ã¤ã³ã¹ãã¼ã«ãã¢ãããã¼ããªã©ãè¡ãããã®ããã°ã©ã ã ã Fedora Core 1ãèªåæ´æ°ããã«ã¯ï¼yumç·¨ï¼ã§èª¬æããããã«ãã·ã¹ãã ãæ´æ°ããã ãã§ããã°ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}