{"id":1627,"date":"2016-06-06T00:03:42","date_gmt":"2016-06-05T15:03:42","guid":{"rendered":"http:\/\/helloidea.org\/?p=1627"},"modified":"2016-06-30T01:31:10","modified_gmt":"2016-06-29T16:31:10","slug":"%e4%b9%85%e3%81%97%e3%81%b6%e3%82%8a%e3%81%ab%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/1627.html","title":{"rendered":"\u4e45\u3057\u3076\u308a\u306b\u66f4\u65b0"},"content":{"rendered":"<p>\u4e00\u5e74\u3076\u308a\u306e\u30ea\u30cf\u30d3\u30ea\u6295\u7a3f<br \/>\n\u307b\u307c\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30d5\u30ea\u30fc()\u72b6\u614b\u306e\u9bd6\u3060\u3051\u3069\u3082\u4e00\u5fdc\u6a5f\u80fd\u3057\u3066\u307e\u3059..<\/p>\n<p>\u4e45\u3057\u3076\u308a\u306a\u306e\u3067\u6e9c\u307e\u3063\u305f\u30a2\u30d7\u30c7\u30fc\u30c8\u3068\u6383\u9664\u3092\u5b9f\u65bd\u3002<br \/>\n\u30d5\u30a1\u30f3\u30ec\u30b9\u3060\u304b\u3089\u30db\u30b3\u30ea\u6e9c\u307e\u3089\u306a\u3044\u306e\u304c\u3044\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>\u521d\u3081\u3066\u30c7\u30a3\u30b9\u30c8\u30ea\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3084\u3063\u305f\u306e\u3067\u30e1\u30e2\u30e1\u30e2\u3002<br \/>\n\u516c\u5f0f\u306e\u624b\u9806\u66f8\u304c\u3042\u308b\u306e\u3067\u53c2\u7167\u3057\u306a\u304c\u3089\u5b9f\u65bd\u3057\u307e\u3059(Wheezy \u304b\u3089 jessie\u3078\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9)<\/p>\n<p><a href=\"https:\/\/www.debian.org\/releases\/stable\/i386\/release-notes\/ch-upgrading.ja.html\" target=\"_blank\">\u7b2c4\u7ae0 Debian 7 (wheezy) \u304b\u3089\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/a><\/p>\n<p>\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u64ae\u3063\u3066\u306a\u3044\u306e\u3067\u3084\u3063\u305f\u624b\u9806\u3060\u3051<br \/>\nsources.list\u3092\u66f4\u65b0\u3059\u308b\u524d\u306b\u4eca\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u6700\u65b0\u306e\u72b6\u614b\u306b\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059<br \/>\n0. \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3068\u308b<br \/>\n1. aptitude update \u3068 aptitude upgrade \u3068 aptitude dist-upgrade \u3067\u6700\u65b0\u306e\u72b6\u614b\u306b\u3059\u308b<br \/>\n(\u3044\u307e\u307e\u3067dist-upgrade\u3060\u3051\u3067\u30c7\u30a3\u30b9\u30c8\u30ea\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u51fa\u6765\u308b\u3068\u4fe1\u3058\u3066\u305f&#8230;)<br \/>\n2. aptitude\u306eg\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u3066\u63d0\u6848\u3055\u308c\u305f\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5168\u3066\u5b9f\u884c\u3059\u308b<br \/>\n(4.2.1. \u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u306b\u304a\u3044\u3066\u4e2d\u65ad\u3057\u3066\u3044\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d)<br \/>\n3. dpkg -l | pager \u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u72b6\u614b\u3092\u8abf\u3079\u3066\u3001\u30a8\u30e9\u30fc\u72b6\u614b\u306b\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b<br \/>\n(4.2.3. \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u72b6\u614b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b)<br \/>\n4. \/etc\/apt\/sources.list\u3092\u7de8\u96c6\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# \r\n#deb cdrom:&#x5B;Debian GNU\/Linux 7.2.0 _Wheezy_ - Official amd64 DVD Binary-1 20131012-14:05]\/ wheezy contrib main\r\n#deb cdrom:&#x5B;Debian GNU\/Linux 7.2.0 _Wheezy_ - Official amd64 DVD Binary-1 20131012-14:05]\/ wheezy contrib main\r\n\r\n#deb http:\/\/ftp.jp.debian.org\/debian\/ wheezy main\r\n#deb-src http:\/\/ftp.jp.debian.org\/debian\/ wheezy main\r\ndeb http:\/\/ftp.jp.debian.org\/debian\/ jessie main contrib non-free\r\ndeb-src http:\/\/ftp.jp.debian.org\/debian\/ jessie main contrib non-free\r\n\r\n#deb http:\/\/security.debian.org\/ wheezy\/updates main contrib\r\n#deb-src http:\/\/security.debian.org\/ wheezy\/updates main contrib\r\ndeb http:\/\/security.debian.org\/ jessie\/updates main contrib non-free\r\ndeb-src http:\/\/security.debian.org\/ jessie\/updates main contrib non-free\r\n\r\ndeb http:\/\/ftp.jp.debian.org\/debian jessie-backports main contrib non-free\r\ndeb-src http:\/\/ftp.jp.debian.org\/debian\/ jessie-backports main contrib non-free\r\n\r\n# wheezy-updates, previously known as 'volatile'\r\n#deb http:\/\/ftp.jp.debian.org\/debian\/ wheezy-updates main contrib\r\n#deb-src http:\/\/ftp.jp.debian.org\/debian\/ wheezy-updates main contrib\r\n\r\n# jessie-updates, previously known as 'volatile'\r\ndeb http:\/\/ftp.jp.debian.org\/debian\/ jessie-updates main contrib non-free\r\ndeb-src http:\/\/ftp.jp.debian.org\/debian\/ jessie-updates main contrib non-free\r\n<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u306b\u4fee\u6b63\u3002<br \/>\n5. \u518d\u3073 aptitude update\u3068aptitude upgrade \u3092\u5b9f\u65bd\u30026\u6642\u9593\u304f\u3089\u3044\u304b\u304b\u3063\u305f\u5370\u8c61\u3002<\/p>\n<p>\u4eca\u306e\u3068\u3053\u308d\u7279\u306b\u554f\u984c\u306a\u3057\u3002<br \/>\n\u3042\u3068\u73fe\u72b6\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7cron\u3092\u30e1\u30e2\u3063\u3066\u7121\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002<br \/>\n\u6bce\u671d5\u6642\u306bDropbox\u3078\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c0\u30f3\u30d7\u3068www\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n00 05 * * * \/usr\/local\/bin\/dropbox.py start &gt;&gt; \/var\/www\/dropbox_log.txt 2&gt;&amp;1\r\n05 05 * * * mysqldump -u XXXX -XXXXXXXX -x -f wordpress &gt; \/var\/www\/wordpress.dmp\r\n10 05 * * * rsync -arv --delete \/var\/www\/ \/root\/Dropbox\/Helloidea.org\r\n30 05 * * * \/usr\/local\/bin\/dropbox.py stop  &gt;&gt; \/var\/www\/dropbox_log.txt 2&gt;&amp;1\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u5e74\u3076\u308a\u306e\u30ea\u30cf\u30d3\u30ea\u6295\u7a3f \u307b\u307c\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30d5\u30ea\u30fc()\u72b6\u614b\u306e\u9bd6\u3060\u3051\u3069\u3082\u4e00\u5fdc\u6a5f\u80fd\u3057\u3066\u307e\u3059.. \u4e45\u3057\u3076\u308a\u306a\u306e\u3067\u6e9c\u307e\u3063\u305f\u30a2\u30d7\u30c7\u30fc\u30c8\u3068\u6383\u9664\u3092\u5b9f\u65bd\u3002 \u30d5\u30a1\u30f3\u30ec\u30b9\u3060\u304b\u3089\u30db\u30b3\u30ea\u6e9c\u307e\u3089\u306a\u3044\u306e\u304c\u3044\u3044\u3067\u3059\u306d\u3002 \u521d\u3081\u3066\u30c7\u30a3\u30b9\u30c8\u30ea\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3084 \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-1627","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/comments?post=1627"}],"version-history":[{"count":11,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1627\/revisions"}],"predecessor-version":[{"id":1643,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1627\/revisions\/1643"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=1627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=1627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=1627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}