{"id":794,"date":"2019-02-09T23:30:48","date_gmt":"2019-02-09T14:30:48","guid":{"rendered":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=794"},"modified":"2019-02-09T23:30:48","modified_gmt":"2019-02-09T14:30:48","slug":"linux-%e7%ab%8b%e4%b8%8a%e3%81%92%e3%81%a7%e8%87%aa%e5%8b%95%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"post","link":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=794","title":{"rendered":"Linux \u7acb\u4e0a\u3052\u3067\u81ea\u52d5\u30d0\u30c3\u30af\u30a2\u30c3\u30d7"},"content":{"rendered":"<p>\u4ee5\u524d systemd \u306e\u5b9f\u7fd2\u3092\u517c\u306d\u3066\u3001\u7acb\u4e0a\u3052\u6642\u306b\uff11\u5ea6\u3060\u3051\u5b9f\u884c\u3055\u305b\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u7d44\u8fbc\u3093\u3067\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u5099\u5fd8\u9332\u306e\u6574\u7406\u3068\u4e00\u90e8\u306e\u62e1\u5f35\u304c\u5fc5\u8981\u306a\u305f\u3081\u306b\u4fee\u6b63\u3068\u88dc\u8db3\u3092\u8ffd\u52a0\u3057\u3066\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n<h3>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u306e\u9078\u629e\u304c\u5fc5\u8981\u306b\u306a\u308a\u4fee\u6b63<\/h3>\n<p>\u666e\u6bb5\u4f7f\u3044\u306e\u30ce\u30fc\u30c8PC \u304c\u30c7\u30e5\u30a2\u30eb\u30d6\u30fc\u30c8\u3067\u3001\u6642\u3005\u88cf\u306e Windows10 \u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u666e\u6bb5\u306f Linux \u306e Ubuntu \u304c\u7acb\u4e0a\u304c\u3063\u305f\u307e\u307e\u7a3c\u50cd\u3057\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067 Linux \u304c\u7acb\u4e0a\u304c\u3063\u305f\u6642\u306b\u3001Windows \u30b7\u30b9\u30c6\u30e0\u5074\u306e ntfs \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u4f5c\u696d\u9818\u57df\u3068\u3057\u3066\u66f4\u65b0\u3055\u308c\u308b\u4e00\u90e8\u3092\u81ea\u52d5\u7684\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3088\u3046\u3068\u8003\u3048\u3066\u3001\u3059\u3067\u306b\u7d44\u307f\u8fbc\u3093\u3067\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u3001UPS \u30d0\u30c3\u30c6\u30ea\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u305f <strong>NET\u5171\u6709\u30b5\u30fc\u30d0\u30fc<\/strong>\u3068\u3057\u3066<strong>\u30e9\u30ba\u30d1\u30a41B+<\/strong>\u3092\u7acb\u4e0a\u3052\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3092\u4e3b\u3068\u306a\u308b\u30de\u30b9\u30bf\u30fc\u3068\u3057\u3066\u4f4d\u7f6e\u4ed8\u3051\u3066\u3001\u4eca\u307e\u3067\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u30b7\u30b9\u30c6\u30e0\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u306e\u30b9\u30ec\u30fc\u30d6\u3068\u3057\u3066\u5171\u5b58\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n<strong>\u30e9\u30ba\u30d1\u30a4<\/strong>\u3082\u63a5\u7d9a\u3055\u308c\u308b HDD \u304c\u5185\u90e8\u30d0\u30b9\u3067\u9ad8\u901f\u306a\u3089\u3001\u6238\u60d1\u3044\u306a\u304f RAID2 \u306e\u30df\u30e9\u30fc\u3067\u5229\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u3055\u3059\u304c\u306b USB2.0 \u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9 HDD \u3067\u30df\u30e9\u30fc\u3092\u7d44\u3080\u306e\u306f\u7121\u7406\u304c\u3042\u308b\u3068\u601d\u3044\u3001\uff12\u53f0\u306e\u30e9\u30ba\u30d1\u30a4\u3092\u30de\u30b9\u30bf\u30fc\u3068\u30b9\u30ec\u30fc\u30d6\u3067\u5229\u7528\u3057\u3066\u3001\u30de\u30b9\u30bf\u30fc\u304c\u6545\u969c\u3057\u305f\u5834\u5408\u306b\u306f\u30b9\u30ec\u30fc\u30d6\u306b\u63a5\u7d9a\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u30c7\u30fc\u30bf\u306e\u540c\u671f\u306b\u3064\u3044\u3066\u306f\u3001\u591c\u4e2d\u304b\u3089\u660e\u65b9\u306b\u304b\u3051\u3066\u6bce\u65e5\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u3067\u540c\u671f\u3055\u305b\u307e\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u6c7a\u3081\u6253\u3061\u3060\u3063\u305f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u306e\u30b5\u30fc\u30d0\u30fc\u30a2\u30c9\u30ec\u30b9\u3092\u67d4\u8edf\u306b\u5207\u308a\u66ff\u3048\u3089\u308c\u308b\u5fc5\u8981\u306b\u8feb\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n<h3>\u4ee5\u524d\u307e\u3068\u3081\u305f\u5185\u5bb9\u3092\u4fee\u6b63\u3057\u306a\u304c\u3089\u30b7\u30f3\u30d7\u30eb\u306b\u6574\u7406<\/h3>\n<p>\u5b9f\u969b\u306b Windows \u3092\u5229\u7528\u3057\u3066\u3044\u305f\u304b\u306f\u554f\u984c\u5916\u3068\u3057\u3066\u3001Linux \u304c\u8d77\u52d5\u3057\u305f\u5f8c\u306b\uff11\u5ea6\u3060\u3051 ntfs \u306e\u4e00\u90e8\u3068\u30b5\u30fc\u30d0\u30fc\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30a8\u30ea\u30a2\u306e\u540c\u671f\u3092\u53d6\u308a\u307e\u3059\u3002\u305d\u306e\u6642\u306b\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5b9f\u884c\u3057\u305f\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30a8\u30ea\u30a2\u5185\u306b\u6b8b\u3057\u3066\u304a\u304f\u3053\u3068\u3068\u3057\u307e\u3059\u3002<br \/>\n<strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d: <span style=\"color: #ff00ff;\">NoteStartUpRun<\/span><\/strong> \u3067\u3001\u6307\u5b9a\u3059\u308b\u5834\u6240\u306b\u5b9f\u969b\u306e\u5b9f\u884c\u30e2\u30b8\u30e5\u30fc\u30eb\u7b49\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<br \/>\n<strong>\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u540d: <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong> \u304c\u3001\u30b5\u30fc\u30d3\u30b9\u306e\u6027\u683c\u3092\u5b9a\u7fa9\u3059\u308b\u4ed5\u69d8\u66f8\u306e\u4f4d\u7f6e\u4ed8\u3051\u3067\u3059\u3002\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u540d\u3092\u30ad\u30fc\u306b\u3057\u3066\u3001\u5b9f\u884c\u7d50\u679c\u306e\u30ed\u30b0\u78ba\u8a8d\u3084\u52d5\u4f5c\u72b6\u6cc1\u306e\u78ba\u8a8d\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30b5\u30fc\u30d3\u30b9(\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb)\u306e\u767b\u9332\u306f\u3001 <strong>\/etc\/systemd\/system\/<span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong> \u3067\u3059\u3002<br \/>\n\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u5b9f\u969b\u306b\u5b9f\u884c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3067\u6307\u5b9a\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea <strong>\/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin<\/strong> \u306b\u96c6\u3081\u307e\u3059\u3002<br \/>\n\u307e\u305a\u30b5\u30fc\u30d3\u30b9\u306e\u4ed5\u69d8\u66f8\u3068\u306a\u308b\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3067\u3059\u304c\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u3067\u4f5c\u6210\u3057\u3066\u3001systemd \u306e\u30b7\u30b9\u30c6\u30e0\u9818\u57df\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>vi <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n<span class=\"span-st-n\">[Unit]\nDescription = Note Private AutoRun\nAfter=network-online.target remote-fs.target nss-lookup.target\nConditionPathExists=\/opt\/<strong><span style=\"color: #ff00ff;\">NoteStartUpRun<\/span><\/strong>\/bin\n[Service]\nExecStart=\/opt\/<strong><span style=\"color: #ff00ff;\">NoteStartUpRun<\/span><\/strong>\/bin\/<strong><span style=\"color: #800080;\">note-stup-1st.sh<\/span><\/strong>\nRestart=no\nType=simple\n[Install]\nWantedBy=multi-user.target<\/span><\/pre>\n<p>\u4f5c\u6210\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u3092 systemd \u9818\u57df\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u6240\u6709\u8005\u3068\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u5909\u66f4\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>sudo cp <span style=\"color: #ff6600;\">note-startup-1st.service<\/span> \/etc\/systemd\/system<\/strong>\n$ <strong>sudo chown root:root \/etc\/systemd\/system\/<span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n$ <strong>sudo chmod 644 \/etc\/systemd\/system\/<span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n<\/pre>\n<p>\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u8d77\u52d5\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u5358\u7d14\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5236\u5fa1\u3092\u79fb\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002\u5f8c\u304b\u3089\u5f15\u6570\u306e\u8ffd\u52a0\u30fb\u5909\u66f4\u7b49\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u5bb9\u6613\u306b\u306a\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u4e0e\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>vi <span style=\"color: #800080;\">note-stup-1st.sh<\/span><\/strong>\n#!\/bin\/sh\nexec \/opt\/<strong><span style=\"color: #ff00ff;\">NoteStartUpRun<\/span><\/strong>\/bin\/<strong><span style=\"color: #3366ff;\">sunao-note_Windows-Documents-bkup<\/span><\/strong>  \"192.168.11.23\"<\/pre>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u307e\u3068\u3081\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3001\u6240\u6709\u6a29\u3068\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u3001\u8d77\u52d5\u3059\u308b\u30b9\u30d7\u30ea\u30af\u30c8\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>sudo mkdir -p \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin<\/strong>\n$ <strong>sudo chmod 755 \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin<\/strong>\n$ <strong>sudo cp <span style=\"color: #800080;\">note-stup-1st.sh<\/span> \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin<\/strong>\n$ <strong>sudo chown root:root \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin\/<span style=\"color: #800080;\">note-stup-1st.sh<\/span><\/strong>\n$ <strong>sudo chmod 755 \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin\/<span style=\"color: #800080;\">note-stup-1st.sh<\/span><\/strong><\/pre>\n<p>\u5b9f\u969b\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5b9f\u884c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>vi <span style=\"color: #3366ff;\">sunao-note_Windows-Documents-bkup<\/span><\/strong>\n#!\/bin\/bash\nserver='192.168.11.23' # \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u30b5\u30fc\u30d0\u30fc\ntest -z \"$1\" || server=\"$1\"\necho \"-- bkup to $server\"\nbkup_D=\"$server:\/home\/bkup\/sunao-sp\/sunao-Win-Doc\/\" # \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u4f4d\u7f6e\nmntS='\/mnt\/ntfs'\nbkup_S=\"$mntS\/Users\/sunao\/Documents\/\" # \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5143\u306e\u30d9\u30fc\u30b9\nsleep 300 # \u5b89\u5b9a\u3059\u308b\u3088\u3046\u306b 5\u5206\u5f85\u3064\n\/bin\/mount $mntS\necho \"\u5b9f\u884c\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7 `date`\" &gt; $bkup_S\/TimeStamp.txt\n\/usr\/bin\/rsync -av --delete $bkup_S $bkup_D\n\/bin\/umount $mntS\n<\/pre>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5b9f\u884c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u914d\u7f6e\u3057\u3066\u3001\u6240\u6709\u6a29\u3068\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>sudo cp <span style=\"color: #3366ff;\">sunao-note_Windows-Documents-bkup<\/span> \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin\n<\/strong>$ <strong>sudo chown root:root \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin\/<span style=\"color: #3366ff;\">sunao-note_Windows-Documents-bkup\n<\/span><\/strong>$ <strong>sudo chmod 755 \/opt\/<span style=\"color: #ff00ff;\">NoteStartUpRun<\/span>\/bin\/<span style=\"color: #3366ff;\">sunao-note_Windows-Documents-bkup <\/span><\/strong>\n<\/pre>\n<p>\u51e6\u7406\u306e\u6d41\u308c\u3068\u3057\u3066\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3066\u3044\u308b <span style=\"color: #ff6600;\">note-startup-1st.service<\/span> \u306b\u3088\u308a <span style=\"color: #800080;\">note-stup-1st.sh<\/span> \u304c\u8d77\u52d5\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u5358\u7d14\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5b9f\u884c\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u00a0<span style=\"color: #3366ff;\">sunao-note_Windows-Documents-bkup<\/span> \u3092\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<hr \/>\n<h4>\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092 systemd \u306b\u767b\u9332<\/h4>\n<p>\u3053\u3053\u304b\u3089\u306f\u3001systemd \u3078\u306e\u30b5\u30fc\u30d3\u30b9(\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb)\u306e\u767b\u9332\u3068\u691c\u8a3c\u4f5c\u696d\u3067\u3059\u3002<br \/>\n\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u7b49\u3092\u8ffd\u52a0\u3084\u5909\u66f4\u3057\u305f\u5f8c\u306b\u306f\u3001\u5fc5\u305a\u6b21\u306e\u30b3\u30de\u30f3\u30c9 <span style=\"color: #003366;\"><strong>sudo systemctl daemon-reload<\/strong><\/span> \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002systemd \u3078\u306e\u767b\u9332\u3084\u767b\u9332\u5185\u5bb9\u306e\u66f4\u65b0\u4f5c\u696d\u304c\u5fc5\u8981\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u305d\u3057\u3066\u4e00\u7dd2\u306b\u30b9\u30c6\u30fc\u30bf\u30b9\u3082\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>sudo systemctl daemon-reload<\/strong>\n$ <strong>sudo systemctl status <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n<span class=\"span-st-n\">\u25cf note-startup-1st.service - Note Private AutoRun\n   Loaded: loaded (\/etc\/systemd\/system\/note-startup-1st.service; <span style=\"color: #ff0000;\">disabled<\/span>; vendor preset: enabled)\n   Active: inactive (dead)<\/span>\n<\/pre>\n<p>\u30b9\u30c6\u30fc\u30bf\u30b9\u3067\u8868\u793a\u3055\u308c\u308b Loaded: \u884c\u306e\u30ab\u30c3\u30b3\u5185\u306e\uff11\u3064\u76ee\u3068\uff12\u3064\u76ee\u306e\u30bb\u30df\u30b3\u30ed\u30f3\u306e\u9593\u306e <span style=\"color: #ff0000;\">disabled<\/span> \u3068\u306a\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u81ea\u52d5\u8d77\u52d5\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306e\u3088\u3046\u3067\u3001\u81ea\u52d5\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h4>\u81ea\u52d5\u8d77\u52d5\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a<\/h4>\n<pre class=\"pre-s2\">$ <strong>sudo systemctl enable <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n<span class=\"span-st-n\">Created symlink from \/etc\/systemd\/system\/multi-user.target.wants\/note-startup-1st.service to \/etc\/systemd\/system\/note-startup-1st.service.<\/span>\n$ <strong>sudo systemctl status <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n<span class=\"span-st-n\">\u25cf note-startup-1st.service - Note Private AutoRun\n   Loaded: loaded (\/etc\/systemd\/system\/note-startup-1st.service; <\/span><span style=\"background: #eeeeee none repeat scroll 0% 0%; color: #00ff00;\">enabled<\/span><span style=\"color: #002060; background: #eeeeee none repeat scroll 0% 0%;\">; vendor preset: enabled)\n   Active: inactive (dead)<\/span>\n<\/pre>\n<p>\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5b9a\u7fa9\u5185\u306b\u3001[ Install ] \u306e WantedBy= \u3067\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u30e6\u30cb\u30c3\u30c8\u306b\u30ea\u30f3\u30af\u304c\u5f35\u3089\u308c\u3001\u5148\u307b\u3069\u306e \/etc\/systemd\/system\/note-startup-1st.service; \u306e\u5f8c\u306e <span style=\"color: #ff0000;\">disabled<\/span> \u304c <span style=\"color: #00ff00;\">enabled<\/span> \u306b\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3067\u518d\u7acb\u3061\u4e0a\u3052\u3067\u81ea\u52d5\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u304c\u3001\u305d\u306e\u524d\u306b\u30b3\u30de\u30f3\u30c9\u3067\u8d77\u52d5\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h4>systemd \u306e\u624b\u52d5\u8d77\u52d5\u306e\u78ba\u8a8d<\/h4>\n<p>\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u305f\u30b3\u30de\u30f3\u30c9<span style=\"color: #003366;\"><strong> sudo systemctl start note-startup-1st.service<\/strong><\/span> \u3067\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>sudo systemctl start <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n$ <strong>sudo systemctl status <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n\u25cf note-startup-1st.service - Note Private AutoRun\nLoaded: loaded (\/etc\/systemd\/system\/note-startup-1st.service; enabled; vendor preset: enabl\n<strong>Active: active (running) since<\/strong> Sat 2019-02-09 20:40:50 JST; 19s ago\nMain PID: 15710 (sunao-note_Wind)\nTasks: 2 (limit: 3787)\nCGroup: \/system.slice\/note-startup-1st.service\n\u251c\u250015710 \/bin\/bash \/opt\/NoteStartUpRun\/bin\/sunao-note_Windows-Documents-bkup 192.168\n<strong>\u2514\u250015711 sleep 300<\/strong>\n2\u6708 09 20:40:50 MITA-NY40S systemd[1]: Started Note Private AutoRun.\n2\u6708 09 20:40:50 MITA-NY40S note-stup-1st.sh[15710]: -- bkup to 192.168.11.23\nlines 1-11\/11 (END)\n<\/pre>\n<p>\u8d77\u52d5\u3055\u308c\u3066 &#8216;&#8211; bkup to 192.168.11.23&#8242; \u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u307e\u3067\u304c\u66f8\u304d\u3060\u3055\u308c\u3066\u3001&#8217;Active: active (running) since &#8230;.&#8217; \u3068\u8868\u793a\u3057\u3066\u5b9f\u884c\u4e2d\u306a\u306e\u304c\u308f\u304b\u308a\u3001&#8217;\u2514\u250015711 sleep 300&#8242; \u3067\u6b62\u307e\u3063\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n\u5f85\u3061\u6642\u9593\u306e\uff15\u5206\u304c\u7d4c\u904e\u3057\u305f\u306e\u3067\u3001\u518d\u3073\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>sudo systemctl status <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n\u25cf note-startup-1st.service - Note Private AutoRun\n   Loaded: loaded (\/etc\/systemd\/system\/note-startup-1st.service; enabled; vendor preset: enabl\n   <strong>Active: inactive (dead)<\/strong> since Sat 2019-02-09 20:45:57 JST; 24min ago\n  Process: 15710 ExecStart=\/opt\/NoteStartUpRun\/bin\/note-stup-1st.sh (code=exited, status=0\/SUC\n Main PID: 15710 (code=exited, status=0\/SUCCESS)\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Version 2017.3.23 integrated FUSE 28\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Mounted \/dev\/sda4 (Read-Write, label \"Windows\", NT\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Cmdline options: rw,noexec,nosuid,nodev,uid=1000,g\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Mount options: rw,noexec,nosuid,nodev,user,allow_o\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Global ownership and permissions enforced, configu\n 2\u6708 09 20:45:55 MITA-NY40S note-stup-1st.sh[15710]: sending incremental file list\n 2\u6708 09 20:45:56 MITA-NY40S note-stup-1st.sh[15710]: TimeStamp.txt\n 2\u6708 09 20:45:57 MITA-NY40S note-stup-1st.sh[15710]: sent 4,207 bytes  received 61 bytes  948.\n 2\u6708 09 20:45:57 MITA-NY40S note-stup-1st.sh[15710]: total size is 37,355,511  speedup is 8,75\n 2\u6708 09 20:45:57 MITA-NY40S ntfs-3g[15727]: Unmounting \/dev\/sda4 (Windows)\nlines 1-16\/16 (END)<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308b\u8d77\u52d5\u3067\u306f\u554f\u984c\u306a\u304f\u5b9f\u884c\u3055\u308c\u3066\u3001\u6b63\u5e38\u7d42\u4e86\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u30ed\u30b0\u306b\u66f8\u304d\u51fa\u3055\u308c\u3066\u3044\u308b\u5185\u5bb9\u304b\u3089\u3001\u6700\u521d\u306e status \u3067\u306f sleep 300 \u3067\u505c\u6b62\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u6642\u70b9\u307e\u3067\u306e echo \u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u78ba\u8a8d\u3067\u304d\u3001\u6b21\u306e status \u3067\u306f\u3001\u305d\u306e\u5f8c\u306e ntfs \u30d5\u30a1\u30a4\u30eb\u306e\u30de\u30a6\u30f3\u30c8\u3084 rsync \u30b3\u30de\u30f3\u30c9\u306b\u3088\u308b\u8ee2\u9001\u3084 ntfs \u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3082\u3057\u66f4\u65b0\u30d5\u30a1\u30a4\u30eb\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3067\u3001\u66f4\u65b0\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u51e6\u7406\u306f\u3001\u8d77\u52d5\u3055\u308c\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u52d5\u4f5c\u304c\u7d42\u308f\u308b\u3068\u3001\u6bce\u56de\u7d42\u4e86\u3059\u308b\u306e\u3067 &#8216;Active: inactive (dead)&#8217; \u3068\u8868\u793a\u3057\u3066\u3001\u305d\u306e\u5f8c\u306b\u7d42\u4e86\u3057\u305f\u65e5\u6642\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4>\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3067\u30b8\u30e3\u30fc\u30ca\u30eb\u3092\u78ba\u8a8d<\/h4>\n<p>\u6b21\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u51fa\u529b\u30ed\u30b0\u3092\u78ba\u8a8d\u3067\u304d\u308b journalctl \u30b3\u30de\u30f3\u30c9\u304c\u3042\u308b\u306e\u3067\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>journalctl -u <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n 2\u6708 09 20:40:50 MITA-NY40S systemd[1]: Started Note Private AutoRun.\n 2\u6708 09 20:40:50 MITA-NY40S note-stup-1st.sh[15710]: -- bkup to 192.168.11.23\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Version 2017.3.23 integrated FUSE 28\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Mounted \/dev\/sda4 (Read-Write, label \"Windows\", NT\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Cmdline options: rw,noexec,nosuid,nodev,uid=1000,g\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Mount options: rw,noexec,nosuid,nodev,user,allow_o\n 2\u6708 09 20:45:51 MITA-NY40S ntfs-3g[15727]: Global ownership and permissions enforced, configu\n 2\u6708 09 20:45:55 MITA-NY40S note-stup-1st.sh[15710]: sending incremental file list\n 2\u6708 09 20:45:56 MITA-NY40S note-stup-1st.sh[15710]: TimeStamp.txt\n 2\u6708 09 20:45:57 MITA-NY40S note-stup-1st.sh[15710]: sent 4,207 bytes  received 61 bytes  948.\n 2\u6708 09 20:45:57 MITA-NY40S note-stup-1st.sh[15710]: total size is 37,355,511  speedup is 8,75\n 2\u6708 09 20:45:57 MITA-NY40S ntfs-3g[15727]: Unmounting \/dev\/sda4 (Windows)\nlines 285-306\/306 (END)\n<\/pre>\n<p>\u30b8\u30e3\u30fc\u30ca\u30eb\u306e\u8868\u793a\u3067\u306f\u3001status \u3067\u5206\u5272\u3055\u308c\u3066\u3044\u305f\u30ed\u30b0\u5185\u5bb9\u304c\u7d9a\u3051\u3066\u8868\u793a\u3055\u308c\u3001 20:40 \u3067\u51e6\u7406\u304c\u59cb\u307e\u308a\u3001\u6642\u9593\u304c\u98db\u3093\u3067 20:45 \u304b\u3089 ntfs \u306e\u30de\u30a6\u30f3\u30c8\u304c\u59cb\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001\uff15\u5206\u5f85\u3063\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>\u30b7\u30b9\u30c6\u30e0\u518d\u8d77\u52d5\u306b\u3088\u308b\u81ea\u52d5\u8d77\u52d5\u306e\u78ba\u8a8d<\/h4>\n<p>\u3044\u3088\u3044\u3088\u5f85\u671b\u306e Linux \u306e\u7acb\u4e0a\u3052\u306b\u3088\u308b\u81ea\u52d5\u8d77\u52d5\u306e\u78ba\u8a8d\u306b\u306a\u308a\u307e\u3059\u3002\u30ce\u30fc\u30c8PC\u3092\u518d\u8d77\u52d5\u3057\u3066\u30b8\u30e3\u30fc\u30ca\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>journalctl -u <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n 2\u6708 09 20:45:57 MITA-NY40S note-stup-1st.sh[15710]: sent 4,207 bytes  received 61 bytes  948.44 bytes\/s\n 2\u6708 09 20:45:57 MITA-NY40S note-stup-1st.sh[15710]: total size is 37,355,511  speedup is 8,752.46\n 2\u6708 09 20:45:57 MITA-NY40S ntfs-3g[15727]: Unmounting \/dev\/sda4 (Windows)\n-- Reboot --\n 2\u6708 09 22:00:30 MITA-NY40S systemd[1]: Started Note Private AutoRun.\n 2\u6708 09 22:00:30 MITA-NY40S note-stup-1st.sh[1281]: -- bkup to 192.168.11.23\n 2\u6708 09 22:05:31 MITA-NY40S ntfs-3g[3854]: Version 2017.3.23 integrated FUSE 28\n 2\u6708 09 22:05:31 MITA-NY40S ntfs-3g[3854]: Mounted \/dev\/sda4 (Read-Write, label \"Windows\", NTFS 3.1)\n 2\u6708 09 22:05:31 MITA-NY40S ntfs-3g[3854]: Cmdline options: rw,noexec,nosuid,nodev,uid=1000,gid=1000,use\n 2\u6708 09 22:05:31 MITA-NY40S ntfs-3g[3854]: Mount options: rw,noexec,nosuid,nodev,user,allow_other,nonemp\n 2\u6708 09 22:05:31 MITA-NY40S ntfs-3g[3854]: Global ownership and permissions enforced, configuration type\n 2\u6708 09 22:05:34 MITA-NY40S note-stup-1st.sh[1281]: sending incremental file list\n 2\u6708 09 22:05:35 MITA-NY40S note-stup-1st.sh[1281]: TimeStamp.txt\n 2\u6708 09 22:05:35 MITA-NY40S note-stup-1st.sh[1281]: sent 4,207 bytes  received 61 bytes  948.44 bytes\/se\n 2\u6708 09 22:05:35 MITA-NY40S note-stup-1st.sh[1281]: total size is 37,355,511  speedup is 8,752.46\n 2\u6708 09 22:05:35 MITA-NY40S ntfs-3g[3854]: Unmounting \/dev\/sda4 (Windows)\nlines 295-319\/319 (END)\n<\/pre>\n<p>&#8216;&#8211; Reboot &#8211;&#8216; \u306e\u8a18\u9332\u4ee5\u964d\u304c\u65b0\u3057\u304f\u8ffd\u52a0\u3055\u308c\u305f\u30ed\u30b0\u3067\u3059\u306e\u3067\u3001\u554f\u984c\u306a\u304f\u8d77\u52d5\u3055\u308c\u3066\u6b63\u5e38\u7d42\u4e86\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<hr \/>\n<h3>\u5b9f\u969b\u306e\u7acb\u4e0a\u3052\u306b\u3088\u308b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u6ce8\u610f\u70b9<\/h3>\n<p>\u9806\u8abf\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u52d5\u4f5c\u304c\u6a5f\u80fd\u3057\u305f\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u8272\u3005\u306a\u8a66\u884c\u932f\u8aa4\u306e\u7d50\u679c\u3068\u3057\u3066\u554f\u984c\u306e\u89e3\u6c7a\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7acb\u4e0a\u3052\u76f4\u5f8c\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b89\u5b9a\u306b\u554f\u984c\u304c\u3042\u308b\u3089\u3057\u304f\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u5bfe\u7b56\u3068\u3057\u3066\u306f\u8d77\u52d5\u3055\u308c\u3066\u304b\u3089 \uff15\u5206\u306e\u5f85\u3061\u6642\u9593\u306e\u8ffd\u52a0\u3067\u554f\u984c\u304c\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<br \/>\n\u6b21\u306f &#8216;sleep 300&#8217; \u306e\u5f85\u3061\u6642\u9593\u304c\u8ffd\u52a0\u3055\u308c\u308b\u524d\u306b\u51fa\u3066\u3044\u305f\u30a8\u30e9\u30fc\u306e\u30b8\u30e3\u30fc\u30ca\u30eb\u5185\u5bb9\u3067\u3059\u3002<\/p>\n<pre class=\"pre-s2\">$ <strong>journalctl -u <span style=\"color: #ff6600;\">note-startup-1st.service<\/span><\/strong>\n<span class=\"span-st-n\">\n-- Logs begin at \u706b 2018-01-09 16:24:34 JST, end at \u706b 2018-01-09 16:27:17 JST. --\n 1\u6708 09 16:25:12 MITA-NY40S systemd[1]: Started Note Private AutoRun.\n 1\u6708 09 16:25:14 MITA-NY40S ntfs-3g[1071]: Version 2015.3.14AR.1 integrated FUSE 28\n 1\u6708 09 16:25:14 MITA-NY40S ntfs-3g[1071]: Mounted \/dev\/sda4 (Read-Write, label \"Windows\", NTFS 3.1)\n 1\u6708 09 16:25:14 MITA-NY40S ntfs-3g[1071]: Cmdline options: rw,noexec,nosuid,nodev,uid=1000,gid=1000,user\n 1\u6708 09 16:25:14 MITA-NY40S ntfs-3g[1071]: Mount options: rw,noexec,nosuid,nodev,user,allow_other,nonempty,relatime,default_permissi\n 1\u6708 09 16:25:14 MITA-NY40S ntfs-3g[1071]: Global ownership and permissions enforced, configuration type 7\n 1\u6708 09 16:25:16 MITA-NY40S note-stup-1st.sh[1039]: <span style=\"color: #ff0000;\">ssh: connect to host 192.168.11.21 port 22: Network is <strong>unreachable<\/strong><\/span>\n 1\u6708 09 16:25:16 MITA-NY40S note-stup-1st.sh[1039]: <span style=\"color: #ff0000;\">rsync: connection unexpectedly closed (0 bytes received so far) [sender]<\/span>\n 1\u6708 09 16:25:16 MITA-NY40S note-stup-1st.sh[1039]: <span style=\"color: #ff0000;\">rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]<\/span>\n 1\u6708 09 16:25:16 MITA-NY40S ntfs-3g[1071]: Unmounting \/dev\/sda4 (Windows)<\/span>\n<\/pre>\n<p>\u305d\u308c\u4ee5\u5916\u306e\u30a8\u30e9\u30fc\u3068\u3057\u3066\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u5909\u66f4\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u7406\u7531\u306f root \u30e6\u30fc\u30b6\u30fc\u3067\u63a5\u7d9a\u3057\u8ee2\u9001\u3057\u3066\u3044\u307e\u3059\u304c\u3001 root \u304b\u3089 root \u3067\u306e ssh \u3067\u306e\u63a5\u7d9a\u5b9f\u7e3e\u304c\u306a\u304f\u3001\u78ba\u8a8d\u30ad\u30fc\u5f85\u3061\u306b\u306a\u3063\u3066\u30a8\u30e9\u30fc\u3057\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u3002\u4e8b\u524d\u306b\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u63a5\u7d9a\u78ba\u8a8d\u3092\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre class=\"pre-s2\">-- Reboot --\n 2\u6708 07 23:09:20 MITA-NY40S systemd[1]: Started Note Private AutoRun.\n 2\u6708 07 23:09:20 MITA-NY40S note-stup-1st.sh[1330]: -- bkup to 192.168.11.23\n 2\u6708 07 23:14:21 MITA-NY40S ntfs-3g[2633]: Version 2017.3.23 integrated FUSE 28\n 2\u6708 07 23:14:21 MITA-NY40S ntfs-3g[2633]: Mounted \/dev\/sda4 (Read-Write, label \"Windows\", NTFS 3.1)\n 2\u6708 07 23:14:21 MITA-NY40S ntfs-3g[2633]: Cmdline options: rw,noexec,nosuid,nodev,uid=1000,gid=1000,use\n 2\u6708 07 23:14:21 MITA-NY40S ntfs-3g[2633]: Mount options: rw,noexec,nosuid,nodev,user,allow_other,nonemp\n 2\u6708 07 23:14:21 MITA-NY40S ntfs-3g[2633]: Global ownership and permissions enforced, configuration type\n 2\u6708 07 23:14:21 MITA-NY40S note-stup-1st.sh[1330]: <span style=\"color: #ff0000;\">Host key verification failed.<\/span>\n 2\u6708 07 23:14:21 MITA-NY40S note-stup-1st.sh[1330]: <span style=\"color: #ff0000;\">rsync: connection unexpectedly closed (0 bytes recei<\/span>\n 2\u6708 07 23:14:21 MITA-NY40S note-stup-1st.sh[1330]: <span style=\"color: #ff0000;\">rsync error: error in rsync protocol data stream (co<\/span>\n 2\u6708 07 23:14:21 MITA-NY40S ntfs-3g[2633]: Unmounting \/dev\/sda4 (Windows)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d systemd \u306e\u5b9f\u7fd2\u3092\u517c\u306d\u3066\u3001\u7acb\u4e0a\u3052\u6642\u306b\uff11\u5ea6\u3060\u3051\u5b9f\u884c\u3055\u305b\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u7d44\u8fbc\u3093\u3067\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u5099\u5fd8\u9332\u306e\u6574\u7406\u3068\u4e00\u90e8\u306e\u62e1\u5f35\u304c\u5fc5\u8981\u306a\u305f\u3081\u306b\u4fee\u6b63\u3068\u88dc\u8db3\u3092\u8ffd\u52a0\u3057\u3066\u307e\u3068\u3081\u307e\u3059\u3002 \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u306e\u9078\u629e\u304c\u5fc5\u8981\u306b\u306a\u308a\u4fee\u6b63 \u666e\u6bb5\u4f7f\u3044\u306e\u30ce &hellip; <a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/?p=794\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Linux \u7acb\u4e0a\u3052\u3067\u81ea\u52d5\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,9,13],"tags":[],"_links":{"self":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/794"}],"collection":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=794"}],"version-history":[{"count":0,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions"}],"wp:attachment":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}