{"id":3420,"date":"2014-08-26T14:46:27","date_gmt":"2014-08-26T05:46:27","guid":{"rendered":"http:\/\/blog.papa-net.info\/?page_id=3420"},"modified":"2014-08-26T14:46:27","modified_gmt":"2014-08-26T05:46:27","slug":"%e5%90%84%e7%a8%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"page","link":"https:\/\/blog.papa-net.com\/?page_id=3420","title":{"rendered":"\u5404\u7a2e\u8a2d\u5b9a"},"content":{"rendered":"<p>\u25c6 \u30db\u30b9\u30c8\u540d\u306e\u8a2d\u5b9a<\/p>\n<p># <span style=\"color: #008000;\">hostnamectl set-hostname <span style=\"text-decoration: underline;\">centos.papa-net.info<\/span><\/span><\/p>\n<p><span style=\"color: #0000ff;\">\u4e0b\u7dda\u90e8\u304c\u30db\u30b9\u30c8\u540d<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30db\u30b9\u30c8\u540d\u306e\u78ba\u8a8d<\/p>\n<p># <span style=\"color: #008000;\">hostname<\/span><br \/>\n<span style=\"color: #000000;\">centos.papa-net.info<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u78ba\u8a8d<\/p>\n<p># <span style=\"color: #008000;\">nmcli device<\/span><br \/>\nDEVICE \u00a0 \u00a0\u00a0 TYPE \u00a0 \u00a0 \u00a0 \u00a0\u00a0 STATE \u00a0 \u00a0 \u00a0\u00a0 \u00a0 CONNECTION<br \/>\n<span style=\"color: #ff0000;\">enp3s0<\/span> \u00a0 \u00a0 \u00a0 ethernet \u00a0 \u00a0 connected \u00a0 \u00a0 enp3s0<br \/>\nlo \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 loopback \u00a0\u00a0 unmanaged \u00a0 &#8212;<\/p>\n<p><span style=\"color: #0000ff;\">\u8d64\u6587\u5b57\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u540d<\/span><br \/>\n<span style=\"color: #000000;\">CentOS7\u3088\u308a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u540d\u79f0\u304c eth* \u304b\u3089 enp+++ \u5909\u66f4\u306b\u306a\u3063\u305f\u79c1\u306e\u5834\u5408\u306f enp3s0 \u3068\u306a\u3063\u3066\u3044\u305f<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a<\/p>\n<p># <span style=\"color: #008000;\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-enp3s0<\/span><br \/>\nTYPE=&#8221;Ethernet&#8221;<br \/>\nBOOTPROTO=&#8221;<span style=\"color: #008000;\">none<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000IP\u30a2\u30c9\u30ec\u30b9\u3092dhcp\u30b5\u30fc\u30d0\u30fc\u3088\u308a\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f&#8221;dhcp&#8221;<\/span><br \/>\nDEFROUTE=&#8221;yes&#8221;<br \/>\nIPV4_FAILURE_FATAL=&#8221;no&#8221;<br \/>\nIPV6INIT=&#8221;<span style=\"color: #008000;\">no<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000IPV6 \u3092\u7121\u52b9\u306b\u3059\u308b<\/span><br \/>\nIPV6_AUTOCONF=&#8221;yes&#8221;<br \/>\nIPV6_DEFROUTE=&#8221;<span style=\"color: #008000;\">no<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000IPV6 \u306f\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067 no<\/span><br \/>\nIPV6_FAILURE_FATAL=&#8221;<span style=\"color: #008000;\">no<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000IPV6 \u306f\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067 no<\/span><br \/>\nNAME=&#8221;enp0s13&#8243;<br \/>\nUUID=&#8221;c6fe0b19-51c1-4695-8552-e8988d588062&#8243;<br \/>\nONBOOT=&#8221;<span style=\"color: #008000;\">yes<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u6642\u306b\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u3092\u8d77\u52d5\u3059\u308b<\/span><br \/>\nIPADDR0=&#8221;<span style=\"color: #008000;\">192.168.1.***<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000\u30b5\u30fc\u30d0\u30fc\u306e\uff29\uff30\u30a2\u30c9\u30ec\u30b9<\/span><br \/>\nPREFIX0=&#8221;<span style=\"color: #008000;\">24<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b<\/span><br \/>\nGATEWAY0=&#8221;<span style=\"color: #008000;\">192.168.1.***<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306e\u30a2\u30c9\u30ec\u30b9<\/span><br \/>\nHWADDR=&#8221;00:13:8F:33:EC:B4&#8243;<br \/>\nDNS1=&#8221;<span style=\"color: #008000;\">192.168.1.***<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000\uff24\uff2e\uff33\u30b5\u30fc\u30d0\u30fc\u306e\u30a2\u30c9\u30ec\u30b9<\/span><br \/>\nIPV6_PEERDNS=&#8221;<span style=\"color: #008000;\">no<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000IPV6 \u306f\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067 no<\/span><br \/>\nIPV6_PEERROUTES=&#8221;<span style=\"color: #008000;\">no<\/span>&#8221;<br \/>\n<span style=\"color: #0000ff;\">\u2191 \u78ba\u8a8d\u3057\u5fc5\u8981\u306b\u5fdc\u3058\u66f8\u304d\u63db\u3048\u308b\u3000IPV6 \u306f\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067 no<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8d77\u52d5<\/p>\n<p># <span style=\"color: #008000;\">\/etc\/rc.d\/init.d\/network start<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u81ea\u52d5\u8d77\u52d5<\/p>\n<p># <span style=\"color: #008000;\">chkconfig network on<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u81ea\u52d5\u8d77\u52d5\u78ba\u8a8d<\/p>\n<p># c<span style=\"color: #008000;\">hkconfig &#8211;list network<\/span><br \/>\nnetwork\u00a0\u00a0\u00a0 \u00a0 \u00a0\u00a0 \u00a0 0:off \u00a0 \u00a0 1:off \u00a0 \u00a0 2:on\u00a0\u00a0\u00a0\u00a0 3:on\u00a0\u00a0\u00a0\u00a0 4:on \u00a0 \u00a0 5:on \u00a0 \u00a0 6:off<br \/>\n<span style=\"color: #0000ff;\">\u2191 2\u30fb3\u30fb4\u30fb5 \u304c on \u306b\u306a\u3063\u3066\u3044\u308c\u3070\uff2f\uff2b<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 root\u5b9b\u30e1\u30fc\u30eb<\/p>\n<p>\u5404\u7a2e\u30b5\u30fc\u30d0\u30fc\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u3068\u5404\u7a2e\u60c5\u5831\u3084\u6848\u5185\u30fb\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u7b49\u304c\u5404\u30bd\u30d5\u30c8\u304b\u3089\u7ba1\u7406\u8005\uff08root\uff09\u5b9b\u306b\u30e1\u30fc\u30eb\u3067\u9001\u3089\u308c\u3066\u6765\u308b\u304c\u3001\u3053\u308c\u3089\u306e\u30e1\u30fc\u30eb\u306froot\u306e\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306b\u53ce\u3081\u3089\u308c\u3066\u3044\u308b\u70ba\u3044\u3061\u3044\u3061\u78ba\u8a8d\u3057\u306a\u304f\u3066\u306f\u306a \u3089\u306a\u3044\u306e\u3067root\u5b9b\u30e1\u30fc\u30eb\u3092\u901a\u5e38\u4f7f\u3063\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u8ee2\u9001\u3057\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30e1\u30fc\u30e9\u30fc\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/p>\n<p># <span style=\"color: #008000;\">vi \/etc\/aliases<\/span><br \/>\n<span style=\"color: #0000ff;\">\u4ee5\u4e0b\u6700\u7d42\u884c\u306b\u8ffd\u8a18<\/span><br \/>\nroot: ****@xxxx.com<\/p>\n<p><span style=\"color: #0000ff;\">\u203b ****@xxxx.com \u306f\u901a\u5e38\u4f7f\u3063\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/span><\/p>\n<p>\u8ee2\u9001\u8a2d\u5b9a\u3092\u306e\u53cd\u6620<\/p>\n<p># <span style=\"color: #008000;\">newaliases<\/span><\/p>\n<p>\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3092root\u5b9b\u306b\u9001\u308a\u3001\u305d\u306e\u30e1\u30fc\u30eb\u304c\u901a\u5e38\u4f7f\u3063\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u8ee2\u9001\u3055\u308c\u308b\u304b\u78ba\u8a8d<\/p>\n<p># <span style=\"color: #008000;\">echo test|mail root<\/span><\/p>\n<p>\u30e1\u30fc\u30e9\u30fc\u3067\u53d7\u4fe1\u3092\u3057\u3066\u307f\u3066\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u304c\u5c4a\u3044\u3066\u3044\u308c\u3070OK<\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 yum \u30b3\u30de\u30f3\u30c9<\/p>\n<p>yum \u30b3\u30de\u30f3\u30c9\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08\u30bd\u30d5\u30c8\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u524a\u9664\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306a\u306e\u3067\u53c2\u8003\u306b\u8a18\u8ff0<\/p>\n<p>\u5358\u72ec\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u524a\u9664\u306e\u5834\u5408<\/p>\n<p>#<span style=\"color: #008000;\"> yum -y install postfix<\/span><br \/>\n<span style=\"color: #0000ff;\">postfix\uff08SMTP\u30b5\u30fc\u30d0\u30fc\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/p>\n<p># <span style=\"color: #008000;\">yum -y remove postfix<\/span><br \/>\n<span style=\"color: #0000ff;\">postfix\uff08SMTP\u30b5\u30fc\u30d0\u30fc\uff09\u3092\u524a\u9664<\/span><\/p>\n<p>\u30b0\u30eb\u30fc\u30d7\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u524a\u9664\u306e\u5834\u5408<\/p>\n<p># <span style=\"color: #008000;\">yum -y groupinstall &#8220;X Window System&#8221;<\/span><br \/>\n<span style=\"color: #0000ff;\">X Window System\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/p>\n<p># <span style=\"color: #008000;\">yum -y groupremove &#8220;X Window System&#8221;<\/span><br \/>\n<span style=\"color: #0000ff;\">X Window System\u3092\u524a\u9664<\/span><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u78ba\u8a8d<\/p>\n<p>SMTP\u30b5\u30fc\u30d0\u30fc\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\uff1f<\/p>\n<p># <span style=\"color: #008000;\">rpm -q postfix \u3000postfix<\/span><br \/>\npostfix-2.3.3-2<br \/>\n<span style=\"color: #0000ff;\">\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u793a\u3055\u308c\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b<\/span><\/p>\n<p>yum \u30b3\u30de\u30f3\u30c9\u3092\u591a\u7528\u3059\u308b\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u5927\u91cf\u306b\u4fdd\u5168\u3055\u308c\u30ad\u30e3\u30c3\u30b7\u30e5\u9818\u57df\u304c\u5c11\u306a\u304f\u306a\u308a\u591a\u304f\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092 yum \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u9818\u57df\u4e0d\u8db3\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u4e8b\u304c\u3042\u308b\u306e\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664\u3059\u308b<\/p>\n<p># <span style=\"color: #008000;\">du -sh \/var\/cache\/yum<\/span><br \/>\n59M \/var\/cache\/yum<br \/>\n<span style=\"color: #0000ff;\">\u203b 59M \u4f7f\u7528\u4e2d<\/span><\/p>\n<p>\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664<\/p>\n<p># <span style=\"color: #008000;\">yum clean all<\/span><\/p>\n<p># <span style=\"color: #008000;\">du -sh \/var\/cache\/yum<\/span><br \/>\n3K \/var\/cache\/yum<br \/>\n<span style=\"color: #0000ff;\">\u203b 3K \u306b\u7e2e\u5c0f\u3057\u305f<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 wget \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>centos \u306e\u30bd\u30d5\u30c8\u306f\u57fa\u672c\u7684\u306b\u306f yum \u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u304c\u3001centos \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306b\u7121\u3044\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u5404\u7a2e\u30bd\u30d5\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u306b wget \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528<\/p>\n<p>wget \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p># <span style=\"color: #008000;\">yum -y install wget<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u958b\u767a\u74b0\u5883<\/p>\n<p>CentOS \u3067\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u5834\u5408\u306b\u306f\u958b\u767a\u74b0\u5883\u306f\u5fc5\u8981\u306a\u3044\u304c\u3001\u8272\u3005\u306a\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u78ba\u8a8d\u7b49\u3059\u308b\u6642\u306b\u5fc5\u8981\u306b\u306a\u308b\u5834\u5408\u3082\u3042\u308b<\/p>\n<p>\u305d\u3053\u3067\u3001\u958b\u767a\u74b0\u5883\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>#<span style=\"color: #008000;\"> yum -y groupinstall &#8220;Development Tools&#8221;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 X Window System<\/p>\n<p>CentOS \u3067\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u5834\u5408\u306b\u306fX Window System \u74b0\u5883\u306f\u5fc5\u8981\u306a\u3044\u304c\u3001\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9\u3067\u306f\u306a\u304f\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u30e2\u30fc\u30c9\u3067\u904b\u7528\u3057\u305f\u3044\u5834\u5408\u306fX Window System \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p># <span style=\"color: #008000;\">yum -y groupinstall &#8220;X Window System&#8221;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 GNOME \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883<\/p>\n<p>\u201cX Window System\u201d \u3092\u4e38\u3005\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304f\u3066\u3082 GNOME \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u3060\u3051\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u3082\u3067\u304d\u308b<\/p>\n<p># <span style=\"color: #008000;\">yum -y groupinstall &#8220;GNOME Desktop Environment&#8221;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u65e5\u672c\u8a9e\u74b0\u5883<\/p>\n<p>X Window System\u3001GNOME \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u65e5\u672c\u8a9e\u74b0\u5883\u3082\u5fc5\u8981\u306b\u306a\u3063\u3066\u304f\u308b<\/p>\n<p># <span style=\"color: #008000;\">yum -y groupinstall &#8220;Japanese Support&#8221;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u8d77\u52d5\u30ec\u30d9\u30eb\u306e\u5909\u66f4<\/p>\n<p>\u8d77\u52d5\u30ec\u30d9\u30eb\u306e\u78ba\u8a8d<\/p>\n<p># <span style=\"color: #008000;\">systemctl get-default<\/span><br \/>\nmulti-user.target<br \/>\n<span style=\"color: #0000ff;\">\u4e0a\u8a18\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9(CUI)<\/span><br \/>\ngraphical.target<br \/>\n<span style=\"color: #0000ff;\">\u4e0a\u8a18\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u30e2\u30fc\u30c9(GUI)<\/span><\/p>\n<p>\u8d77\u52d5\u30ec\u30d9\u30eb\u306e\u5909\u66f4<\/p>\n<p># <span style=\"color: #008000;\">systemctl set-default multi-user.target<\/span><br \/>\n<span style=\"color: #0000ff;\">\u4e0a\u8a18\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u305f\u5834\u5408\u306f\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9(CUI)<\/span><br \/>\n# <span style=\"color: #008000;\">systemctl set-default graphical.target<\/span><br \/>\n<span style=\"color: #0000ff;\">\u4e0a\u8a18\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u305f\u5834\u5408\u306f\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u30e2\u30fc\u30c9(GUI)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 X (GUI) \u306e\u8d77\u52d5\uff06\u7d42\u4e86<\/p>\n<p>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3067\u306f\u8d77\u52d5\u6642\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u304c\u3001\u3053\u3053\u3067\u306f\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9\uff08CUI\uff09\u3067\u8d77\u52d5\u5f8c\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306aGUI\u306b\u5909\u66f4\u3059\u308b\u65b9\u6cd5<\/p>\n<p># <span style=\"color: #008000;\">startx<\/span><\/p>\n<p>\u5143\u306e\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9\uff08CUI\uff09\u306b\u623b\u3059\u5834\u5408\u306f Ctrl + Alt + F1<\/p>\n<p>&nbsp;<\/p>\n<p>\u25c6 \u30ed\u30b0\u30a2\u30a6\u30c8\uff06\u518d\u8d77\u52d5\uff06\u7d42\u4e86<\/p>\n<p>\u30ed\u30b0\u30a2\u30a6\u30c8\uff06\u518d\u8d77\u52d5\uff06\u7d42\u4e86\u3059\u308b\u5834\u5408<\/p>\n<p>#<span style=\"color: #008000;\"> logout<\/span><br \/>\n\u30ed\u30b0\u30a2\u30a6\u30c8<br \/>\n# <span style=\"color: #008000;\">reboot<\/span><br \/>\n\u518d\u8d77\u52d5<br \/>\n#<span style=\"color: #008000;\"> halt<\/span><br \/>\n\u7d42\u4e86<\/p>\n<p>*************************<\/p>\n<p><a href=\"?page_id=116\" target=\"_self\" rel=\"noopener\">\u30e1\u30cb\u30e5\u30fc\u306b\u623b\u308b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25c6 \u30db\u30b9\u30c8\u540d\u306e\u8a2d\u5b9a # hostnamectl set-hostname centos.papa-net.info \u4e0b\u7dda\u90e8\u304c\u30db\u30b9\u30c8\u540d &nbsp; \u25c6 \u30db\u30b9\u30c8\u540d\u306e\u78ba\u8a8d # hostname centos.papa-net [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":116,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3420","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=\/wp\/v2\/pages\/3420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3420"}],"version-history":[{"count":0,"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=\/wp\/v2\/pages\/3420\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=\/wp\/v2\/pages\/116"}],"wp:attachment":[{"href":"https:\/\/blog.papa-net.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}