{"id":252,"date":"2017-06-24T16:44:41","date_gmt":"2017-06-24T07:44:41","guid":{"rendered":"https:\/\/pc-taskal.net\/howto\/?p=252"},"modified":"2020-04-30T18:27:07","modified_gmt":"2020-04-30T09:27:07","slug":"debian-upgrade-jessie-to-stretch","status":"publish","type":"post","link":"https:\/\/pc-taskal.net\/howto\/blog\/debian-upgrade-jessie-to-stretch","title":{"rendered":"\u666e\u6bb5\u4f7f\u3044\u306eDebian\u3092stretch\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9"},"content":{"rendered":"<p>\u79c1\u304c\u666e\u6bb5\uff11\u756a\u4f7f\u3063\u3066\u3044\u308b\u30d1\u30bd\u30b3\u30f3\u306fWindows\u3067\u306f\u306a\u304fLinux\u3067\u3059\u3002<\/p>\n<p>\u8272\u3005\u3042\u308bLinux\u306e\u4e2d\u3067\u3082Debian\u304c\u304a\u6c17\u306b\u5165\u308a\u3067\u3001\u9577\u3044\u3053\u3068debian\u3092\u611b\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5ea6\u3001\u305d\u306eDebian\u304c\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e9\u306estretch\u304c\u516c\u958b\u3055\u308c\u305f\u306e\u3067\u30018\u306ejessie\u304b\u3089\u65e9\u901f\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3044\u3064\u3082\u306f\u3057\u3070\u3089\u304f\u69d8\u5b50\u898b\u306a\u306e\u3067\u3059\u304c\u3001\u30d2\u30de\u306a\u6642\u306b\u3084\u3063\u3066\u3057\u307e\u304a\u3046\u3068\u73cd\u3057\u304f\u901f\u653b\u3067\u306e\u66f4\u65b0\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259 size-full\" src=\"https:\/\/pc-taskal.net\/howto\/wp-content\/uploads\/2017\/06\/lxqt.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/pc-taskal.net\/howto\/wp-content\/uploads\/2017\/06\/lxqt.png 640w, https:\/\/pc-taskal.net\/howto\/wp-content\/uploads\/2017\/06\/lxqt-320x180.png 320w, https:\/\/pc-taskal.net\/howto\/wp-content\/uploads\/2017\/06\/lxqt-530x298.png 530w, https:\/\/pc-taskal.net\/howto\/wp-content\/uploads\/2017\/06\/lxqt-565x318.png 565w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h2>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u524d\u306e\u4e0b\u6e96\u5099<\/h2>\n<h3>\u307e\u305a\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n<p>\u4f55\u3089\u304b\u306e\u539f\u56e0\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u56fa\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4>PIN\u306e\u78ba\u8a8d<\/h4>\n<p>APT\u306epin\u6a5f\u80fd\u3067\u56fa\u5b9a\u3057\u3066\u308b\u5834\u5408\u89e3\u9664\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">\/etc\/apt\/preferences.d\/<\/pre>\n<p>\u4ee5\u4e0b\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u3063\u305f\u3089\u5185\u5bb9\u306e\u78ba\u8a8d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001vps\u3092\u5229\u7528\u3057\u3066\u3044\u3066\u305d\u306e\u30b5\u30fc\u30d0\u304cOpenVZ\u3060\u3063\u305f\u308a\u3059\u308b\u3068\u3001\u30ab\u30fc\u30cd\u30eb\u306f\u66f4\u65b0\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u8d77\u52d5\u30b7\u30b9\u30c6\u30e0\u3082\u66f4\u65b0\u3067\u304d\u306a\u3044\u3053\u3068\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001debian\u306e\u5834\u5408jessie\u304b\u3089systemd\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3067\u8d77\u52d5\u3057\u307e\u3059\u304c\u3001\u4ee5\u524d\u306esysvinit\u3092\u4f7f\u308f\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5834\u5408sysvinit\u3092\u56fa\u5b9a\u3057\u3066\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u89e3\u9664\u3059\u308b\u3068\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u305d\u306e\u307e\u307e\u3067\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u4ee5\u5916\u306e\u9805\u76ee\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u305d\u306e\u307e\u307e\u3067\u826f\u3044\u304b\u89e3\u9664\u3059\u308b\u306e\u304b\u306e\u8abf\u67fb\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h4>\u30db\u30fc\u30eb\u30c9\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u7121\u3044\u304b<\/h4>\n<pre class=\"screen\"># dpkg --get-selections | grep 'hold$'<\/pre>\n<p>\u4f55\u3082\u51fa\u306a\u3051\u308c\u3070OK\u3067\u3059\u304c\u3001\u4f55\u304b\u3042\u3063\u305f\u5834\u5408\u306f\u81ea\u8eab\u3067\u7406\u7531\u304c\u3042\u3063\u3066\u30db\u30fc\u30eb\u30c9\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3042\u308c\u3070\u78ba\u8a8d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h4>\u6614\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u6b8b\u9ab8\u306f\u7121\u3044\u304b<\/h4>\n<p>\u4ee5\u524d\u306e\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3055\u308c\u3066\u3001\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u6b8b\u9ab8\u304c\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c8\u30e9\u30d6\u30eb\u767a\u751f\u6642\u306b\u3084\u3084\u3053\u3057\u3044\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u30ad\u30ec\u30a4\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"screen\"># dpkg -l | awk '\/^rc\/ { print $2 }'<\/pre>\n<p>\u4f55\u3082\u51fa\u306a\u3051\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>\u4f55\u304b\u51fa\u305f\u3089\u6b8b\u9ab8\u304c\u6b8b\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"screen\"># apt-get purge $(dpkg -l | awk '\/^rc\/ { print $2 }')<\/pre>\n<p>purge\u30aa\u30d7\u30b7\u30e7\u30f3\u306f(remove\u306f\u30d0\u30a4\u30ca\u30ea\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051)\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3082\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>\u5ff5\u306e\u70ba\u3001\u5fc5\u8981\u306a\u304f\u306a\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u524a\u9664\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"screen\"># apt-get autoremove\r\n# apt-get autoclean<\/pre>\n<p>&nbsp;<\/p>\n<h2>sources.list\u3092stretch\u7528\u306b\u7de8\u96c6<\/h2>\n<p>&nbsp;<\/p>\n<p>\u6e96\u5099\u304c\u51fa\u6765\u305f\u3089 \/etc\/apt\/sources.list \u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u30671\u70b9\u6ce8\u610f\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #99cc00;\">debian\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u3078\u306eFTP\u306e\u63a5\u7d9a\u304c\u5ec3\u6b62<\/span>\u3055\u308c\u308b\u3088\u3046\u306a\u306e\u3067URL\u306bftp\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u5168\u3066http\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u304a\u6c17\u306b\u5165\u308a\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u3067jessie\u306e\u8a18\u8f09\u304c\u3042\u308b\u5834\u6240\u3092stretch\u306b\u66f8\u304d\u63db\u3048\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u4f8b\uff1aftp\u3092http\u306b\u3057\u3066\u66f8\u304d\u63db\u3048<\/p>\n<pre class=\"lang:default decode:true \" title=\"\/etc\/apt\/sources.list \">#deb ftp:\/\/ftp.jp.debian.org\/debian stretch main contrib non-free\r\n#deb ftp:\/\/security.debian.org\/ stretch\/updates main contrib non-free\r\n\r\ndeb http:\/\/ftp.jp.debian.org\/debian stretch main contrib non-free\r\ndeb http:\/\/security.debian.org\/ stretch\/updates main contrib non-free\r\ndeb-src http:\/\/security.debian.org\/ stretch\/updates main contrib\r\n\r\n#deb http:\/\/www.deb-multimedia.org stretch main non-free\r\n#deb http:\/\/ftp.debian.org\/debian\/ stretch-backports main contrib<\/pre>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- pctaskal-req --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: inline-block; width: 336px; height: 280px;\" data-ad-client=\"ca-pub-9013483608213524\" data-ad-slot=\"5284676934\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h2>\u307e\u305a\u306f\u30d9\u30fc\u30b9\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/h2>\n<p>\u6700\u521d\u306bstretch\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \"># apt-get update<\/pre>\n<p>\u6b21\u306b\u30d9\u30fc\u30b9\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\"># apt-get upgrade<\/pre>\n<p>\u3053\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3067\u3059\u304c\u3001\u30ea\u30e2\u30fc\u30c8\u3067\u3084\u308b\u5834\u5408\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c8\u30e9\u30d6\u30eb\u306a\u3069\u306e\u8981\u56e0\u3067\u9014\u4e2d\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u304c\u843d\u3061\u305f\u308a\u3059\u308b\u3068\u6b7b\u4ea1\u3057\u307e\u3059\u3002\uff08\u4ee5\u524d\u306b\u7d4c\u9a13\u3042\u308a\uff09<\/p>\n<p>\u306a\u306e\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u3067\u3084\u308b\u5834\u5408\u306f\u30b3\u30f3\u30bd\u30fc\u30eb\u304c\u843d\u3061\u3066\u3082\u5927\u4e08\u592b\u306a\u3088\u3046\u306btmux\u3084screen\u306a\u3069\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u5229\u7528\u3057\u305f\u65b9\u304c\u5b89\u5fc3\u3067\u3059\u3002<\/p>\n<h3>\u9014\u4e2d\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u6b62\u307e\u3063\u305f\u3089<\/h3>\n<p>\u4f55\u304b\u306e\u4f9d\u5b58\u304b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u554f\u984c\u3067\u6b62\u307e\u3063\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u554f\u984c\u3068\u306a\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3057\u3066\u3057\u307e\u3046\u306e\u304c1\u756a\u624b\u3063\u53d6\u308a\u65e9\u3044\u3067\u3059\u3002<\/p>\n<pre class=\"screen\"># dpkg --remove \u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/pre>\n<p>\u6d88\u3048\u306a\u3044\u5834\u5408\u30d7\u30ed\u30bb\u30b9\u3092\u6b62\u3081\u3066\u304b\u3089\u3068\u304b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u524a\u9664\u3068\u304b\u8272\u3005\u3084\u3089\u306a\u3044\u3068\u30c0\u30e1\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u518d\u8d77\u52d5\u306a\u3069\u3057\u3066\u3057\u307e\u3046\u3068\u304a\u304b\u3057\u306a\u3053\u3068\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u8d77\u52d5\u3057\u305f\u307e\u307e\u5bfe\u51e6\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \"># dpkg -r --force-depends \u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/pre>\n<p>\u89e3\u6c7a\u3057\u305f\u3089\u518d\u5ea6\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u7d9a\u304d\u304c\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \"># apt-get upgrade<\/pre>\n<p>\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u3088\u3063\u3066\u306f\u5168\u3066\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u4fdd\u7559\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4fdd\u7559\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u554f\u984c\u306a\u3044\u306e\u3067\u305d\u306e\u307e\u307e\u5168\u4f53\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n<h2>\u5168\u4f53\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/h2>\n<p>\u6b21\u306f\u5168\u3066\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p>1\u756a\u91cf\u304c\u591a\u304f\u3066\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \"># apt-get dist-upgrade<\/pre>\n<p>\u3053\u3053\u3067\u3082\u554f\u984c\u304c\u8d77\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u3063\u305f\u3089\u3001\u5148\u306e\u9805\u76ee\u306e\u3088\u3046\u306b\u554f\u984c\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3057\u3066\u304b\u3089\u518d\u5ea6 dist-upgrade \u3092\u5b9f\u884c\u3057\u3066\u5b8c\u4e86\u3055\u305b\u307e\u3059\u3002<\/p>\n<h2>\u518d\u8d77\u52d5<\/h2>\n<p>\u5b8c\u4e86\u3057\u305f\u3089\u3044\u3088\u3044\u3088\u518d\u8d77\u52d5\u3067\u3059\u3002<\/p>\n<p>1\u756a\u30cf\u30e9\u30cf\u30e9\u3059\u308b\u6642\u3067\u3059\u3002<\/p>\n<p>\u901a\u5e38\u306f\u554f\u984c\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u8d77\u52d5\u3057\u3066\u304d\u305f\u3089<\/p>\n<pre class=\"screen\"># apt-get purge $(dpkg -l | awk '\/^rc\/ { print $2 }')\r\n# apt-get autoremove \r\n# apt-get autoclean<\/pre>\n<p>\u3092\u3057\u3066\u6383\u9664\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>debian stretch\u3067\u5909\u308f\u3063\u305f\u3053\u3068<\/h2>\n<h3>apt\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>\u4eca\u307e\u3067\u5b9a\u756a\u3060\u3063\u305fapt-get\u30b3\u30de\u30f3\u30c9\u3067\u3059\u304c\u3001jessie\u304b\u3089\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305fapt\u30b3\u30de\u30f3\u30c9\u304c\u5b89\u5b9a\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true \">apt-get update ==&gt; apt update\r\n\r\napt-get upgrade ==&gt; apt upgrade\r\n\r\napt-cache search hoge == apt search hoge<\/pre>\n<p>&nbsp;<\/p>\n<h3>mysql\u524a\u9664<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304cmysql\u304b\u3089mariaDB\u306b\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u30aa\u30e9\u30af\u30eb\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u554f\u984c\u306a\u3069\u306e\u5f71\u97ff\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4e00\u5ea6mariaDB\u306b\u79fb\u884c\u3057\u305f\u5f8c\u306bmysql\u3078\u623b\u3059\u306e\u306f\u5371\u967a\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u95a2\u9023\u306fmysql\u3068\u4e92\u63db\u6027\u3092\u4fdd\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u305d\u306e\u307e\u307e\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>php\u3084perl\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7<\/h3>\n<p>\u304b\u306a\u308a\u53e4\u3044\u30a2\u30d7\u30ea\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u8272\u3005\u3068\u554f\u984c\u304c\u8d77\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e8b\u524d\u306b\u78ba\u8a8d\u304c\u5fc5\u8981\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070php\u3001mysql_\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u306f\u7121\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001PDO\u306b\u79fb\u884c\u3059\u308b\u304bmqsqli_\u306b\u66f8\u304d\u63db\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>mysqli_\u3082\u5f15\u6570\u306e\u9806\u756a\u306a\u3069\u5909\u308f\u3063\u3066\u3044\u308b\u306e\u3067\u7d50\u69cb\u5927\u5909\u3067\u3059\u3002<\/p>\n<p>perl\u3082\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5909\u66f4\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u3068\u3001\u5371\u967a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3 class=\"title\">\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u540d\u524d<\/h3>\n<p>jessie\u304b\u3089\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u5834\u5408\u306f\u4f55\u3082\u5909\u308f\u308a\u307e\u305b\u3093\u304c\u3001\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u306fudev\u7ba1\u7406\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u540d\u524d\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u306a\u3069\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u5834\u5408<\/p>\n<pre class=\"lang:default decode:true\">\/etc\/udev\/rules.d\/70-persistent-net.rules<\/pre>\n<p>\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u5834\u5408\u306e\u30c7\u30d0\u30a4\u30b9ID\u3084\u3089MAC\u3084\u3089\u540d\u524d\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u7dad\u6301\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5834\u5408\u306f\u3053\u306e\u5185\u5bb9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u5fc5\u8981\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<\/p>\n<h3>net-tools\u304c\u6d88\u3048\u305f<\/h3>\n<p>net-tools\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f\u8272\u3005\u3068\u30d9\u30fc\u30b7\u30c3\u30af\u306a\u30b3\u30de\u30f3\u30c9\u304c\u306a\u304f\u306a\u308a\u3001iproute2\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"screen\"># apt install net-tools<\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u304c\u3001\u65b0\u3057\u304f\u899a\u3048\u305f\u307b\u3046\u304c\u7c21\u5358\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3060\u3068\u3001<\/p>\n<p>ifconfig ==&gt; ip a<\/p>\n<p>arp ==&gt; ip n<\/p>\n<p>netstat ==&gt; ss<\/p>\n<p>route ==&gt; ip r<\/p>\n<h3>LXQt\u3092\u5165\u308c\u3066\u307f\u305f\u304cibus\u304c\u4e0a\u304c\u3063\u3066\u3053\u306a\u3044<\/h3>\n<p>\u4ed5\u65b9\u306a\u3044\u306e\u3067fcitx\u3067\u6211\u6162\u3002<\/p>\n<p>\u305d\u306e\u5f8c<span class=\"lang:default decode:true  crayon-inline \">dpkg-reconfigure<\/span>\u00a0\u306b\u3066ibus\u95a2\u9023\u3092\u521d\u671f\u5316\u3057\u3066\u5fa9\u5e30\u3002<\/p>\n<p>\u306a\u3069\u306a\u3069\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u79c1\u304c\u666e\u6bb5\uff11\u756a\u4f7f\u3063\u3066\u3044\u308b\u30d1\u30bd\u30b3\u30f3\u306fWindows\u3067\u306f\u306a\u304fLinux\u3067\u3059\u3002 \u8272\u3005\u3042\u308bLinux\u306e\u4e2d\u3067\u3082Debian\u304c\u304a\u6c17\u306b\u5165\u308a\u3067\u3001\u9577\u3044\u3053\u3068debian\u3092\u611b\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306e\u5ea6\u3001\u305d\u306eDebian\u304c\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e9\u306estre [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":259,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,37],"tags":[51,53,52,54],"class_list":["post-252","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-linux","category-blog","tag-debian","tag-jessie","tag-linux","tag-stretch"],"_links":{"self":[{"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":0,"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/media\/259"}],"wp:attachment":[{"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pc-taskal.net\/howto\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}