âsince 2006/02/15âããããLinuxã®åå¿è ãåºç¤ç¥èãã¤ãã¦ããããµã¤ãã§ããLinuxå ¥éè å¿ è¦ï¼ï¼ããããâLast up date 2012/9/26
Apacheãèµ·åï¼åèµ·åï¼ããéã«ã httpd: Could not reliably determine the serverâs fully qualified domain name, using 127.0.0.1 for ServerNameã¨ããã¨ã©ã¼ãåºãå ´åãããã ããã¯ããServerNameã«127.0.0.1ã使ç¨ãããFQDNï¼å®å ¨ã«é©åãªãã¡ã¤ã³åï¼ã確å®ã§ãã¾ããã§ããããã¨ããæå³ã ããã§ãApacheèªä½ã¯åãã®ã ããã¨ã©ã¼ããã®ã¾ã¾ã«ãã¦ããã®ã¯æ°æã¡ãæªããããã¨ãã¨åé¡ãå¼ãèµ·ããå¯è½æ§ãé«ãã ãã®ã¨ã©ã¼ã¯ãã/etc/sysconfig/networkãã ã/etc/hostsã ã«localhost以å¤ã«èªåã§è¨å®ãããã¹ãåããApacheã®è¨å®ãã¡ã¤ã«ã«å®ç¾©ããã¦ããªãããã«çºçããã /etc/sysconfig/networkä¾
æ°ãããµã¼ã㧠Apache ãåãããã httpd: apr_sockaddr_info_get() failed for server_name httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ã®ãããªã¨ã©ã¼ããã©ãããµã¼ãåãè¦ããããªããããã åå 㯠/etc/sysconfig/network ã«æ¸ãã¦ãã HOSTNAME ãè¦ã¤ãããªããã¨ããã¡ããèªåèªèº«ãªã®ã§ /etc/hosts ã® 127.0.0.1 ã®é¨åã«è¨è¿°ãããã¨ã©ã¼ã¯åºãªããªãã¾ããã
root ã§ã®ãã°ã¤ã³ã¯ã»ãã¥ãªãã£ä¸ãã¾ããããããªãã§ãã ããã©ã«ãã®ç¶æ ã§ããããã¯ã¼ã¯ããã® root ãã°ã¤ã³ãç¦æ¢è¨å®ã«ãªã£ã¦ãããã®ãããããã§ãããCentOSã¯è¨±å¯ããã¦ãã¾ããã root ãã°ã¤ã³ã®ç¦æ¢è¨å®ã¯ãsshd_config ã¨ãããã¡ã¤ã«ã®ç·¨éã ãã§æ¸ã¿ã¾ãã ããã§ã¯ãroot ãã°ã¤ã³ã®ç¦æ¢æ¹æ³ã説æãã¾ãã Last Update : 2006å¹´09æ02æ¥ sshã®rootãã°ã¤ã³ãç¦æ¢ãã æé è¨å®ã®æé ã¯ä»¥ä¸ã®éãã§ãã /etc/ssh/sshd_config ãä¿®æ£ sshd ãåèµ·å 1. /etc/ssh/sshd_config ãä¿®æ£ # vi /etc/ssh/sshd_config # Logging #obsoletes QuietMode and FascistLogging #SyslogFacility AUTH Sys
ã¬ãªã¬ãªã¹ã³ã¼ãéçºãã¼ã ã«ãã �ææ°Webååãæè¡ã¡ã¢ ( Ruby, Rails, node.js ) ã§ã ããããã®ã¯ã©ã¦ããã§ã®ãµã¼ãæ§ç¯logãæ®ãã¦ããã¾ããä»åã¯ã¾ã£ãããªç¶æ ããå ¬ééµsshãã°ã¤ã³åºæ¥ãããã«ãªãã¨ãã¾ã§ã§ãã 1.userä½æ $useradd taka $passwd taka $usermod -g wheel taka 2.ãããã¯ã¼ã¯è¨å® $vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=www.hoge.com GATEWAY=133.242.18.1 #å ±ç¨ã®gatewayã®IP $vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=âeth0â HWADDR=â9C:A3:BA:24:8E:2Aâ NM_CONTROLLED=âye
AWSã®ããã«ãµã¼ããç«ã¡ããããèªåçã«ãããã¯ã¼ã¯ã«ã¤ãªãããªãã®ã§ããããã¯ã¼ã¯ã«æåã§ã¤ãªãã¾ãã æåã¯pingæãã¦ãè¿ã£ã¦ããªã $ ping google.com ping: unknown host google.com ãªã®ã§2ãã¡ã¤ã«ãä¿®æ£ãã¦ãããã¯ã¼ã¯ã«ã¤ãªãã¾ãã 該å½ä¿®æ£ç®æã ãã # vi /etc/sysconfig/network-scripts/ifcfg-eth0 # åºå®IP BOOTPROTO=static # ã·ã¹ãã èµ·åæã«ãã®ããã¤ã¹ãèµ·å ONBOOT=yes # ããããã¹ã¯ã®æå® NETMASK=255.255.255.0 # ã³ã³ã½ã¼ã«ç»é¢ï¼NICï¼ããIPã¨ã²ã¼ãã¦ã§ã¤ã®æ å ±ãæå® IPADDR=133.242.xx.xx GATEWAY=133.242.xx.1 # vi /etc/resolv.conf # NICã®ç»é¢ã«ãã
ãããã®ã¯ã©ã¦ãã§æ°è¦ãµã¼ããä½ãæã ãã³ãã¬ã¼ãã§ä½æããã¨ãããã¯ã¼ã¯ã«æ¥ç¶ããã¦ãã¾ããã èªåã§ã¤ã³ã¹ãã¼ã«ããå ´åã«ã¯ç¹ãã£ã¦ã¾ããã»ã»ã»ã ãã³ãã¬ã¼ãã¯ãã£ã¹ã¯20GBã®æãã使ããªãã®ã§ã ãã以ä¸ã®ãã£ã¹ã¯ãé¸ã¶ã¨ãèªåã§ãããã¯ã¼ã¯ã®è¨å®ãããªãã¨ããã¾ããã§ããã ãããããã£ã¦ãã¨ã§ããã®ã§ãããæ¹ãã¡ã¢ã£ã¦ããã¾ãã(CentOS 6.2 64ããã) ã»æ°è¦ãµã¼ãä½æ CentOS 6.2-x86_64ãä½¿ç¨ ã»ãµã¼ãä½æå¾ã«èµ·åãã¦OSãã¤ã³ã¹ãã¼ã« æ¥ç¶ã«å¿ è¦ãªæ å ±ã4ã¤ããã®ã§ãã¯ã©ã¦ãã®ã³ã³ããã¼ã«ããã«ããã¡ã¢ã£ã¨ãã¾ãã ã»IPv4ã¢ãã¬ã¹: 133.242.***.***/24 ã»ããããã¹ã¯: 255.255.255.0 ã»ã²ã¼ãã¦ã§ã¤: 133.242.***.1 ã»ãã¼ã ãµã¼ã: 133.242.0.3, 133.242.0.4 ã»ãããã®
ãããã®ã¯ã©ã¦ãã§ãã©ã¤ãã¼ããã³ãã¬ã¼ãããä»®æ³ãµã¼ãã¼ãèµ·åãããã¨ããããããã¨ãèµ·ãã¾ãã [root@sakura ~]# ping google.com ping: unknown host google.com ï¼ã³ã³ããã¼ã«ããã«ã®ã³ã³ã½ã¼ã«ããå®è¡ï¼ æ®éã«å¤é¨ï¼ã¤ã³ã¿ã¼ãããï¼ã¨éä¿¡ãã§ãã¾ããã AWS EC2ãRackspace Cloudã§ã¯ãã³ãã¬ã¼ãããæ°ããã¤ã³ã¹ã¿ã³ã¹ãç«ã¡ä¸ããå ´åã¯ããããã¯ã¼ã¯è¨å®å¨ããèªåçã«èª¿æ´ãã¦ããã¦ãèµ·åç´å¾ããã¤ã³ã¿ã¼ãããã«ã¤ãªããã¾ãã éã«è¨ãã¨ããããã®ã¯ã©ã¦ãã¯ç´ç²ãªä»®æ³ãµã¼ãã¼ã¨èããã¨æ±ãããããªãã¾ãã ããã¯ãã¯ã©ã¦ãã®ã·ã¹ãã ããä»®æ³ãµã¼ãã¼ã«å²ãæ¯ãããã°ãã¼ãã«IPã¢ãã¬ã¹ã¨èµ·åãããµã¼ãã¼ã®ãããã¯ã¼ã¯ã®è¨å®ãããã¦ããã®ãåå ã§ãã 対å¦æ³æé ã¾ãã¯ãã³ã³ããã¼ã«ããã« ï¼ ãµã¼ãã¼ ï¼ è©³ç´°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}