ãããã®VPS ã£ã¦ããã©ã«ãã§ã¯ãã¡ã¤ã¢ã¼ã¦ã©ã¼ã«ã®è¨å®ä½ãããã¦ãªãã¨ããè¨äºãã¿ã¦é©æãããã¨ãããèããã Ubuntu 10.04 LTS ãåã¤ã³ã¹ãã¼ã«ãããããã©ã£ã¡ã«ãã¦ãåæç¶æ ã ãªã ã¨ãããã確ãããã $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ãªã¦ããããã©ã«ãã¯ç©ºãªã®ãâ¦â¦ iptables ã®è¨å®ããã©ããããªã¼ã©ããããããªã¼ãã¨æã£ã¦ããããã©ãã Ubuntu ã§ã¯ ufw ã¨ãã
ãããã®VPS CentOSã§ãµã¼ãæ§ç¯ ä½æ¥ãã¼ã20åç®ã Apacheãããå°ãªãã¡ã¢ãªæ¶è²»ã§ããããé«éã ã¨è¨ããã¦ãæè¿è©±é¡ã®Webãµã¼ããNginxããå ¥ãã¦ã¿ã¾ããCGIç³»ã¯Apacheã¨åçãéçãã¡ã¤ã«ã¯Apacheãããããªãé«éã«å¦çã§ãã¾ãã Passengerã®ã¤ã³ã¹ãã¼ã«ã¨yumã®ãªãã¸ããªè¿½å ã®ä½æ¥ãåæã§ãã ã¤ã³ã¹ãã¼ã«åæºå ãããã®VPSã®æ¨æºOSã¯CentOSã®64bitçã§ããããªããæåãã32bitçã®ããã±ã¼ã¸ãããã¤ãå ¥ã£ã¦ãã¾ããNginxãã¤ã³ã¹ãã¼ã«ããæã«mysqlçãææ°çã«ã¢ãããã¼ããããã®ã§ããã32bitçã®å½±é¿ã§ã¢ãããã¼ããã¨ã©ã¼ãèµ·ããå ´åãããã®ã§ã32bitçã®ããã±ã¼ã¸ãåé¤ãã¦ãã¾ãã¾ããããç¹ã«åé¡ã¯ã§ãªãã¨æãã¾ãã æé ã¯ç°¡åãroot権éã§yumã³ãã³ãã§ä¸çºã§ãã [root@ ~]# yum
ãããVPSã®è¨å®ãã¦ãã¦ã¾ã¨ã ã»LAMP ã»ã¡ã¼ã« ã»ç¬èªãã¡ã¤ã³ï¼DNSï¼ ã»SSL âå ¬å¼ãµã¤ã http://vps.sakura.ad.jp/ âCentOS ããã©ã«ãã®OSã¯ãCentOSã CentOSã®å種è¨å®ã¾ã¨ãã CentOSããµã¼ãã¼ã¨ãã¦æ´»ç¨ããããã®åºæ¬çãªè¨å® (ãããã¤ã³ã¿ã¼ãããåµæ¥æ¥è¨) ããããã®VPSãåæè¨å®ããã¦ã¿ã | Untitled Documents rootã®ãã¹ã¯ã¼ãã®å¤æ´ãSSHdã®ãã°ã¤ã³ç¨ã¦ã¼ã¶ã®ä½æãSSHï½ã®è¨å®å¤æ´ãããã±ã¼ã¸ã®ã¢ãããã¼ã ãããã®VPSãåãããçã£å ã«ããã¹ãsshè¨å® ã»ãªã¢ã¼ãããã®ãã¹ã¯ã¼ãèªè¨¼ä¸è½ ã»å ¬ééµã«å¯¾å¿ããç§å¯éµãæã£ãã¯ã©ã¤ã¢ã³ãããã®ãã°ã¤ã³ä»¥å¤ä¸è½ ã»ã³ã³ã½ã¼ã«ããã® root ãã°ã¤ã³ä¸è½ ã»ä½æ¥ç¨ã¦ã¼ã¶ã sudo ããªãéã㯠root ã«ãªããã¨ã¯ä¸è½ ã¨ããæãã«
ã¾ãèªãããã¥ã¡ã³ãï¼ãããåã«å¿ ãå ¬å¼ã®ããã¥ã¡ã³ãã«ç®ãéãã¦ããï¼ãããå¾ã å¹ãã¦ããï¼ % lv /usr/share/doc/apache2/README.Debian.gz Debian ç¨ï¼ã¨ãããaptã§apacheã®ã¢ã¸ã¥ã¼ã«ç®¡çããçºï¼ã«ã«ã¹ã¿ãã¤ãºããã¦ãããããï¼ ã¨ããããaptitudeã§ã¤ã³ã¹ãã¼ã«ï¼ % sudo aptitude install apache2 ãã©ã¦ã¶ã§IPã¢ãã¬ã¹ç´æã¡ã§ã¢ã¯ã»ã¹ãã㨠It Works!*1 次ã«ï¼åä¸ã®ãã¡ã¤ã³ã ããããªãã¦ï¼ããã¤ãã®ãã¡ã¤ã³ã§å ±æããäºå®ãªã®ã§ãã¼ãã£ã«ãã¹ãã®è¨å®ãããï¼Debian ã®å ´å /etc/apache2/sites-available 以ä¸ã«ãµã¤ããã¨ã®è¨å®ãã¡ã¤ã«ãä½æãã¦ï¼ãã®å¾ï¼a2ensite ã¨ããã³ãã³ãã§ãµã¤ããã¨ã®æå¹ç¡å¹ãè¨å®ããï¼ % cat /etc/apac
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}