{"id":1549,"date":"2015-03-09T21:53:48","date_gmt":"2015-03-09T12:53:48","guid":{"rendered":"http:\/\/tech.akat.info\/?p=1549"},"modified":"2015-03-09T22:43:23","modified_gmt":"2015-03-09T13:43:23","slug":"osc2015-spring-%e3%81%ab%e5%8f%82%e5%8a%a0%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=1549","title":{"rendered":"osc2015-spring \u306b\u53c2\u52a0\u3057\u305f"},"content":{"rendered":"<p>\u5185\u5bb9\u3068\u305d\u306e\u5f8c\u30c6\u30b9\u30c8\u3057\u305f\u7d50\u679c\u3092\u8a18\u8f09\u3059\u308b<\/p>\n<h1>\u30b7\u30a7\u30eb\u306e\u30d7\u30ed\u304c\u8a9e\u308b\u3001\u300emake\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u51e6\u7406\u300f<\/h1>\n<p>USP\u7814\u7a76\u6240(\u3069\u3093\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u3082\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3051\u3067\u3064\u304f\u308b\u72c2\u4fe1\u96c6\u56e3)\u306e\u4eba\u304c\u767a\u8868<\/p>\n<h2>makefile<\/h2>\n<pre class=\"brush: plain; title: C\u306e\u30d7\u30ed\u30b0\u30e9\u30e0; notranslate\" title=\"C\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\">\r\nroot@hostname:\/home\/shimizu\/maketest# cat hello.c\r\n#include &lt;stdio.h&gt;\r\nint main(void){\r\n    printf(&quot;Hello, World!\\r\\n&quot;);\r\n    return 0;\r\n}\r\nroot@hostname:\/home\/shimizu\/maketest# gcc -o hello hello.c\r\nroot@hostname:\/home\/shimizu\/maketest# .\/hello\r\nHello!\r\nroot@hostname:\/home\/shimizu\/maketest# cat world.c\r\n#include &lt;stdio.h&gt;\r\nint main(void){\r\n    printf(&quot;World!\\r\\n&quot;);\r\n    return 0;\r\n}\r\nroot@hostname:\/home\/shimizu\/maketest# gcc -o world world.c\r\nroot@hostname:\/home\/shimizu\/maketest# .\/world\r\nWorld!\r\n<\/pre>\n<pre class=\"brush: plain; title: makefile; notranslate\" title=\"makefile\">\r\nroot@hostname:\/home\/shimizu\/maketest# cat makefile\r\n# Makefile for hello.c world.c\r\n\r\n# target: source\r\n#       program\r\n# target\u3088\u308asource\u304c\u65b0\u3057\u3051\u308c\u3070program\u3092\u5b9f\u884c\u3059\u308b\r\nhello: hello.c\r\n        gcc -o hello hello.c\r\n\r\nworld: world.c\r\n        gcc -o world world.c\r\n\r\nall: hello world\r\n\r\nclean:\r\n        rm hello\r\n        rm world\r\n\r\ninstall:\r\n        .\/hello\r\n        .\/world\r\n<\/pre>\n<h2>make\u30b3\u30de\u30f3\u30c9<\/h2>\n<pre class=\"brush: plain; title: make\u30b3\u30de\u30f3\u30c9; notranslate\" title=\"make\u30b3\u30de\u30f3\u30c9\">\r\nroot@hostname:\/home\/shimizu\/maketest# make all\r\ngcc -o hello hello.c\r\ngcc -o world world.c\r\nroot@hostname:\/home\/shimizu\/maketest# make install\r\n.\/hello\r\nHello!\r\n.\/world\r\nWorld!\r\nroot@hostname:\/home\/shimizu\/maketest# make clean\r\nrm -f hello\r\nrm -f world\r\n\r\n### 2CPU\u3067\u4e26\u5217\u51e6\u7406\u3059\u308b ###\r\nroot@hostname:\/home\/shimizu\/maketest# make -j2 all\r\ngcc -o hello hello.c\r\ngcc -o world world.c\r\n\r\n### \u30ed\u30fc\u30c9\u30a2\u30d9\u30ec\u30fc\u30b8\u306b\u3088\u3063\u3066\u4e26\u5217\u51e6\u7406\u304b\u3069\u3046\u304b\u3092\u6c7a\u3081\u308b ###\r\nroot@hostname:\/home\/shimizu\/maketest# make -l1 all\r\ngcc -o hello hello.c\r\ngcc -o world world.c\r\n\r\n### \u30ed\u30b0\u3092\u6b8b\u3057\u3066\u304a\u304f ###\r\nroot@hostname:\/home\/shimizu\/maketest# make all 2&gt;&amp;1 | tee make.log\r\ngcc -o hello hello.c\r\ngcc -o world world.c\r\n\r\n### \u5b9f\u969b\u306b\u306fmake\u3092\u5b9f\u884c\u305b\u305a\u306b\u3001\u5b9f\u884c\u3055\u308c\u308b\u30b3\u30de\u30f3\u30c9\u304c\u8868\u793a\u3060\u3051\u3055\u308c\u308b ###\r\nroot@hostname:\/home\/shimizu\/maketest# make -n all\r\ngcc -o hello hello.c\r\ngcc -o world world.c\r\n<\/pre>\n<h2>\u30e1\u30ea\u30c3\u30c8<\/h2>\n<p>\u30fb\u8907\u96d1\u306a\u624b\u9806\u3092\u307e\u3068\u3081\u3089\u308c\u308b<br \/>\n\u30fb\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u308b<br \/>\n\u30fb\u6b62\u307e\u3063\u305f\u3068\u3053\u308d\u304b\u3089\u518d\u958b\u3067\u304d\u308b<br \/>\n\u30fb\u5fa9\u5143\u3067\u304d\u308b(make clean\u3067\u30d3\u30eb\u30c9\u524d\u306b\u623b\u305b\u308b)<br \/>\n\u3000\u305d\u306e\u305f\u3081\u3001\u30b7\u30b9\u30c6\u30e0\u30ea\u30ab\u30d0\u30ea\u306b\u5229\u7528\u3057\u3084\u3059\u3044<\/p>\n<h2>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h2>\n<p>\u30fb\u6a19\u6e96\u5165\u529b\u306f\u3067\u304d\u306a\u3044<br \/>\n\u30fb\u9014\u4e2d\u3067\u306e\u5909\u6570\u4ee3\u5165\u3067\u304d\u306a\u3044(\u305d\u306e\u305f\u3081\u6700\u521d\u306bconfigure\u3067\u3059\u3079\u3066\u306e\u5909\u6570\u3092\u7528\u610f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b)<br \/>\n\u30fb\u30d2\u30a2\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u30d0\u30c3\u30c9\u30ce\u30a6\u30cf\u30a6\u3092\u5229\u7528\u3057\u306a\u3044\u3068\u4f7f\u3048\u306a\u3044<\/p>\n<h1>Debian updates<\/h1>\n<h2>news<\/h2>\n<p>security.debian.org \u306e\u30a2\u30b8\u30a2\u30d1\u30b7\u30d5\u30a3\u30c3\u30af\u5730\u57df\u5411\u3051\u30df\u30e9\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u65e5\u672c\u56fd\u5185\u306b\u8a2d\u7f6e\u3057\u305f<br \/>\n\u30a2\u30b8\u30a2\u521d\u3067\u3042\u308a\u3001\u30a2\u30b8\u30a2\u306e\u66f4\u65b0\u901f\u5ea6\u304c\u6539\u5584\u3055\u308c\u308b\u4e88\u5b9a\u3068\u306e\u3053\u3068<\/p>\n<pre class=\"brush: plain; title: apt-spy\u3067\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u3044\u3044\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3059\u308b; notranslate\" title=\"apt-spy\u3067\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u3044\u3044\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3059\u308b\">\r\nroot@hostname:\/etc\/apt# apt-spy -s jp -d stable\r\n\r\nSERVER: ftp.jp.debian.org\r\nBenchmarking FTP...\r\n                Downloaded 10550517 bytes in 1.00 seconds\r\n                Download speed: 10323.24 kB\/sec\r\n\r\n...\r\nSERVER: ftp.nara.wide.ad.jp\r\nBenchmarking FTP...\r\n                Downloaded 10550517 bytes in 0.99 seconds\r\n                Download speed: 10378.66 kB\/sec\r\n\r\nSERVER: ftp.nara.wide.ad.jp\r\nBenchmarking FTP...\r\n                Downloaded 10550517 bytes in 0.97 seconds\r\n                Download speed: 10623.28 kB\/sec\r\n\r\n...\r\nSERVER: ftp.tsukuba.wide.ad.jp\r\nBenchmarking HTTP...\r\n                Downloaded 10550517 bytes in 1.06 seconds\r\n                Download speed: 9715.85 kB\/sec\r\nWriting new sources.list file: \/etc\/apt\/sources.list.d\/apt-spy.list\r\n<\/pre>\n<h2>systemd<\/h2>\n<p>devuan\u30d7\u30ed\u30b8\u30a7\u30af\u30c8:systemd\u5927\u3063\u5acc\u3044\u306a\u4eba\u304c\u4f5c\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<br \/>\nsystemd\u306b\u3088\u3063\u3066\u3001\u9078\u629e\u306e\u81ea\u7531\u304c\u306a\u304f\u306a\u308b\u3053\u3068\u3092\u5acc\u3046<br \/>\n\u6d3b\u767a\u306b\u6d3b\u52d5\u3057\u3066\u3044\u308b\u3089\u3057\u3044<\/p>\n<p>systemd\u306b\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u9078\u6319\u3067\u6c7a\u3081\u3088\u3046\u3068\u3057\u305f<br \/>\nGeneral Resolution:init system coupling<br \/>\n\u7d50\u8ad6\u3068\u3057\u3066\u300c\u4e00\u822c\u6c7a\u8b70\u306f\u5fc5\u8981\u306a\u3044\u300d\u3068\u306a\u3063\u305f<br \/>\n\u3053\u308c\u306b\u3042\u305f\u308a\u591a\u304f\u306e\u958b\u767a\u8005\u304cdebian\u3092\u53bb\u3063\u305f\u3089\u3057\u3044<\/p>\n<p>\u305f\u3060\u3057systemd\u306b\u306a\u3063\u3066\u3082init\u304c\u30e9\u30c3\u30d1\u30fc\u3059\u308b\u9020\u308a\u306b\u306a\u3063\u3066\u3044\u308b<br \/>\n\u307e\u305fminimal\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082systemd\u306b\u306a\u308b<\/p>\n<h2>jessie\u3068\u4eca\u5f8c<\/h2>\n<p>PHP 5.6.5<br \/>\nmysql 5.5.42 (5.6.23)<br \/>\nmariadb 10.0.16<br \/>\napache 2.4.10<\/p>\n<p>debian  9 Strech<br \/>\ndebian 10 Buster<\/p>\n<h2>\u304a\u307e\u3051<\/h2>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/03\/2015-03-09_223741.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/03\/2015-03-09_223741.png\" alt=\"2015-03-09_223741\" width=\"995\" height=\"425\" class=\"alignnone size-full wp-image-1558\" \/><\/a><br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/03\/2015-03-09_224256.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/03\/2015-03-09_224256.png\" alt=\"2015-03-09_224256\" width=\"1222\" height=\"397\" class=\"alignnone size-full wp-image-1560\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5185\u5bb9\u3068\u305d\u306e\u5f8c\u30c6\u30b9\u30c8\u3057\u305f\u7d50\u679c\u3092\u8a18\u8f09\u3059\u308b \u30b7\u30a7\u30eb\u306e\u30d7\u30ed\u304c\u8a9e\u308b\u3001\u300emake\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u51e6\u7406\u300f USP\u7814\u7a76\u6240(\u3069\u3093\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u3082\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3051\u3067\u3064\u304f\u308b\u72c2\u4fe1\u96c6\u56e3)\u306e\u4eba\u304c\u767a\u8868 makefile root@hostname:\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[35,8],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1549"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1549"}],"version-history":[{"count":8,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1549\/revisions"}],"predecessor-version":[{"id":1561,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1549\/revisions\/1561"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}