Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
VPSã§ã¡ã¼ã«ã®éåä¿¡ãããããæ¬æ ¼çãªé ä¿¡ãµã¼ãã¹çãéå¶ããããã§ã¯ãªããã¬ã³ãµãã®å»¶é·ç·ã¬ãã«ã§éç¨ã§ããã°ããã ã¨ããã©ã¤ããªã¡ã¼ã«ãµã¼ãã®æ§ç¯ã§ãã ã¡ã¼ã«ãµã¼ãã¯ãApacheãMySQLã¨ã¯éããã¹ãã ã®è¸ã¿å°ã«ãããå¯è½æ§ããã£ããããã£ããè¨å®ãã¦ãGmailçã§è¿·æã¡ã¼ã«æ±ãããããªã©ãä»ã®ãµã¼ããããé£æ度ãé«ãã¦èºèºããã¡ã ã§ãç¬èªãã¡ã¤ã³ã§WEBãå ¬éãããªãã¡ã¢ããåããã®ã使ããããããã«ä¸ã¤VPSã®å£ãããã¨æãã¾ãããããVPSãªãæåããã¡ã¼ã«ãµã¼ã(MTA)ã®postfixãèµ·åãã¦ãã®ã§ããã¡ã¤ã³è¨å®ã¨ã¡ã¼ã«è»¢éè¨å®ã®ã¿ã§æä½éã®æ§ç¯ãã§ãã¾ããã VPSã®ã¡ã¼ã«ãµã¼ãããç´æ¥ã¡ã¼ã«ãéåä¿¡ããã¨ãªãã¨ãæä½ã§ãSSL+dovecotçã®POP3ãµã¼ããSMTP Authã®å°å ¥ãå¿ è¦ã«ãªãã¾ãããä»åã¯åä¿¡ããã¡ã¼ã«ã¯ã¹ã°ã«è»¢é+éä¿¡ã¯å¥ã®SMT
2. VPSèµ·å ãããVPSã³ã³ããã«ãã°ã¤ã³ãã¦VPSèµ·åã æè¿ã¯ååèµ·åæã«èªåçã«ããã±ã¼ã¸ãææ°ã«ããããã§ãâUpdating RPMS on system: _âã§1æéããããããããªã®ã§ãããããã¡ã¼ã«ãããããå ã«VPSãèµ·åãã¦ããã¨ãã¡ã¼ã«ãããã®ã¨åæã«ä½æ¥ã«å ¥ããã #03 ãããã®VPSãèµ·åããã 3. SSHã§ãã°ã¤ã³ SSHã§rootã§ãã°ã¤ã³ãMACãªããããã¤ã³ã¹ãã¼ã«éããWinãªãPuTTYãªããã®SSHã¯ã©ã¤ã¢ã³ãã§ã詳ããã¯ãããVPSã§ã¹ã¿ã¼ãããã·ã¥æ±ºããã«ã¯çµå±ã©ã¼ãããããã®?ãåç §ã æåã«yum updateã§å ¨ã¦ã®ããã±ã¼ã¸ãã¢ãããã¼ãã æ¥æ¬èªè¨å®ã mac$ ssh [email protected] vim /etc/sysconfig/i18n LANG="ja_JP.UTF-8" ãã°ã¢ã¦ãâãã°ã¤ã³âdat
â 2012/07/24 ã¾ã¼ã³è¨å®ãä¿®æ£ ååã®è¨è¿°ã§ã¯å¤é¨ãã¹ãããã®ã¡ã¼ã«ãåä¿¡ã§ããªãè¨å®ã«ãªã£ã¦ããwww ç¾å¨éç¨ä¸ã®ãµã¼ãã¯Debianãã¼ã¹ãWEBãµã¼ããã¡ã¼ã«ãµã¼ãããã¡ã¤ã³ç®¡ç費込ã¿ã§å¹´é25,000å以ä¸æã£ã¦ããã æ´æ°ææã7æ30æ¥ãªã®ã§ããããæ©ä¼ã«ãµã¼ãã®ç§»è¡ããããã¨ä¼ç¤¾ã¸èæ¡ã ãç¾å¨ã®ä»æ§ãããããã¤ãã¯ä¼ãã¦ãããã ãã¼ã ãã¼ã¸ã¯XOOPSã 社å 管çã§Perlã®ã¹ã¯ãªãããåãã¦ããã ã¡ã¼ã«ãµã¼ãã¯ææã«ãªãã¨ã¬ã¹ãã³ã¹ãæªãéä¿¡ã¨ã©ã¼ãå¤çºãããï¼å®éã«ã¯éä¿¡ããã¦ããï¼ ãæ§ç¯ã®ããã¦ã Ubuntuãé¸æã§ããVPSãããã XOOPSãããã¦Railsã§ããã£ã¨åããããã ç¡è«ãPerlã®ã¹ã¯ãªãããRailsã§ä½ãç´ãã ãããã©ãããã¡ã¼ã«ãµã¼ãã¯èªå·±éç¨ããããªãã®ã§ãããã¤ãã«ä¸¸æããããã ãããã¤ã³ã¿ã¼ãããã®VPSã§U
WEBãµã¼ãã¼æ§ç¯ã«æ¬ ãããªããã¨ããã¼ãã£ã«ãã¹ãã®è¨å®ã«ã¤ãã¦ã§ãã ä¸ã¤ã®ãµã¼ãã¼ã§è¤æ°ãµã¤ããå±éåºæ¥ã¾ãã ã¤ã¡ã¼ã¸ã¨ãã¦ã¯ããµã¼ãã¼ã®ä¸ã«éããã¡ã¤ã³ã®ãé¨å±ãè¤æ°ç¨æãã¦ããããã¨ã§ããããï¼ ä½ã¯ã¨ãããããã¼ãã£ã«ãã¹ãã®è¨å®ããã¦ã¿ã¾ãã ãã¼ãã£ã«ãã¹ãã使ãããããApacheã«è¨å®
WordPress ã使ã£ã¦ããã¨ããã¬ã³ãµãã®æéãå¥ç´æéãåãããã ãã©ãä»ã®ã¬ã³ãµãä¼ç¤¾ã«ç§»ããããªã¼ãã¨ããããããã¬ã³ãµããã㦠VPS or AWS ã«ãããããªã¼ãã¨ãæã£ããããæãããã¨æããã§ããã ãããªã¨ããã§ãå¼ã£è¶ãã¡ã³ãããããã ããªã¼ãã¨ãæã£ã¦è«¦ãããããã²ã¨ãå¤ãã¨æãã¾ãã ããã§ãããã£ã¡ã ããµã¤ãã®å¼ã£è¶ãããã¦ããç§ãå¼ã£è¶ãæ¹æ³ã解説ã åºæ¬ã¯ãWordPress ãã¤ã³ã¹ãã¼ã«ãã¦ãããã£ã¬ã¯ããªä»¥ä¸ã®ãã¡ã¤ã«ãå ¨é¨ã³ãã¼ãã¨ãMySQL ãã¼ã¿ããã³ãï¼ã¤ã³ãã¼ããããã ãã§ããããã®è¾ºãç°¡åã«ããæ¹æ³ãã¾ã¨ãã¾ãã WordPress ã½ã¼ã¹ã®ç§»è¡ WordPress ãã¤ã³ã¹ãã¼ã«ãã¦ãããã£ã¬ã¯ããªä»¥ä¸ã®ãã¡ã¤ã«ãå ¨é¨ã³ãã¼ã§ãããã§ãããã¡ã¾ã¡ã¾ FTP ã¯ã©ã¤ã¢ã³ãã¨ãã§ãã¦ã³ãã¼ããã¦ã¢ãããã¼ãã¨ããã¦ããã¡ã³ããããã§ãã
ãããã® VPS ã§ã® Postfix 㨠Dovecot ã«ããã¡ã¼ã«ãµã¼ãã¼ã®æ§ç¯æ³ã説æãã¾ãã è¨äºãæ¸ããå¾ã«ééãããªããä¸å¿æ¤è¨¼æ¸ã¿ã§ãã ãã¾ãåããªãå ´åã«ã¯ã³ã¡ã³ãæ¬ãããææãã ããã ãã®è¨äºãæ¸ãã«å½ãã使ç¨ãããã¼ã¸ã§ã³ã¯ãããã以ä¸ã®éãã§ããã Postfix 2.6.6 Dovecot 2.0.9 ã¤ã³ã¹ãã¼ã«å¾ã§ããã°ã次ã®ã³ãã³ãã§ãã¼ã¸ã§ã³ã確èªã§ããã $ postconf mail_version mail_version = 2.6.6 $ dovecot --version 2.0.9 Dovecot ã®ãã¼ã¸ã§ã³ 1 㨠2 ã§ã¯è¨å®ãã¡ã¤ã«ã®æ§æãè¨å®ã®å 容ã«å·®ç°ãããã®ã§æ³¨æãå¿ è¦ã§ããã è¨å®æ¹é ãã¼ãã£ã«ã¡ã¼ã«ããã¯ã¹ãå©ç¨ããã¡ã¼ã«ã¢ã«ã¦ã³ã㨠Unix ã¦ã¼ã¶ã¼ã¢ã«ã¦ã³ãã¨ãåãã¦ç®¡çããã èªãµã¼ãå®ã®ã¡ã¼ã«ã®é éã¨ããµãã
ãããVPSãå¥ç´ãã¦è²ã ãµã¼ãã¼ãå¼ã£ã¦ããã§ãããä»ã¾ã§SSHã«è§¦ãã¦æ¥ãªãã£ãã®ã§ã¾ãããã§åè¦å «è¦ãã¦ã¾ããã軽ãè¦ããããã«ãã³ãã³ããªã¹ããä½ã£ãã®ã§å ¬éãã¦ããã¾ããããã§èªåã®è¦ããæã«è¦ãããç·¨éåºæ¥ã¦ä¾¿å©ã§ããã ãã¨ãããã使ã£ã¦æåã«è¨å®ããåæè¨å®ãè¨è¿°ãã¦ããã¾ãã 1.ã³ãã³ããªã¹ã 2.ãããVPSã§ã²ã¨ã¾ããã£ããã¨ãåæè¨å® 3.ãã°ã¤ã³âä½æ¥ç¨ã®ã¦ã¼ã¶ã¼ä½æ 4.vimã®ã¤ã³ã¹ãã¼ã« 5.SSHã®ãã¼ãçªå·ãå¤æ´ 6.ãã¹ã¯ã¼ãèªè¨¼ããå ¬ééµèªè¨¼ï¼RSAèªè¨¼ï¼ã«åãæ¿ãã7.ã·ã¹ãã ã®æ´æ° 7.CentOSã®ç°å¢ãæ¥æ¬èªå 8.ã·ã¹ãã ã®æ´æ° 9.ã¾ã¨ã 1.ã³ãã³ããªã¹ã ã»ãã¡ã¤ã«æä½ ã»ãã¡ã¤ã«æ¤ç´¢ ã»ã»ãã¥ãªã㣠ã»è§£åã»å§ç¸® ã»ã·ã¹ãã é¢é£ ã³ãã³ã æ¦è¦
ãããã®ã¬ã³ã¿ã«ãµã¼ãã¼ï¼ã¹ã¿ã³ãã¼ããã©ã³ï¼ã§WordPressãã¯ããã¦ï¼å¹´ãããããããå°ããã¤ã¹ããã¯ãªãµã¼ãã¼ã«ç§»è¡ããããªã£ã¦ãã¨ã§æããã£ã¦VPSãµã¼ãã¼ãã©ã³ããããã®VPSãã«ç§»è¡ãã¦ã¿ã¾ããããªãã¨ãç¡äºã«ç§»è¡ã§ãã¾ãããæã£ããã大å¤ã§ããã (ï¼Â´Ð`) ããããã®VPSãã«ç§»è¡ããçç± WordPressã®è¡¨ç¤ºé度ãä¸ããã ãã¼ã¯ã¿ã¤ã ã®åä½ãä¸å®å® ãã¤ã¹ããã¯ãªã®ã«å®ãï¼980å/æï¼ ããããã®ã¦ã¼ã¶ã¼ãããï¼ãããã«é¢é£æ å ±ãå¤ãï¼ èªç±åº¦ãé«ã ä¸çªã®çç±ã¯ãã£ã¨WordPressã®è¡¨ç¤ºé度ãä¸ãããã£ãããããã£ãã·ã¥ãä½ã£ã¦é«éåãããã©ã°ã¤ã³ãããããããã¾ãããµã¼ãã¼ã®ã¹ããã¯ã¢ãããä¸çªå¹æãé«ãããªã®ã§ãç¹ã«ãã¼ã¯ã¿ã¤ã ã¯åä½ãç·©æ ¢ã管çç»é¢ãä¸å®å®ã§ãæ稿å¾ã«500ã¨ã©ã¼ãåºãããã¦ã¾ããã ãããããªVPSãµã¼ãã¹ãããã¾ããããããã
ã¡ã¼ã«ãµã¼ãã¼ãæ§ç¯ããå ´åãéä¿¡ã¡ã¼ã«ãµã¼ãã¼(SMTPãµã¼ãã¼)ã¨åä¿¡ã¡ã¼ã«ãµã¼ãã¼(POP/IMAPãµã¼ãã¼)ã®æ§ç¯ãå¿ è¦ã¨ãªãã ããã§ã¯ãéä¿¡ã¡ã¼ã«ãµã¼ãã¼ã«ã¯Postfixãåä¿¡ã¡ã¼ã«ãµã¼ãã¼ã«ã¯Dovecotãæ¡ç¨ããã ãªããPostfixã¯è¿·æã¡ã¼ã«ã®ä¸æ£ä¸ç¶ã«å©ç¨ãããªãããã«ãããããåæè¨å®ã§ã¯å¤é¨ããå¤é¨å®(ä¾ãã°ãä¼ç¤¾çã§èªå® ãµã¼ãã¼ã®ã¡ã¼ã«ã¢ãã¬ã¹ãããããã¤ãã®ã¡ã¼ã«ã¢ãã¬ã¹å®)ã«éä¿¡ã§ããªãããã«ãªã£ã¦ããããè¿·æã¡ã¼ã«ã®ä¸æ£ä¸ç¶ã«å©ç¨ãããã«å¤é¨ããå¤é¨å®ã«éä¿¡ã§ããããã«ãããããSMTPèªè¨¼æ©è½â»ãæå¹ã«ããã ã¾ããDovecotã¯POP/IMAPãµã¼ãã¼ã¨ãã¦æ§ç¯ããã¦ã¼ã¶ã¼ãPOPã¾ãã¯IMAPãé¸æã§ããããã«ãããâ»POPã¨IMAPã®éã â»SMTPèªè¨¼æ©è½ã¨ã¯ãã¡ã¼ã«éä¿¡æã«ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ãã§èªè¨¼ãè¡ãªãæ©è½ã§ãããããã«ãããè¿·æ
<p>ãããã®VPSããµã¼ãæ§ç¯ããä½æ¥ãã¡ã¢ãã¦ããã¾ã</p>ã¦ã§ããµã¤ãããªãã¥ã¼ã¢ã«ãããããã¬ã³ã¿ã«ãµã¼ããå¤æ°è©¦ç¨ãã¦ããã¨ãããå ±æãµã¼ãã¨åä¾¡æ ¼å¸¯ã§VPSãåããããäºãç¥ãããµã¼ãã¹ãå§ã¾ã£ãã°ããã®ããããã®VPSããä»®ç»é²ãã¦ã¿ã¾ãããä»è¿ãç°å¢ã®æ´ã£ãå ±æãµã¼ãããåããäºãç¡ããä¸ãããµã¼ããæ§ç¯ããäºããªãã£ãã®ã§ãå¾å¦ã®çºã«ä½æ¥ã®ã¡ã¢ãæ®ãã¦ããã¾ãããªãããµã¼ã管çã«é¢ãã¦ã¯ãç´ äººã§ãä»æã§èãããã£ãç¥èãæ¤è¨¼ãããã«è¼ãã¦ãé¨åããããã¨æããã¾ãã®ã§ãã注æãã ããã ç¹ã«ã»ãã¥ãªãã£é¢ãããã©ã¼ãã³ã¹é¢ã¯ãèªèº«ã§èª¿ã¹ãäºããå§ããã¾ããå©è¨ãé ããããæ°ãã¤ããäºãããã°ãéæä¿®æ£ãã¦ããã¾ããåæ稼å段éã§ã®ç®æ¨ã¨æ¡ä»¶ä¸ã¤ã®ãµã¼ãã§è¤æ°ã®ãµããã¡ã¤ã³ãéå¶ããWordPressã¨Redmineã稼åãããDNSã¯ValueDomainã®ãµã¼ãããã®
3/16 ã«çºå£²ããããWordPress é«éåï¼ã¹ãã¼ãéç¨å¿ æºã¬ã¤ããã§ãããããããããã¨ã« Facebook ãã¼ã¸ãã¡ã¼ã«ã§ãå 容ã«ã¤ãã¦ããã¤ããåãåãããããã ãã¦ãã¾ãã åãå·çæ å½ããã»ã¯ã·ã§ã³ã§ãç¹ã«ã¤ã¾ãããããªã¨ããããå·çæããäºæ ãå¤ãã£ãã¨ãããããã³ééã£ã¦ããã¨ããã«ã¤ãã¦ãã¡ãã£ã¨è§£èª¬ãå ¥ãããã¨æãã¾ãã [P153][P160] epel ãªãã¸ããªã®ã¤ã³ã¹ãã¼ã«ãã§ããªã æ¬æ¸ã§ã¯ãepel ãªãã¸ããªç»é²ç¨ã® rpm ããã±ã¼ã¸ã download.fedora.redhat.com ããã¤ã³ã¹ãã¼ã«ããããã«æå®ãã¦ãã¾ãã æ¸ç±å·çæ㯠download.fedora.redhat.com ãå©ç¨ã§ããã®ã§ãããç¾å¨ã¯ãã®ãµã¤ãã¯å©ç¨ã§ããªããªã£ã¦ããã代ããã« dl.fedoraproject.org ãããã¦ã³ãã¼ãããããã«ãªã£ã
2002 å¹´ 2 æã«éè¨ãã¾ããã³ã ã®ããããããã¯ã2009 å¹´ 7 æã«æ¥æ¬åã®Androidç«¯æ« HT-03A ã®çºå£²ãæ©ã« And... åä¾ç¨ã®ã¹ãã¼ããã©ã³ã«ã²ã¼ã ã ããå ¥ãã¦ä½¿ããã¦ããã®ã§ãããåºåãã¿ãããã¦ã¢ããªãåæã«å ¥ãã¦ãã¾ã£ããåºåãã¼ã¸ãéãã¦ãã¾ããªã©ã®...
ãããã®VPSã§ã¡ã¢ãªãæãããæã«å¹æçã ã£ããã¨(CentOSç·¨)
å æ¥ãªãã¥ã¼ã¢ã«ãããããããã®VPSãã§Webãµã¼ãï¼LAMPï¼ãæ§ç¯ããéã®åºæ¬è¨å®ããã³ãã¬ã¼ãã¨ãã¦å ¬éãã¾ããåèã«ãªãã°ãããªã¨ã 管çè ã¢ã«ã¦ã³ãã®ä½æ # useradd -G wheel userName # passwd userName # vi /etc/pam.d/su -- 以ä¸ã®è¡ã®ã³ã¡ã³ãã¢ã¦ããå¤ã # auth required pam_wheel.so use_uid -- # visudo -- 以ä¸ã®è¡ã®ã³ã¡ã³ãã¢ã¦ããå¤ã # %wheel ALL=(ALL) ALL -- SSHè¨å® # mkdir /home/userName/.ssh # chown userName. /home/userName/.ssh ã¯ã©ã¤ã¢ã³ãå´ã§å ¬ééµãä½æãããµã¼ãã«å ¬ééµã転é -- $ ssh-keygen -t rsa $ scp .ssh/id_rs
Server room with grass! / Tom Raftery ãããã¤ã³ã¿ã¼ãããã®VPSã¯æ980åãå¹´éã ã¨10,780åããå©ç¨ã§ãããããªããå¾ãªVPSã§ãã VPSï¼ä»®æ³å°ç¨ãµã¼ãã¼ï¼ã¯ãã¦ã¼ã¶ã¼ã®ä½¿ãããªã½ã¼ã¹ã®ä¸éãè¨å®ããã¦ãããããå ±æã®ã¬ã³ã¿ã«ãµã¼ãã¼ã®ããã«ä»ã®ã¦ã¼ã¶ã¼ããããã®å½±é¿ãã»ã¨ãã©ããã¾ãããroot権éãæã¦ããããæ®éã®ã¬ã³ã¿ã«ãµã¼ãã¼ã§ã¯åºæ¥ãªããããªã«ã¹ã¿ãã¤ãºãå¯è½ã§ãã ãã®åé¢ãå種è¨å®ã管çãèªåã§è¡ããªãã¨ããã¾ãããã¨ã¯ãããåºæ¬çãªè¨å®ä½æ¥ã¯ãããªã«é£ãããã®ã§ã¯ãªãã®ã§ãå¤å°æå³ãããããªãã¦ããæé ã©ããã«ä½æ¥ãé²ãã¦ããã°ããµã¼ãã¼ãåãããã¨ã¯å¯è½ã§ãã ããã¾ããªä½æ¥ã®æµããç¥ã ideaÃideaãããæ¬å½ã«å¤§éæãªæµããç´¹ä»ãã¦ãã¾ããããããªãè¨èããã£ã¦ã大ä¸å¤«ã§ããã¾ãã¯æåããæå¾ã¾ã§ã®æµããç¥ãã
ã¯ããã¦ã®ããã VPS + CentOS ã®åæè¨å®ãããã¥ã¼ãã³ã°ãªã©ã®ä½æ¥ã¾ã¨ãã§ä¸è¬çãªãµã¼ãã¼ã®è¨å®æ¹æ³ãç´¹ä»ãã¾ãããããããã®VPS ã®è¨å®ã®ä¸ã§ APC ã®å ¥ãæ¹ã nginx ã®å ¥ãæ¹ãªã©ã¯è©¦ããªãã£ãã®ã§è¿½è¨ã¨ãã¦ã¡ã¢ãã¦ããã¾ãã ä»åã以ä¸ã®è¨äºãåèã«ããã¦é ãã¾ãããããã«å ¨ã¦ãããã®ã§ç§ã®è¨äºã§ã¯ä½æ¥ãã·ã³ãã«ã«ç´¹ä»ãã¦ããã¾ããããã«æ¸ãã¦ãªãç©ã«ã¤ãã¦ã¯ãã®è¨äºã§æ¸ãã¦ã¿ã¾ãã ã¦ã§ãéçºè ã®ããã®ã1æéã§ã§ããLAMPç°å¢æ§ç¯è¡ï¼CentOSç·¨ï¼ â ãããã¤ã³ã¿ã¼ãããåµæ¥æ¥è¨ CentOS 5.6 ã¸ã¢ããã°ã¬ã¼ããã ããã VPS ã¯ãã®ããã°ãæ¸ãã¦ããç¾æç¹ã§å¥ç´ããç¶æ ã 㨠CentOS 5.5 ãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãããã®ãã CentOS ã 5,6 ã«ã¢ãããã¼ããã¾ãã ã¾ãèªåã®ç°å¢ã CentOS 5.5 ãªã®ãã調ã¹ã¾ã
ä»ã¾ã§å ±ç¨ãµã¼ãã¼ãã使ã£ããã¨ãããã¾ããã§ãããå¤ãã®ãµã¼ãã¹ãä½ãä¸ã§å°æãµã¼ãã¼ã使ã£ãããããã®VPS ã使ã£ããã§ããããã«ãªãã°è¡ããªãã¨æã£ãã®ã§ã丸1æ¥ããã¦åå¼·ãã¾ãããCUI ã§ã®ãµã¼ãã¼ç®¡çã¯åãã¦ãªã®ã§ãééã£ã¦ããã¨ããããã£ããæãã¦ãã ããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}