{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/category/linux/ubuntu/xenial16-04/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/category/linux/ubuntu/xenial16-04/", "feed_url": "https://matoken.org/blog/category/linux/ubuntu/xenial16-04/feed/json/", "language": "ja", "title": "xenial(16.04) – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=2262", "url": "https://matoken.org/blog/2018/12/12/failure-trying-to-upgrade-nextcloud-to-15/", "title": "Nextcloud \u3092 15 \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u3066\u30b3\u30b1\u308b", "content_html": "
\nNextcloud 15 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
\n\n14.0.4 \u304b\u3089\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u5931\u6557\u3057\u307e\u3057\u305f\uff0e\u305d\u306e\u30e1\u30e2\u3067\u3059\uff0e
\n$ sudo -u www-data php7.0 ./occ upgrade\r\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\r\nYou may use your browser or the occ upgrade command to do the upgrade\r\nSet log level to debug\r\nUpdating database schema\r\nUpdated database\r\nUnexpectedValueException: The files of the app "user_external" were not correctly replaced before running the update\r\nUpdate failed\r\nMaintenance mode is kept active\r\nReset log level\r\n\n\u6574\u5408\u6027\u304c\u4fdd\u305f\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u624b\u52d5\u3067\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u5165\u624b\u3057\u3066\u6bd4\u8f03\u3059\u308b\u3068\u540c\u3058\u306b\u898b\u3048\u308b
\n$ wget https://download.nextcloud.com/server/releases/nextcloud-15.0.0.tar.bz2 https://download.nextcloud.com/server/releases/nextcloud-15.0.0.tar.bz2.asc\r\n$ gpg --verify ./nextcloud-15.0.0.tar.bz2.asc\r\ngpg: \u7f72\u540d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c'./nextcloud-15.0.0.tar.bz2'\u306b\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059 \r\ngpg: 2018\u5e7412\u670810\u65e5 19\u664227\u520611\u79d2 JST\u306bRSA\u9375ID A724937A\u3067\u65bd\u3055\u308c\u305f\u7f72\u540d\r\ngpg: "Nextcloud Security <security@nextcloud.com>"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540d\r\ngpg: *\u8b66\u544a*: \u3053\u306e\u9375\u306f\u4fe1\u7528\u3067\u304d\u308b\u7f72\u540d\u3067\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093!\r\ngpg: \u3053\u306e\u7f72\u540d\u304c\u6240\u6709\u8005\u306e\u3082\u306e\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u624b\u6bb5\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \r\n\u4e3b\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: 2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A\r\n$ tar tvf ./nextcloud-15.0.0.tar.bz2 | lv\r\n$ tar xf ./nextcloud-15.0.0.tar.bz2\r\n$ sudo -u www-data rsync -acvvn ./nextcloud/apps/user_external /var/www/home.matoken.org/nextcloud/apps/\r\nsending incremental file list\r\ndelta-transmission disabled for local transfer or --whole-file\r\nuser_external/\r\nuser_external/appinfo/app.php is uptodate\r\nuser_external/appinfo/database.xml is uptodate\r\nuser_external/appinfo/info.xml is uptodate\r\nuser_external/appinfo/signature.json is uptodate\r\nuser_external/img/app.svg is uptodate\r\nuser_external/lib/base.php is uptodate\r\nuser_external/lib/ftp.php is uptodate\r\nuser_external/lib/imap.php is uptodate\r\nuser_external/lib/smb.php is uptodate\r\nuser_external/lib/webdavauth.php is uptodate\r\ntotal: matches=0 hash_hits=0 false_alarms=0 data=0\r\n\r\nsent 515 bytes received 587 bytes 2,204.00 bytes/sec\r\ntotal size is 19,690 speedup is 17.87 (DRY RUN)\r\n\n\u3053\u306e\u3042\u305f\u308a\u306e\u30d0\u30b0\u307d\u3044
\n\u3061\u306a\u307f\u306b user_external \u306fFTP, IMAP, SMB \u306e\u8a8d\u8a3c\u5468\u308a\u306e\u3088\u3046\uff0e
\n\n\nAuthenticate user login against FTP, IMAP or SMB.
\n
\u3068\u308a\u3042\u3048\u305a\u8a72\u5f53\u306e user_external \u3092\u7121\u52b9\u306b\u3057\u3066\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306f\u901a\u3063\u305f
\n$ sudo -u www-data php7.0 ./occ app:disable user_external\r\n$ sudo -u www-data php7.0 ./occ upgrade\r\n\n\u901a\u3063\u305f\u3051\u3069\u7121\u52b9\u306b\u3057\u3066\u3044\u3066\u3082\u6012\u3089\u308c\u308b
\n\n\nSome files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation. (List of invalid files\u2026 / Rescan\u2026)
\n
Technical information\r\n=====================\r\nThe following list covers which files have failed the integrity check. Please read\r\nthe previous linked documentation to learn more about the errors and how to fix\r\nthem.\r\n\r\nResults\r\n=======\r\n- user_external\r\n - EXTRA_FILE\r\n - user_external/appinfo/signature.json\r\n\r\nRaw output\r\n==========\r\nArray\r\n(\r\n [user_external] => Array\r\n (\r\n [EXTRA_FILE] => Array\r\n (\r\n [user_external/appinfo/signature.json] => Array\r\n (\r\n [expected] => \r\n [current] => 37efcee67605ab01a595df9b8e37a63f0260a8d795cb4af9b1b40e137ace928193747445954b22455fcbfd1758ea9b663153afc73438f5370725682e344c8723\r\n )\r\n\r\n )\r\n\r\n )\r\n\r\n)\r\n\n\u307e\u3060\u975e\u5bfe\u5fdc\u30a2\u30d7\u30ea\u3082\u591a\u3044\u3057\u30e1\u30a4\u30f3\u74b0\u5883\u306f\u66ab\u304f\u5f85\u3063\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u306a\u611f\u3058\u3067\u3059\uff0e
\n$ sudo -u www-data php7.0 ./occ status -v\r\n - installed: true\r\n - version: 15.0.0.10\r\n - versionstring: 15.0.0\r\n - edition: \r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.5 LTS\r\n$ uname -m\r\nx86_64\r\n\n\n",
"content_text": "Nextcloud 15 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e\n\nChangelog \u2013 Nextcloud\n\n14.0.4 \u304b\u3089\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u5931\u6557\u3057\u307e\u3057\u305f\uff0e\u305d\u306e\u30e1\u30e2\u3067\u3059\uff0e\n$ sudo -u www-data php7.0 ./occ upgrade\r\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\r\nYou may use your browser or the occ upgrade command to do the upgrade\r\nSet log level to debug\r\nUpdating database schema\r\nUpdated database\r\nUnexpectedValueException: The files of the app "user_external" were not correctly replaced before running the update\r\nUpdate failed\r\nMaintenance mode is kept active\r\nReset log level\r\n\n\u6574\u5408\u6027\u304c\u4fdd\u305f\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u624b\u52d5\u3067\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u5165\u624b\u3057\u3066\u6bd4\u8f03\u3059\u308b\u3068\u540c\u3058\u306b\u898b\u3048\u308b\n$ wget https://download.nextcloud.com/server/releases/nextcloud-15.0.0.tar.bz2 https://download.nextcloud.com/server/releases/nextcloud-15.0.0.tar.bz2.asc\r\n$ gpg --verify ./nextcloud-15.0.0.tar.bz2.asc\r\ngpg: \u7f72\u540d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c'./nextcloud-15.0.0.tar.bz2'\u306b\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059 \r\ngpg: 2018\u5e7412\u670810\u65e5 19\u664227\u520611\u79d2 JST\u306bRSA\u9375ID A724937A\u3067\u65bd\u3055\u308c\u305f\u7f72\u540d\r\ngpg: "Nextcloud Security <security@nextcloud.com>"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540d\r\ngpg: *\u8b66\u544a*: \u3053\u306e\u9375\u306f\u4fe1\u7528\u3067\u304d\u308b\u7f72\u540d\u3067\u8a3c\u660e\u3055\u308c\u3066\u3044\u307e\u305b\u3093!\r\ngpg: \u3053\u306e\u7f72\u540d\u304c\u6240\u6709\u8005\u306e\u3082\u306e\u304b\u3069\u3046\u304b\u306e\u691c\u8a3c\u624b\u6bb5\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \r\n\u4e3b\u9375\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8: 2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A\r\n$ tar tvf ./nextcloud-15.0.0.tar.bz2 | lv\r\n$ tar xf ./nextcloud-15.0.0.tar.bz2\r\n$ sudo -u www-data rsync -acvvn ./nextcloud/apps/user_external /var/www/home.matoken.org/nextcloud/apps/\r\nsending incremental file list\r\ndelta-transmission disabled for local transfer or --whole-file\r\nuser_external/\r\nuser_external/appinfo/app.php is uptodate\r\nuser_external/appinfo/database.xml is uptodate\r\nuser_external/appinfo/info.xml is uptodate\r\nuser_external/appinfo/signature.json is uptodate\r\nuser_external/img/app.svg is uptodate\r\nuser_external/lib/base.php is uptodate\r\nuser_external/lib/ftp.php is uptodate\r\nuser_external/lib/imap.php is uptodate\r\nuser_external/lib/smb.php is uptodate\r\nuser_external/lib/webdavauth.php is uptodate\r\ntotal: matches=0 hash_hits=0 false_alarms=0 data=0\r\n\r\nsent 515 bytes received 587 bytes 2,204.00 bytes/sec\r\ntotal size is 19,690 speedup is 17.87 (DRY RUN)\r\n\n\u3053\u306e\u3042\u305f\u308a\u306e\u30d0\u30b0\u307d\u3044\n\nUpgrade from 14 to 15 Beta failed \u00b7 Issue #12506 \u00b7 nextcloud/server\nNextcloud-15.0 & user_external-0.4 #68\n\n\u3061\u306a\u307f\u306b user_external \u306fFTP, IMAP, SMB \u306e\u8a8d\u8a3c\u5468\u308a\u306e\u3088\u3046\uff0e\n\nAuthenticate user login against FTP, IMAP or SMB.\n\n\n“apps/user_external at master \u00b7 nextcloud/apps” https://github.com/nextcloud/apps/tree/master/user_external\n\n\u3068\u308a\u3042\u3048\u305a\u8a72\u5f53\u306e user_external \u3092\u7121\u52b9\u306b\u3057\u3066\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306f\u901a\u3063\u305f\n$ sudo -u www-data php7.0 ./occ app:disable user_external\r\n$ sudo -u www-data php7.0 ./occ upgrade\r\n\n\u901a\u3063\u305f\u3051\u3069\u7121\u52b9\u306b\u3057\u3066\u3044\u3066\u3082\u6012\u3089\u308c\u308b\n\nSome files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation. (List of invalid files\u2026 / Rescan\u2026)\n\nTechnical information\r\n=====================\r\nThe following list covers which files have failed the integrity check. Please read\r\nthe previous linked documentation to learn more about the errors and how to fix\r\nthem.\r\n\r\nResults\r\n=======\r\n- user_external\r\n - EXTRA_FILE\r\n - user_external/appinfo/signature.json\r\n\r\nRaw output\r\n==========\r\nArray\r\n(\r\n [user_external] => Array\r\n (\r\n [EXTRA_FILE] => Array\r\n (\r\n [user_external/appinfo/signature.json] => Array\r\n (\r\n [expected] => \r\n [current] => 37efcee67605ab01a595df9b8e37a63f0260a8d795cb4af9b1b40e137ace928193747445954b22455fcbfd1758ea9b663153afc73438f5370725682e344c8723\r\n )\r\n\r\n )\r\n\r\n )\r\n\r\n)\r\n\n\u307e\u3060\u975e\u5bfe\u5fdc\u30a2\u30d7\u30ea\u3082\u591a\u3044\u3057\u30e1\u30a4\u30f3\u74b0\u5883\u306f\u66ab\u304f\u5f85\u3063\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u306a\u611f\u3058\u3067\u3059\uff0e\n\u74b0\u5883\n$ sudo -u www-data php7.0 ./occ status -v\r\n - installed: true\r\n - version: 15.0.0.10\r\n - versionstring: 15.0.0\r\n - edition: \r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.5 LTS\r\n$ uname -m\r\nx86_64",
"date_published": "2018-12-12T05:29:47+09:00",
"date_modified": "2018-12-12T05:32:22+09:00",
"authors": [
{
"name": "matoken",
"url": "https://matoken.org/blog/author/matoken/",
"avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g"
}
],
"author": {
"name": "matoken",
"url": "https://matoken.org/blog/author/matoken/",
"avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g"
},
"tags": [
"nextcloud",
"Linux",
"Ubuntu",
"xenial(16.04)"
]
},
{
"id": "http://matoken.org/blog/?p=2210",
"url": "https://matoken.org/blog/2018/11/04/try-cpulimit-to-limit-cpu-utilization-of-specific-process/",
"title": "\u7279\u5b9a\u30d7\u30ed\u30bb\u30b9\u306ecpu\u5229\u7528\u7387\u3092\u5236\u9650\u3059\u308bcpulimit\u3092\u8a66\u3059",
"content_html": "\u5148\u65e5mysqldump + xz \u5727\u7e2e\u306e\u9593\u306b pv \u3092\u631f\u3093\u3067\u5e2f\u57df\u5236\u9650\u3092\u3057\u3066 xz \u306e\u8ca0\u8377\u3092\u4e0b\u3052\u307e\u3057\u305f\uff0e
\u3057\u304b\u3057\u3053\u306e\u65b9\u6cd5\u3067\u306f\u305d\u3093\u306a\u306b\u8ca0\u8377\u304c\u306a\u3044 mysqldump \u3082\u305a\u3063\u3068\u52d5\u304b\u3057\u3063\u3071\u306a\u3057\u3067 db \u306b\u3082\u3088\u308d\u3057\u304f\u7121\u3044\u3067\u3059\uff0emysqldump \u306f\u5148\u306b\u6e08\u307e\u305b\u3066 xz \u3060\u3051\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\uff0e
\numask 0266 && nice -n 19 ionice -c 3 /usr/bin/mysqldump --defaults-file=/mnt/backup/micro/.my-backup.cnf --single-transaction --quick --all-databases --events | pv -L 128k 2>/dev/null | nice -n 19 ionice -c 3 /usr/bin/xz -9 > /mnt/backup/micro/`date +\\%F_\\%T_$$`.sql.xz\n
DUMP=\"/mnt/backup/micro/`date +\\%F_\\%T_$$`.sql\"; umask 0266 && nice -n 19 ionice -c 3 /usr/bin/mysqldump --defaults-file=/mnt/backup/micro/.my-backup.cnf --single-transaction --quick --all-databases --events > ${DUMP} && pv -L 128k nice -n 19 ionice -c 3 /usr/bin/xz -9 > ${DUMP}.xz && rm ${DUMP}\n\u4e00\u5fdc\u52d5\u304f\u3051\u3069crontab\u306a\u306e\u3067\uff11\u884c\u3067\u66f8\u3044\u3066\u3042\u3063\u3066\u898b\u306b\u304f\u3044\u3057\u3042\u307e\u308a\u3044\u3051\u3066\u306a\u3044\u3067\u3059\u306d\uff0e
\n\u305b\u3081\u3066\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u3051\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\uff0e
pv\u3067\u3082\u3044\u3044\u306e\u3067\u3059\u304c\uff0ccpu\u5229\u7528\u7387\u3092\u5236\u9650\u3067\u304d\u306a\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\uff0exz\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u898b\u5f53\u305f\u3089\u305aLinux\u74b0\u5883\u306a\u306e\u3067 cgroups \u3067\u5236\u9650\u3057\u3088\u3046\u304b\u3068\u3082\u601d\u3063\u305f\u306e\u3067\u3059\u304c\uff0c LimitCPU \u3068\u3044\u3046\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e\u3053\u308c\u306f SIGSTOP \u3068 SIGCONT \u306ePOSIX\u30b7\u30b0\u30ca\u30eb\u3092\u30d7\u30ed\u30bb\u30b9\u306b\u9001\u4fe1\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u5b9f\u73fe\u3057\u3066\u3044\u308b\u306e\u3067\uff0cPOSIX\u74b0\u5883\u306a\u3089\u3069\u3053\u3067\u3082\u52d5\u304d\u305d\u3046\u306a\u306e\u3067\u3053\u3061\u3089\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
LimitCPU\u306f\u30e1\u30f3\u30c6\u3055\u308c\u306a\u304f\u306a\u3063\u305fCPUlimit\u306e\u30d5\u30a9\u30fc\u30af\u3067\u30b3\u30de\u30f3\u30c9\u3084\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u306f cpulimit \u3067\u3059\uff0e(\u6df7\u4e71\u3059\u308b><)
$ sudo apt install cpulimit\n
$ cpulimit -h\r\nCPUlimit version 2.1\r\nUsage: cpulimit TARGET [OPTIONS...] [-- PROGRAM]\r\n TARGET must be exactly one of these:\r\n -p, --pid=N pid of the process\r\n -e, --exe=FILE name of the executable program file\r\n The -e option only works when\r\n cpulimit is run with admin rights.\r\n -P, --path=PATH absolute path name of the\r\n executable program file\r\n OPTIONS\r\n -b --background run in background\r\n -c --cpu=N override the detection of CPUs on the machine.\r\n -l, --limit=N percentage of cpu allowed from 1 up.\r\n Usually 1 - 200, but can be higher\r\n on multi-core CPUs (mandatory)\r\n -q, --quiet run in quiet mode (only print errors).\r\n -k, --kill kill processes going over their limit\r\n instead of just throttling them.\r\n -r, --restore Restore processes after they have\r\n been killed. Works with the -k flag.\r\n -s, --signal=SIG Send this signal to the watched process when cpulimit exits.\r\n Signal should be specificed as a number or\r\n SIGTERM, SIGCONT, SIGSTOP, etc. SIGCONT is the default.\r\n -v, --verbose show control statistics\r\n -z, --lazy exit if there is no suitable target process,\r\n or if it dies\r\n -- This is the final CPUlimit option. All following\r\n options are for another program we will launch.\r\n -h, --help display this help and exit\n
\u5236\u9650\u306f\u30d7\u30ed\u30bb\u30b9ID\u3067\u306e\u5236\u9650\uff0c\u30d7\u30ed\u30b0\u30e9\u30e0\u540d\u3067\u306e\u5236\u9650\uff0c\u6307\u5b9a\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\uff0e
\ncpu\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f -l \u306e\u5024\u306fcpu 1\u3064\u3042\u305f\u308a100\u3068\u3057\u3066\uff0c100 * cpu\u6570 \u3092\u5143\u306b\u6307\u5b9a\u3057\u307e\u3059\uff0ecpu 2\u3064\u3067 50% \u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f -l 100 \u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\uff0e
1234 \u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092cpu\u30922\u3064\u5229\u7528\uff0c\uff43\uff50\uff55\u309250%(2\u30b3\u30a2\u306a\u306e\u3067\u5b9f\u969b\u306f100%\u5206)$ cpulimit -c 2 -p 1234 -l 50\n
$ cpulimit -c 2 -l 50 - xz\n
\u203bxz\u306e\u524d\u306e - \u306f\u306a\u304f\u3066\u3082\u3044\u3044\u304c cpulimit \u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u6700\u5f8c\u3092\u793a\u3059\uff0e
$ cpulimit -c 1 -l 25 -z - xz -9 datafile\n
-c : \u5229\u7528\u3059\u308b\uff43\uff50\uff55\u6570
\n-p : \u5236\u9650\u3059\u308b\u30d7\u30ed\u30bb\u30b9ID
\n-l : \u5236\u9650\u3059\u308bcpu\u5229\u7528\u7387
\n-z : \u6307\u5b9a\u3057\u305f\u30d7\u30ed\u30bb\u30b9\u304c\u5b8c\u4e86\u3057\u305f\u3089cpulimit\u3082\u7d42\u4e86\u3059\u308b(\u901a\u5e38\u306f\u95a2\u3057\u3092\u7d9a\u3051\u3066\u540c\u3058\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u304c\u73fe\u308c\u305f\u3089\u5236\u9650\u3059\u308b)
\n\u4eca\u56de\u306fxz\u3092\u5236\u9650\u3057\u305f\u3044\u306e\u3067\u3053\u3093\u306a\u611f\u3058\u306b\uff0e
\n\u3042\u307e\u308a\u5909\u308f\u308a\u307e\u305b\u3093\u306d\u2026\u2026\uff0e
DUMP=\"/mnt/backup/micro/`date +\\%F_\\%T_$$`.sql\"; umask 0266 && nice -n 19 ionice -c 3 /usr/bin/mysqldump --defaults-file=/mnt/backup/micro/.my-backup.cnf --single-transaction --quick --all-databases --events > ${DUMP} && nice -n 19 ionice -c 3 cpulimit -c1 -l 25 - /usr/bin/xz -9 ${DUMP}\n\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5c02\u7528\u30e6\u30fc\u30b6\u3068\u3057\u3066\u5206\u3051\u3066\u3042\u308b\u306e\u3067\u305d\u306e\u30e6\u30fc\u30b6\u3067 cpulimit -c 1 -l 25 - xz \u3068\u304b\u3057\u3066xz\u3068\u3044\u3046\u540d\u524d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u5168\u90e8\u5236\u9650\u3057\u3066\u3057\u307e\u3046\u306e\u3082\u3042\u308a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0emonit \u3068\u304b\u3067\u76e3\u8996\u3055\u305b\u308c\u3070\u3044\u3044\u611f\u3058\u304b\u3082?\u305d\u3046\u3059\u308b\u3068\uff0c
DUMP=\"/mnt/backup/micro/`date +\\%F_\\%T_$$`.sql\"; umask 0266 && nice -n 19 ionice -c 3 /usr/bin/mysqldump --defaults-file=/mnt/backup/micro/.my-backup.cnf --single-transaction --quick --all-databases --events > ${DUMP} && /usr/bin/xz -9 ${DUMP}\n\u3042\u307e\u308a\u5909\u308f\u308a\u307e\u305b\u3093\u306d\u2026\u2026\uff0e
\n$ dpkg-query -W cpulimit xz-utils\r\ncpulimit 2.2-1\r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.5 LTS\r\n$ uname -m\r\nx86_64\n
\u4ee5\u524d\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\uff0e
\n\u4eca\u3067\u3082\u3053\u306eblog\u306e\u4e2d\u3067\u306f\u30a2\u30af\u30bb\u30b9\u304c\u591a\u304f\uff0c\u6700\u8fd1\u3082\u30c8\u30e9\u30c3\u30af\u30d0\u30c3\u30af\u3092\u3082\u3089\u3044\u307e\u3057\u305f\uff0e
\n\u3053\u306e\u5f53\u6642\u306f arm64 \u306e mozc\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u304f\u3066\u81ea\u5206\u3067build \u3057\u305f\u3068\u3044\u3046\u8a71\u306a\u306e\u3067\u3059\u304c\uff0c\u73fe\u5728\u306fDebian \u3067\u306f buster(testing), Ubuntu \u3067\u306fartful(17.10) \u4ee5\u964d\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5b58\u5728\u3057\u307e\u3059\uff0e
\n\u306a\u306e\u3067\u3053\u306e\u91ce\u826f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3046\u3088\u308a\u3082\u516c\u5f0f\u306e\u4e0a\u6d41\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u501f\u308a\u308b\u307b\u3046\u304c\u5927\u62b5\u306e\u5834\u5408\u3044\u3044\u3068\u601d\u3044\u307e\u3059\uff0e
\n\u3068\u3044\u3046\u3053\u3068\u3067\u624b\u9806\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e
\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u3067\u3059\uff0e
\n\u91ce\u826f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u8fd1\u65e5\u4e2d\u306b\u524a\u9664\u3057\u307e\u3059\uff0e
\n$ apt-cache search mozc\r\nmozc-data - Mozc input method - data files\n
buster(testing) \u306emozc \u3092\u501f\u308a\u3066\u304f\u308b\u3053\u3068\u306b\u3059\u308b\uff0e
\n\u300c\u7b2c2\u7ae0 Debian \u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u300d\u306e\u300c2.7.6. unstable \u304b\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u5171\u306b\u3001testing \u3092\u8ffd\u3044\u304b\u3051\u308b\u300d\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3059\u308b
\n/etc/apt/preferences \u3067 buster \u306e\u512a\u5148\u5ea6\u3092\u4e0b\u3052\u308b
Package: *\r\nPin: release n=buster\r\nPin-Priority: 100\n
buster(testing) \u3092 \u8ffd\u52a0 \u8a2d\u5b9adeb http://deb.debian.org/debian buster main\n
\u203bsources.list \u306e\u7de8\u96c6\u306b\u306f apt edit-sources \u3092\u4f7f\u3046\u3068\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u304a\u3059\u3059\u3081
$ sudo apt update\n
$ apt-cache search mozc\r\nmozc-data - Mozc input method - data files\r\nfcitx-dbus-status - Addon for Fcitx to set/get/monitor IM statuses via D-Bus\r\nemacs-mozc - Mozc for Emacs\r\nemacs-mozc-bin - Helper module for emacs-mozc\r\nfcitx-mozc - Mozc engine for fcitx - Client of the Mozc input method\r\nibus-mozc - Mozc engine for IBus - Client of the Mozc input method\r\nmozc-server - Server of the Mozc input method\r\nmozc-utils-gui - GUI utilities of the Mozc input method\r\nuim-mozc - Mozc engine for uim - Client of the Mozc input method\n
$ apt install fcitx-mozc -t buster\n
\u5f8c\u306f\u901a\u5e38\u306e apt update && apt upgrade \u3067 stretch \u3067\u5c0e\u5165\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f stretch \u3067\uff0cbuster \u3067\u5c0e\u5165\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306fbuster \u3067\u66f4\u65b0\u3055\u308c\u308b\u306f\u305a\uff0e
\nDebian\u306e\u624b\u9806\u3068\u540c\u3058\u3067\u3082ok\u3060\u3068\u601d\u3046\u3051\u3069\u5ff5\u306e\u70ba\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u771f\u4f3c\u3057\u3066\u307f\u308b\uff0e
\nmozc \u306f Ubuntu 17.10 artful \u304b\u3089\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304c\uff0c\u3082\u3046\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u306e\u3067Ubuntu 18.04 bionic \u3092\u4f7f\u3046\uff0e
\n\u6a19\u6e96\u306e\u30ea\u30ea\u30fc\u30b9\u3092 xenial \u306b\u8a2d\u5b9a
APT::Default-Release \"xenial\";\n
mozc \u3092pinning\u3059\u308b
\nPackage: *mozc*\r\nPin: release n=xenial\r\nPin-Priority: -10\r\n\r\nPackage: *mozc*\r\nPin: release n=bionic\r\nPin-Priority: 900\n
/etc/apt/sources.list \u306b buster(testing) \u3092 \u8ffd\u52a0 \u8a2d\u5b9a
\ndeb http://ports.ubuntu.com/ bionic main universe\n
\u203bsources.list \u306e\u7de8\u96c6\u306b\u306f apt edit-sources \u3092\u4f7f\u3046\u3068\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u304a\u3059\u3059\u3081
\n\u203bmirror\u306b\u3088\u308a arm64 \u304c\u7f6e\u304b\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u6ce8\u610f
$ sudo apt update\n
$ apt-cache search mozc\r\nmozc-data - Mozc input method - data files\r\nibus-mozc - Mozc engine for IBus - Client of the Mozc input method\r\nmozc-server - Server of the Mozc input method\r\nmozc-utils-gui - GUI utilities of the Mozc input method\r\nemacs-mozc - Mozc for Emacs\r\nemacs-mozc-bin - Helper module for emacs-mozc\r\nfcitx-mozc - Mozc engine for fcitx - Client of the Mozc input method\r\nuim-mozc - Mozc engine for uim - Client of the Mozc input method\n
$ sudo apt install fcitx-mozc -t bionic\n
mysqldump \u52d5\u3044\u3066\u308b\u6642\u9593\u306b\u540c\u30b5\u30fc\u30d0\u3067 GNU social \u3068\u304b Nextcloud \u3068\u304b\u306e mysql \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u91cd\u304f\u3066\u4f7f\u3044\u7269\u306b\u306a\u3089\u306a\u3044\u3067\u3059\uff0enice + ionice \u306f\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u52b9\u3044\u3066\u306a\u3044\u611f\u3058\uff0e
\ndump \u3057\u305f sql \u3092\u5727\u7e2e\u3057\u3066\u3044\u308b xz \u30b3\u30de\u30f3\u30c9\u304c cpu \u30921 core \u4f7f\u3044\u6f70\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\u3053\u306e\u30de\u30b7\u30f3\u306f2 core \u3042\u308b\u306e\u3067\u3059\u304c\uff0c\u3082\u30461\u3064\u306e core \u3082\u305d\u306e\u4ed6\u306e\u51e6\u7406\u3067\u307b\u307c\u4f7f\u3044\u5207\u3063\u3066\u5f85\u3061\u304c\u51fa\u3066\u3044\u308b\u3088\u3046\u306a\u611f\u3058\uff0e
$ vmstat 1 10\r\nprocs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----\r\n r b swpd free buff cache si so bi bo in cs us sy id wa st\r\n 2 0 328212 264788 212260 5628192 1 2 35 160 2 15 35 9 44 12 0\r\n 1 1 328212 259136 212264 5628192 0 0 0 191 1497 3132 63 6 19 12 0\r\n 1 1 328212 252492 212264 5628192 0 0 0 88 959 1716 81 6 7 6 0\r\n 2 1 328212 248264 212264 5628196 0 0 0 114 973 1887 85 3 7 5 0\r\n 2 0 328212 242572 212264 5628196 0 0 0 85 972 1967 74 5 15 5 0\r\n 4 0 328212 241664 212100 5624380 0 0 0 97 1106 4226 91 7 2 2 0\r\n 2 1 328212 234268 212100 5624384 0 0 0 140 1013 1815 70 5 19 7 0\r\n 3 0 328212 235760 211944 5620076 0 0 0 2461 1289 4063 94 4 1 0 0\r\n 1 0 328212 229656 211944 5620080 0 0 0 110 953 1685 61 6 18 15 0\r\n 1 0 328212 224616 211952 5620072 0 0 0 151 983 1683 84 2 8 6 0\n
pv -L \u3067\u5e2f\u57df\u7d5e\u3063\u3066\u307f\u307e\u3057\u305f\uff0e
\ncpu \u306e\u69d8\u5b50\u3092\u898b\u306a\u304c\u3089\u3060\u3093\u3060\u3093\u7d5e\u3063\u3066\u3044\u3063\u3066 128k \u8fc4\u7d5e\u3063\u3066\u3084\u3063\u3068 xz \u306e cpu 25\u301c40% \u4f4d\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u3053\u306e\u72b6\u614b\u3060\u3068\u666e\u901a\u306b\u4f7f\u3048\u308b\u611f\u3058\u3067\u3059\uff0e
\n\u3057\u3070\u3089\u304f\u3053\u308c\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e
$ time sh -c \"nice -n 19 ionice -c 3 mysqldump --defaults-file=/backup/micro/.my-backup.cnf --single-transaction --quick\r\n--all-databases --events | pv -L 128k 2>/dev/null | nice -n 19 ionice -c 3 xz -9 > /dev/null\"\r\n\r\nreal 127m16.113s\r\nuser 34m30.508s\r\nsys 0m23.428s\n
$ sudo -u backup crontab -l | grep mysqldump\r\n14 3 * * * umask 0266 && nice -n 19 ionice -c 3 /usr/bin/mysqldump --defaults-file=/mnt/backup/micro/.my-backup.cnf --single-transaction --quick --all-databases --events | pv -L 128k 2>/dev/null | nice -n 19 ionice -c 3 /usr/bin/xz -9 > /mnt/backup/micro/`date +\\%F_\\%T_$$`.sql.xz\n
$ dpkg-query -W mysql-client-5.7 pv xz-utils\r\nmysql-client-5.7 5.7.23-0ubuntu0.16.04.1\r\npv 1.6.0-1\r\nxz-utils 5.1.1alpha+20120614-2ubuntu2\r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.5 LTS\r\n$ uname -m\r\nx86_64\r\n$ grep -m1 model\\ name /proc/cpuinfo\r\nmodel name : AMD Athlon(tm) II Neo N36L Dual-Core Processor\n
\u5148\u65e5\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u30bd\u30d5\u30c8\u306e Nextcloud 14\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
\n\u65b0\u6a5f\u80fd\u306e\u3046\u3061Signal/Telegram/SMS \u306b\u3088\u308b2\u8981\u7d20\u8a8d\u8a3c\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u6c17\u306b\u306a\u308a\u307e\u3059\uff0e
\n\n\n\n\nSignal/Telegram/SMS 2FA support
\n
\nA new 2-factor authentication provider named \u2018gateway\u2019 was introduced which allows users to use the secure messaging apps Signal and Telegram as well as various SMS gateways as second factor to secure their authentication.
SMS\u306fplaySMS, websms.de\u3092\u5229\u7528\u3059\u308b\u3088\u3046\u3067\u3059\uff0eSignal\u3082Telegram\u3082\u30bb\u30ad\u30e5\u30a2\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u306a\u306e\u3067\u3053\u3046\u3044\u3046\u7528\u9014\u306b\u5411\u3044\u3066\u3044\u305d\u3046\u3067\u3059\uff0e\u3069\u3061\u3089\u3082\u516c\u5f0f\u3067Linux x86_64\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\u30a2\u30d7\u30ea\u306e\u51fa\u6765\u306f\u4eca\u306e\u6240Telegram\u306e\u307b\u3046\u304c\u4e0a\u3060\u3068\u601d\u3044\u307e\u3059\uff0eArm Linux\u3060\u3068\u516c\u5f0f\u306e\u3082\u306e\u306f\u306a\u3044\u306e\u3067\u3059\u304c\uff0cTelegram\u306b\u3064\u3044\u3066\u306fCLI\u306e\u30a2\u30d7\u30ea\u304c\u3042\u308a\uff0cRaspberry Pi \u306e Raspbian stretch \u3067\u3082\u8981patch\u3067\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff0e(Web\u30a2\u30d7\u30ea\u3082\u3042\u308b\u306e\u3067\u305d\u3061\u3089\u3067\u3082\u52d5\u4f5c\u3059\u308b\u3068\u601d\u3046\u304c\u672a\u78ba\u8a8d)
\nProfessionelle Business Messaging Produkte – websms| Mobile Messaging Deutschland
\nSMS\u306f\u3084\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u3057\uff0cTelegram \u304c\u4f7f\u3044\u3084\u3059\u3044\uff0e\u3066\u3053\u3068\u3067Telegram\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u307e\u3060\u672a\u5b9f\u88c5\u306a\u6a5f\u80fd\u304c\u591a\u304f\u3061\u3087\u3063\u3068\u9762\u5012\u306a\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e
\nNextcloud 14\u306b Two-Factor Gateway \u30a2\u30d7\u30ea\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u300c\u30a2\u30d7\u30ea\u300d\u306e\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u304b\u3089\u5c0e\u5165\u3059\u308b\u306e\u304c\u697d\u3067\u3057\u3087\u3046\uff0e
\n\u5c0e\u5165\u3059\u308b\u3068Nextcloud\u306e\u300c\u8a2d\u5b9a\u300d\u306e\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u306e\u4e2d\u306b\u300cMessage gateway second-factor auth\u300d\u3068\u3044\u3046\u9805\u76ee\u304c\u73fe\u308c\u307e\u3059\u304c\uff0c\u8a2d\u5b9a\u304c\u51fa\u6765\u307e\u305b\u3093\uff0e
\nGitHub\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u307f\u308b\u3068\u672a\u3060\u672a\u5b9f\u88c5\u306e\u6a5f\u80fd\u304c\u591a\u3044\u3088\u3046\u3067\u3059\uff0e
\nTOTP\u30b3\u30fc\u30c9\u306e\u9001\u4fe1\u3059\u308b Telegram Bot \u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e\u4f5c\u6210\u306fTelegram \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\uff0e
\nBotFather \u3068\u3044\u3046 bot \u7ba1\u7406\u7528\u306e bot \u304c\u5c45\u308b\u306e\u3067\uff0c\u4f1a\u8a71\u3057\u3066bot \u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e
\n/newbot \u30b3\u30de\u30f3\u30c9\u3067\u65b0\u3057\u3044 bot \u306e\u4f5c\u6210\u304c\u59cb\u307e\u308a\u307e\u3059\uff0ebot\u306e\u540d\u524d\u3092\u52b9\u304b\u308c\u308b\u306e\u3067\u7b54\u3048\u307e\u3059\uff0e\u7d9a\u3044\u3066 bot \u306e username \u3092\u6c42\u3081\u3089\u308c\u307e\u3059\uff0e\u3053\u306e username \u306f\u6700\u5f8c\u306b bot \u3068\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u6210\u529f\u3059\u308b\u3068\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u30e1\u30e2\u3057\u3066\u6b21\u306e\u624b\u65ec\u306b\u79fb\u308a\u307e\u3059\uff0e\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f 640093430:AAFTa_pSAcKCZWeFoVDt-l7h7ewqzNe0Luo \u304c\u30c8\u30fc\u30af\u30f3\u3067\u3059\uff0e
Done! Congratulations on your new bot. You will find it at t.me/matoken_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.\r\n\r\nUse this token to access the HTTP API:\r\n640093430:AAFTa_pSAcKCZWeFoVDt-l7h7ewqzNe0Luo\r\n\r\nFor a description of the Bot API, see this page: https://core.telegram.org/bots/api\n
Nextcloud \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u6240\u306b Nextcloud \u7ba1\u7406\u7528\u306e occ \u30b3\u30de\u30f3\u30c9\u304c\u3042\u308a\u307e\u3059\uff0e\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067 Telegram bot \u306e\u30c8\u30fc\u30af\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e
\n\u30c8\u30fc\u30af\u30f3\u306e 640093430: \u90e8\u5206\u306f\u7701\u3044\u3066\u305d\u306e\u5f8c\u308d\u3060\u3051\u3092\u5165\u529b\u3057\u307e\u3059\uff0e
$ sudo -u www-data php ./occ twofactorauth:gateway:configure telegram\r\nPlease enter your Telegram bot token: AAFTa_pSAcKCZWeFoVDt-l7h7ewqzNe0Luo\r\nUsing AAFTa_pSAcKCZWeFoVDt-l7h7ewqzNe0Luo.\r\n$ sudo -u www-data php ./occ twofactorauth:gateway:status\r\nSignal gateway: not configured\r\nSMS gateway: not configured\r\nTelegram gateway: configured\n
\u3072\u3068\u307e\u305a\u3053\u308c\u3067\u7ba1\u7406\u8005\u5074\u306e\u8a2d\u5b9a\u306f\u7d42\u4e86\u3067\u3059\uff0e
\n\u3053\u3053\u304b\u3089\u306fNextcloud \u306e\u5229\u7528\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u306e\u64cd\u4f5c\u306b\u306a\u308a\u307e\u3059\uff0e
\n\n\n\n\nTelegram
\n
\nIn order to receive authentication codes via Telegram, you first have to start a new chat with the bot set up by your admin.
\nSecondly, you have to obtain your Telegram ID via the ID Bot. Enter this ID to receive your verification code below.You are not using Telegram for two-factor authentication at the moment. Enable
\n
Telegram \u30a2\u30d7\u30ea\u3092\u5229\u7528\u3057\u3066\uff0cTelegram \u306e bot \u304b\u3089 TOTP\u30b3\u30fc\u30c9\u3092\u53d7\u3051\u53d6\u308a\u305f\u3044 Telegram \u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u9069\u5f53\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6295\u3052\u307e\u3059\uff0e
\n@matoken hello\n
\u305d\u306e\u5f8c\uff0cTelegram API \u3092\u5229\u7528\u3057\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d6\u5f97\u3057\u3066 chat_id \u3092\u8abf\u3079\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f 475721977 \u3067\u3059\uff0e
$ curl https://api.telegram.org/bot640093430:AAHu9u_c12KC2PY8g22QZoA94u4tAJvxsvY/getUpdates | jq\r\n % Total % Received % Xferd Average Speed Time Time Time Current\r\n Dload Upload Total Spent Left Speed\r\n100 358 100 358 0 0 315 0 0:00:01 0:00:01 --:--:-- 315\r\n{\r\n \"ok\": true,\r\n \"result\": [\r\n {\r\n \"update_id\": 612249686,\r\n \"message\": {\r\n \"message_id\": 9,\r\n \"from\": {\r\n \"id\": 475721977,\r\n \"is_bot\": false,\r\n \"first_name\": \"matoken\",\r\n \"username\": \"matoken\",\r\n \"language_code\": \"En\"\r\n },\r\n \"chat\": {\r\n \"id\": 475721977,\r\n \"first_name\": \"matoken\",\r\n \"username\": \"matoken\",\r\n \"type\": \"private\"\r\n },\r\n \"date\": 1537282406,\r\n \"text\": \"@matoken hello\",\r\n \"entities\": [\r\n {\r\n \"offset\": 0,\r\n \"length\": 8,\r\n \"type\": \"mention\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}\n\u8a66\u3057\u306b\u9001\u4fe1\u3057\u3066\u307f\u3066 Telegram \u30a2\u30d7\u30ea\u306b bot \u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u98db\u3093\u3067\u304d\u305f\u3089 chat id \u304c\u6b63\u3057\u3044\u306f\u305a\uff0e
\n$ curl -X POST \"https://api.telegram.org/bot640093430:AAHu9u_c12KC2PY8g22QZoA94u4tAJvxsvY\" -d \"chat_id=475721977&text=hello\" | jq\r\n % Total % Received % Xferd Average Speed Time Time Time Current\r\n Dload Upload Total Spent Left Speed\r\n100 274 100 246 100 28 179 20 0:00:01 0:00:01 --:--:-- 200\r\n{\r\n \"ok\": true,\r\n \"result\": {\r\n \"message_id\": 15,\r\n \"from\": {\r\n \"id\": 640093430,\r\n \"is_bot\": true,\r\n \"first_name\": \"matoken_bot\",\r\n \"username\": \"matoken_bot\"\r\n },\r\n \"chat\": {\r\n \"id\": 475721977,\r\n \"first_name\": \"matoken\",\r\n \"username\": \"matoken\",\r\n \"type\": \"private\"\r\n },\r\n \"date\": 1537312183,\r\n \"text\": \"hello\"\r\n }\r\n}\nNextcloud \u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\uff0c\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u306e\u4e0b\u90e8\u306b\u300cMessage gateway second-factor auth\u300d\u3068\u3044\u3046\u9805\u76ee\u304c\u51fa\u6765\u3066\u3044\u308b\u306e\u3067\u300cEnable\u300d\u3092\u62bc\u3059\uff0e
\nTelegram\r\nIn order to receive authentication codes via Telegram, you first have to start a new chat with the bot set up by your admin.\r\nSecondly, you have to obtain your Telegram ID via the ID Bot. Enter this ID to receive your verification code below.\r\n\r\nYou are not using Telegram for two-factor authentication at the moment. Enable\n
\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u3089 chat_id \u3092\u5165\u529b\u3057\u3066 Verify \u3057\u307e\u3059\uff0e
Enter your identification (e.g. phone number to start the verification):\r\n Verify\n
Telegram \u3067 TOTP\u30b3\u30fc\u30c9\u304c\u98db\u3093\u3067\u6765\u308b\u306e\u3067\u305d\u308c\u3092\u5165\u529b\u3057\u305f\u3089OK\u3067\u3059\uff0e
\n\u4e00\u65e6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff0e
\u3044\u3064\u3082\u306e\u3088\u3046\u306b\u30e6\u30fc\u30b6\u540d\uff0c\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u8a8d\u8a3c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u306b\u9077\u79fb\u3057\u307e\u3059\uff0e
\n\u300cAuthenticate via Telegram\u300d\u3092\u62bc\u3057\u307e\u3059\uff0e
Telegram \u304b\u3089\u8a8d\u8a3c\u30b3\u30fc\u30c9\u304c\u98db\u3093\u3067\u304f\u308b\u306e\u3067\u305d\u308c\u3092\u5165\u529b\u3057\u3066\u8a8d\u8a3c\u5b8c\u4e86\u3067\u3059\uff0e
\n\u672a\u3060\u624b\u9806\u304c\u9762\u5012\u3067\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u8a66\u3057\u3066\u304f\u308c\u3068\u8a00\u3048\u308b\u72b6\u614b\u3067\u306f\u306a\u3044\u3067\u3059\u306d\uff0e\u3067\u3082\u6b21\u306e\u30ea\u30ea\u30fc\u30b9\u3042\u305f\u308a\u3067\u306f\u7c21\u5358\u306b\u306a\u308b\u3093\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff0e
\n$ sudo -u www-data php ./occ app:list|grep twofactor_|grep :\r\n - twofactor_backupcodes: 1.3.1\r\n - twofactor_gateway: 0.9.0\r\n - twofactor_totp: 1.5.0\r\n$ sudo -u www-data php ./occ -V\r\nNextcloud 14.0.0\r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.5 LTS\r\n$ uname -m\r\nx86_64\n
hddtemp\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u77e5\u308a\u307e\u3057\u305f\uff0e\u71b1\u3044\u3057\u71b1\u304c\u6c17\u306b\u306a\u308b\u6642\u671f\u3060\u3057\u304a\u624b\u8efd\u306b\u6e29\u5ea6\u3092\u77e5\u308c\u308b\u306e\u306f\u826f\u3055\u305d\u3046\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\u5c0e\u5165
\n\n$ sudo apt install hddtemp
help
\n\n$ hddtemp -hUsage: hddtemp [OPTIONS] [TYPE:]DISK1 [[TYPE:]DISK2]...hddtemp displays the temperature of drives supplied in argument.Drives must support S.M.A.R.T.TYPE could be SATA, PATA or SCSI. If omitted hddtemp will try to guess.-b --drivebase : display database file content that allow hddtemp torecognize supported drives.-D --debug : display various S.M.A.R.T. fields and their values.Useful to find a value that seems to match thetemperature and/or to send me a report.(done for every drive supplied).-d --daemon : run hddtemp in TCP/IP daemon mode (port 7634 by default.)-f --file=FILE : specify database file to use.-F --foreground : don't daemonize, stay in foreground.-l --listen=addr : listen on a specific interface (in TCP/IP daemon mode).-n --numeric : print only the temperature.-p --port=# : port to listen to (in TCP/IP daemon mode).-s --separator=C : separator to use between fields (in TCP/IP daemon mode).-S --syslog=s : log temperature to syslog every s seconds.-u --unit=[C|F] : force output temperature either in Celsius or Fahrenheit.-q --quiet : do not check if the drive is supported.-v --version : display hddtemp version number.-w --wake-up : wake-up the drive if need.-4 : listen on IPv4 sockets only.-6 : listen on IPv6 sockets only.Report bugs or new drives to <hddtemp@guzu.net>.hddtemp version 0.3-beta15
\u30c7\u30d0\u30a4\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3068\u6e29\u5ea6\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\uff0e/dev/sd[a-z]\u3068\u304b/dev/sd?\u3068\u304b\u3082\u4f7f\u3048\u307e\u3057\u305f\uff0e
/dev/sdd, /dev/sde\u306fS.M.A.R.T\u3092\u4f7f\u3048\u306a\u3044USB\u30a2\u30c0\u30d7\u30bf\u7d4c\u7531\u3067\u7e4b\u3044\u3067\u3044\u308b\u306e\u3067\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0e
\n$ sudo hddtemp /dev/sda/dev/sda: VB0250EAVER: 37\u00b0C$ sudo hddtemp /dev/sda /dev/sdb/dev/sda: VB0250EAVER: 38\u00b0C/dev/sdb: Hitachi HDS5C3030ALA630: 39\u00b0C$ sudo hddtemp /dev/sd?/dev/sda: VB0250EAVER: 37\u00b0C/dev/sdb: Hitachi HDS5C3030ALA630: 37\u00b0C/dev/sdc: WDC WD30EZRX-00MMMB0: 40\u00b0C/dev/sdd: WDC WD30EZRX-00DC0B0: S.M.A.R.T. not available/dev/sde: TOSHIBA DT01ACA300: S.M.A.R.T. not available
\u30c7\u30fc\u30e2\u30f3\u5316\u3082\u3067\u304d\u307e\u3059\uff0etcp 7634\u306b\u30a2\u30af\u30bb\u30b9\u308b\u3068\u5024\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\uff0e
\n\n$ sudo hddtemp -d /dev/sda$ nc localhost 7634|/dev/sda|VB0250EAVER|37|C|
\u505c\u6b62
\n\n$ pgrep hddtemp11832$ sudo kill 11832
\u8907\u6570\u30c7\u30d0\u30a4\u30b9\u3082\u884c\u3051\u308b\u3051\u3069\u305d\u306e\u307e\u307e\u3067\u306f\u898b\u306b\u304f\u3044\u3067\u3059\u306d\uff0e
\n\n$ sudo hddtemp -d /dev/sd?$ nc localhost 7634|/dev/sda|VB0250EAVER|38|C||/dev/sdb|Hitachi HDS5C3030ALA630|39|C||/dev/sdc|WDC WD30EZRX-00MMMB0|41|C||/dev/sdd|WDC WD30EZRX-00DC0B0|NA|*||/dev/sde|TOSHIBA DT01ACA300|NA|*|$ nc localhost 7634|sed -e 's/||/|\\n|/g'|/dev/sda|VB0250EAVER|37|C||/dev/sdb|Hitachi HDS5C3030ALA630|38|C||/dev/sdc|WDC WD30EZRX-00MMMB0|40|C||/dev/sdd|WDC WD30EZRX-00DC0B0|NA|*||/dev/sde|TOSHIBA DT01ACA300|NA|*|
S.M.A.R.T\u306e\u5024\u3092\u5143\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u308f\u305a\u5927\u62b5\u306e\u74b0\u5883\u3067\u5165\u3063\u3066\u3044\u308bsmartctl\u3067\u3082\u826f\u3044\u6c17\u3082\u3057\u307e\u3059\uff0e
\n\n$ sudo smartctl -a /dev/sda|grep -i temp190 Airflow_Temperature_Cel 0x0022 063 056 045 Old_age Always - 37 (Min/Max 31/43)194 Temperature_Celsius 0x0022 037 044 000 Old_age Always - 37 (0 11 0 0 0)
\u74b0\u5883
\n\n", "content_text": "hddtemp\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u77e5\u308a\u307e\u3057\u305f\uff0e\u71b1\u3044\u3057\u71b1\u304c\u6c17\u306b\u306a\u308b\u6642\u671f\u3060\u3057\u304a\u624b\u8efd\u306b\u6e29\u5ea6\u3092\u77e5\u308c\u308b\u306e\u306f\u826f\u3055\u305d\u3046\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\nguzu.net\n\n\u5c0e\u5165\n$ sudo apt install hddtemp\nhelp\n$ hddtemp -h Usage: hddtemp [OPTIONS] [TYPE:]DISK1 [[TYPE:]DISK2]... hddtemp displays the temperature of drives supplied in argument. Drives must support S.M.A.R.T. TYPE could be SATA, PATA or SCSI. If omitted hddtemp will try to guess. -b --drivebase : display database file content that allow hddtemp to recognize supported drives. -D --debug : display various S.M.A.R.T. fields and their values. Useful to find a value that seems to match the temperature and/or to send me a report. (done for every drive supplied). -d --daemon : run hddtemp in TCP/IP daemon mode (port 7634 by default.) -f --file=FILE : specify database file to use. -F --foreground : don't daemonize, stay in foreground. -l --listen=addr : listen on a specific interface (in TCP/IP daemon mode). -n --numeric : print only the temperature. -p --port=# : port to listen to (in TCP/IP daemon mode). -s --separator=C : separator to use between fields (in TCP/IP daemon mode). -S --syslog=s : log temperature to syslog every s seconds. -u --unit=[C|F] : force output temperature either in Celsius or Fahrenheit. -q --quiet : do not check if the drive is supported. -v --version : display hddtemp version number. -w --wake-up : wake-up the drive if need. -4 : listen on IPv4 sockets only. -6 : listen on IPv6 sockets only. Report bugs or new drives to <hddtemp@guzu.net>.hddtemp version 0.3-beta15\n\u30c7\u30d0\u30a4\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3068\u6e29\u5ea6\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\uff0e/dev/sd[a-z]\u3068\u304b/dev/sd?\u3068\u304b\u3082\u4f7f\u3048\u307e\u3057\u305f\uff0e/dev/sdd, /dev/sde\u306fS.M.A.R.T\u3092\u4f7f\u3048\u306a\u3044USB\u30a2\u30c0\u30d7\u30bf\u7d4c\u7531\u3067\u7e4b\u3044\u3067\u3044\u308b\u306e\u3067\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\n$ sudo hddtemp /dev/sda/dev/sda: VB0250EAVER: 37\u00b0C$ sudo hddtemp /dev/sda /dev/sdb/dev/sda: VB0250EAVER: 38\u00b0C/dev/sdb: Hitachi HDS5C3030ALA630: 39\u00b0C$ sudo hddtemp /dev/sd?/dev/sda: VB0250EAVER: 37\u00b0C/dev/sdb: Hitachi HDS5C3030ALA630: 37\u00b0C/dev/sdc: WDC WD30EZRX-00MMMB0: 40\u00b0C/dev/sdd: WDC WD30EZRX-00DC0B0: S.M.A.R.T. not available/dev/sde: TOSHIBA DT01ACA300: S.M.A.R.T. not available\n\u30c7\u30fc\u30e2\u30f3\u5316\u3082\u3067\u304d\u307e\u3059\uff0etcp 7634\u306b\u30a2\u30af\u30bb\u30b9\u308b\u3068\u5024\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\uff0e\n$ sudo hddtemp -d /dev/sda$ nc localhost 7634|/dev/sda|VB0250EAVER|37|C|\n\u505c\u6b62\n$ pgrep hddtemp11832$ sudo kill 11832\n\u8907\u6570\u30c7\u30d0\u30a4\u30b9\u3082\u884c\u3051\u308b\u3051\u3069\u305d\u306e\u307e\u307e\u3067\u306f\u898b\u306b\u304f\u3044\u3067\u3059\u306d\uff0e\n$ sudo hddtemp -d /dev/sd?$ nc localhost 7634|/dev/sda|VB0250EAVER|38|C||/dev/sdb|Hitachi HDS5C3030ALA630|39|C||/dev/sdc|WDC WD30EZRX-00MMMB0|41|C||/dev/sdd|WDC WD30EZRX-00DC0B0|NA|*||/dev/sde|TOSHIBA DT01ACA300|NA|*|$ nc localhost 7634|sed -e 's/||/|\\n|/g'|/dev/sda|VB0250EAVER|37|C||/dev/sdb|Hitachi HDS5C3030ALA630|38|C||/dev/sdc|WDC WD30EZRX-00MMMB0|40|C||/dev/sdd|WDC WD30EZRX-00DC0B0|NA|*||/dev/sde|TOSHIBA DT01ACA300|NA|*|\nS.M.A.R.T\u306e\u5024\u3092\u5143\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u308f\u305a\u5927\u62b5\u306e\u74b0\u5883\u3067\u5165\u3063\u3066\u3044\u308bsmartctl\u3067\u3082\u826f\u3044\u6c17\u3082\u3057\u307e\u3059\uff0e\n$ sudo smartctl -a /dev/sda|grep -i temp190 Airflow_Temperature_Cel 0x0022 063 056 045 Old_age Always - 37 (Min/Max 31/43)194 Temperature_Celsius 0x0022 037 044 000 Old_age Always - 37 (0 11 0 0 0)\n\u74b0\u5883\n$ lsb_release -dDescription: Ubuntu 16.04.4 LTS$ uname -mx86_64$ dpkg-query -W hddtemp smartmontoolshddtemp 0.3-beta15-52smartmontools 6.4+svn4214-1", "date_published": "2018-07-18T21:18:25+09:00", "date_modified": "2018-07-18T21:18:25+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "hddtemp", "S.M.A.R.T", "smartctl", "Linux", "Ubuntu", "xenial(16.04)" ] }, { "id": "http://matoken.org/blog/?p=1920", "url": "https://matoken.org/blog/2018/06/08/moved-from-stardict-to-goldendict/", "title": "StarDict\u304b\u3089GoldenDict\u306b\u79fb\u884c\u3057\u305f", "content_html": "$ lsb_release -dDescription: Ubuntu 16.04.4 LTS$ uname -mx86_64$ dpkg-query -W hddtemp smartmontoolshddtemp 0.3-beta15-52smartmontools 6.4+svn4214-1
\n\nThe original StarDict project has recently been removed from SourceForge due to copyright infringement reports. Most of the files were lost with the demise of the project.
\n
\u3066\u3053\u3068\u3067\u5f8c\u7d99\u306eGoldenDict\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\nStarDict\u3067\u306f\u8f9e\u66f8\u306f\u82f1\u8f9e\u90ce(\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u7248)\u3068stardict-dic-ja\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\uff0e
\n\u82f1\u8f9e\u90ce\u306e\u8f9e\u66f8\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306escript\u3092\u5229\u7528\u3057\u3066StarDict\u5f62\u5f0f\u306b\u5909\u63db\u3057\u307e\u3057\u305f\uff0e
\n\neiji2sd_20160307.zip\u306e\u4e2d\u306ePerl\u7248(eiji2sd-text.pl)\u3092\u5229\u7528\u3057\u3066\u5909\u63db\u5f8cStarDict\u306e\u8f9e\u66f8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3044\u307e\u3057\u305f\uff0e\u4ee5\u4e0b\u306f\u53e4\u3081\u306e\u30de\u30b7\u30f3\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u306e\u306730\u5206\u8fd1\u304f\u5909\u63db\u306b\u639b\u304b\u3063\u3066\u3044\u307e\u3059\u304c\uff0c\u901a\u5e38\u306f\u3082\u3063\u3068\u77ed\u3044\u6642\u9593\u3067\u7d42\u308f\u308b\u3068\u601d\u3044\u307e\u3059\uff0e
$ unzip eiji2sd_20160307.zip\r\n$ time perl eiji2sd-text.pl ../EIJIRO-1444.TXT\r\nNow reading: yohimbine activation\r\nSorting...\r\nWriting dictionary: 99% Zina\r\nDone.\r\n\r\nreal 26m41.099s\r\nuser 3m3.413s\r\nsys 0m7.541s\r\n$ sudo install -b -D -g root -o root -m 0444 ./* /usr/share/stardict/dic/eijiro/\r\n\n\u3068\u3044\u3046\u72b6\u614b\u3067StarDict\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\uff0e
\nGoldenDict\u3092\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n$ sudo apt install goldendict\r\n\n\u5c0e\u5165\u3057\u305f\u3089\u65e9\u901f\u8d77\u52d5\u3057\u3066\u8f9e\u66f8\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\uff0e
\n\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306e\u300c\u7de8\u96c6\u300d->\u300c\u8f9e\u66f8\u300d\u3067\u8f9e\u66f8\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u8d77\u52d5\uff0e
\n\u300c\u30bd\u30fc\u30b9\u300d\u30bf\u30d6\u306e\u300c\u30d5\u30a1\u30a4\u30eb\u300d\u30bf\u30d6\u3067\u300c\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\uff0c\u8f9e\u66f8\u3092\u8ffd\u52a0\u3057\u307e\u3059\uff0eGoldenDict\u3082StarDict\u306e\u8f9e\u66f8\u5f62\u5f0f\u3092\u5229\u7528\u3067\u304d\u308b\u306e\u3067StarDict\u306e\u8f9e\u66f8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u307e\u3059\uff0e\u300c/usr/share/stardict/dic\u300d\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\uff0e\u8f9e\u66f8\u30c7\u30fc\u30bf\u3092GoldenDict\u306e\u8f9e\u66f8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u6301\u3063\u3066\u3044\u3063\u3066\u3082ok\u3067\u3059\uff0e\u305d\u306e\u5834\u5408\u306f\u300c`
\n\u8ffd\u52a0\u3057\u305f\u3042\u3068\u300c\u518d\u5e30\u300d\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3057\uff0c\u300c\u4eca\u3059\u3050\u518d\u30b9\u30ad\u30e3\u30f3\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\uff0e\u4e0a\u90e8\u306e\u300c\u8f9e\u66f8\u300d\u30bf\u30d6\u3067\u8f9e\u66f8\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\u4e00\u65e6\u30a6\u30a3\u30f3\u30c9\u30a5\u3092\u9589\u3058\u3066\uff0c\u5229\u7528\u3057\u305f\u3044\u30b9\u30ad\u30e3\u30f3\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u6a5f\u80fd\u3092\u8a66\u3057\u307e\u3059\uff0e\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\u306eGoldenDict\u30a2\u30a4\u30b3\u30f3\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\uff0c\u300c\u30b9\u30ad\u30e3\u30f3 \u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u300d\u306b\u30c1\u30a7\u30c3\u30af\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\u3057\u3066\uff0c\u9069\u5f53\u306a\u6587\u5b57\u5217\u3092\u9078\u629e\u3057\u3066\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u8f9e\u66f8\u5f15\u304d\u304c\u51fa\u6765\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\n\u3053\u306e\u307e\u307e\u3067\u306f\u3061\u3087\u3063\u3068\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u51fa\u308b\u983b\u5ea6\u304c\u591a\u304f\u3066\u3046\u3063\u3068\u304a\u3057\u3044\u3067\u3059\u3057\uff0c\u65e5\u672c\u8a9e\u5165\u529b\u304c\u57fa\u672c\u7684\u306b\u4e0d\u53ef\u80fd\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\u30a2\u30a4\u30b3\u30f3\u3067On/Off\u304c\u51fa\u6765\u307e\u3059\u304c\u9762\u5012\u3067\u3059\uff0e
\n\u300c\u7de8\u96c6\u300d->\u300c\u74b0\u5883\u8a2d\u5b9a\u300d\u306e\u300c\u30b9\u30ad\u30e3\u30f3\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u300d\u30bf\u30d6\u306e\u300c\u3059\u3079\u3066\u306e\u9078\u629e\u3055\u308c\u305f\u30ad\u30fc\u304c\u62bc\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u306e\u307f\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u3092\u8868\u793a\u3059\u308b\u300d\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u6709\u52b9\u306b\u3057\u307e\u3059\uff0e
\n\n\u3082\u3046\u4e00\u3064Ctrl+c+c\u3067\u3082\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\u3053\u308c\u306f\u300c\u30db\u30c3\u30c8\u30ad\u30fc\u300d\u30bf\u30d6\u306e\u300c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u304b\u3089\u306e\u5358\u8a9e\u3092\u7ffb\u8a33\u3059\u308b\u306e\u306b\u6b21\u306e\u30db\u30c3\u30c8\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u307e\u3059\u300d\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3067\u3059\uff0e\u79c1\u306f\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u306e\u30b3\u30d4\u30fc\u6642\u306b\u3064\u30442\u56dec\u3092\u62bc\u3057\u3066\u3053\u308c\u3092\u51fa\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u7121\u52b9\u306b\u3057\u307e\u3057\u305f\uff0e
\u300c\u7de8\u96c6\u300d->\u300c\u8f9e\u66f8\u300d\u306e\u300c\u30bd\u30fc\u30b9\u300d\u30bf\u30d6\u306e\u300cWikipedia\u300d\u30bf\u30d6\u3067Wikipedia\u3092\u5f15\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e\u3057\u304b\u3057\uff0c\u30d7\u30ea\u30bb\u30c3\u30c8\u3092\u6709\u52b9\u306b\u3057\u3066\u3082\u4f7f\u3048\u307e\u305b\u3093\uff0e
\n\n\u300c\u30a2\u30c9\u30ec\u30b9\u300d\u306eURL\u3092http://\u304b\u3089https://\u306b\u4fee\u6b63\u3059\u308b\u3053\u3068\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u3053\u308c\u304c\u6848\u5916\u4fbf\u5229\u3067\u3059\uff0e
Wikipedia\u304c\u4fbf\u5229\u306a\u306e\u3067\u300cWeb\u30b5\u30a4\u30c8\u300d\u30bf\u30d6\u3067\u300c\u30cb\u30b3\u30cb\u30b3\u5927\u767e\u79d1\u300d\u3068\u300c\u306f\u3066\u306a\u30ad\u30fc\u30ef\u30fc\u30c9\u300d\u3082\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u306e\u6642\u9593\u304c\u304b\u304b\u308a\u3059\u304e\u308b\u3057\uff0c\u30d8\u30c3\u30c0\u30fc\u306a\u3069\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u898b\u3048\u3065\u3089\u3044\u306e\u3067\u3061\u3087\u3063\u3068\u3053\u306e\u307e\u307e\u3067\u306f\u4f7f\u3048\u306a\u3055\u305d\u3046\u3067\u3059\uff0e
\n\nUbuntu 16.04 LTS arm64
\nDebian sid amd64
RAM\u3092\u5927\u91cf\u306b\u5fc5\u8981\u3068\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u3063\u3066\u9045\u304f\u3066\u3082\u3044\u3044\u304b\u3089\u4e00\u6642\u7684\u306b\u30b9\u30ef\u30c3\u30d7\u3092\u5897\u3084\u3057\u3066\u3084\u308a\u904e\u3054\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e\u307e\u305f\uff0cRAM\u306e\u5c11\u306a\u3044\u30de\u30b7\u30f3\u3067\u30c7\u30a3\u30b9\u30af\u306e\u69cb\u6210\u3092\u3044\u3058\u308b\u306e\u304c\u9762\u5012\u306a\u3068\u304d\u306b\u3082\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u3048\u307e\u3059\uff0e\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56deRAM\u304c2GB\u3067\u305d\u3053\u305d\u3053\u3042\u308b\u3051\u3069\u5076\u306b\u4f7f\u3044\u5207\u3063\u3066\u3057\u307e\u3046(\u4e3b\u306bchromium!)\u306e\u3067\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e\u4eca\u56de\u306f/var/tmp/swap.img\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u30672GB\u7528\u610f\u3057\u307e\u3057\u305f\uff0e
$ sudo install -o root -g root -m 0600 /dev/null /var/tmp/swap.img\r\n$ sudo dd if=/dev/zero of=/var/tmp/swap.img bs=1M count=2048\r\n$ sudo mkswap /var/tmp/swap.img\r\n\n\u3068\u308a\u3042\u3048\u305a\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c9\u30db\u30c3\u30af\u306b\u6709\u52b9\u306b\u3057\u307e\u3059\uff0e
\n$ sudo swapon /var/tmp/swap.img \r\n\n\uff0e\u30b9\u30ef\u30c3\u30d7\u304c\u5897\u3048\u3066\u3044\u307e\u3059\uff0e
\n$ swapon -s\r\nFilename Type Size Used Priority\r\n/dev/zram0 partition 254688 80024 5\r\n/dev/zram1 partition 254688 80016 5\r\n/dev/zram2 partition 254688 79940 5\r\n/dev/zram3 partition 254688 79928 5\r\n/var/tmp/swap.img file 2097148 0 -1\r\n\n\u4e00\u6642\u7684\u306b\u5fc5\u8981\u306a\u5834\u5408\u306f\u3053\u308c\u3067\u826f\u3044\u306e\u3067\u3059\u304c\uff0c\u6052\u4e45\u7684\u306b\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u306e\u307e\u307e\u3067\u306f\u518d\u8d77\u52d5\u5f8c\u306b\u306f\u6709\u52b9\u306b\u306a\u308a\u307e\u305b\u3093\uff0e/etc/fstab\u306b\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u8d77\u52d5\u6642\u306b\u6709\u52b9\u306b\u306a\u308b\u3088\u3046\u306b\u3057\u307e\u3059\uff0e
$ sudo vi /etc/fstab\r\n$ grep -i swap.img /etc/fstab \r\n/var/tmp/swap.img none swap sw 0 0\r\n\n\u4e00\u65e6swapoff\u3067\u30b9\u30ef\u30c3\u30d7\u3092\u7121\u52b9\u306b\u3057\u3066swapon -a\u3067fatab\u306e\u8a2d\u5b9a\u304c\u6709\u52b9\u304b\u8a66\u3057\u307e\u3059\uff0eswapon -a\u306ffstab\u306e\u30b9\u30ef\u30c3\u30d7\u306e\u8a2d\u5b9a\u3092\u5168\u3066\u6709\u52b9\u306b\u3057\u307e\u3059\uff0e
$ sudo swapoff /var/tmp/swap.img\r\n$ sudo swapon -a\r\n$ swapon -s\r\nFilename Type Size Used Priority\r\n/dev/zram0 partition 254688 80020 5\r\n/dev/zram1 partition 254688 80016 5\r\n/dev/zram2 partition 254688 79940 5\r\n/dev/zram3 partition 254688 79928 5\r\n/var/tmp/swap.img file 2097148 0 -1\r\n\r\n\n\u5ff5\u306e\u305f\u3081\u518d\u8d77\u52d5\u3057\u3066\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u6709\u52b9\u304b\u3082\u8a66\u305b\u3070OK\u3067\u3059 :)
\n\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u5229\u7528\u306f\u304a\u624b\u8efd\u3067\u3059\u304c\uff0c\u30b9\u30ef\u30c3\u30d7\u30d1\u30fc\u30c6\u30a3\u30fc\u30b7\u30e7\u30f3\u306b\u6bd4\u3079\u308b\u3068\u6027\u80fd\u306f\u5c11\u3057\u843d\u3061\u308b\u306e\u3067\u53ef\u80fd\u306a\u3089\u30b9\u30ef\u30c3\u30d7\u30d1\u30fc\u30c6\u30a3\u30fc\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u305f\u307b\u3046\u304c\u826f\u3044\u3067\u3059\uff0eRAM\u304c\u5897\u8a2d\u3067\u304d\u308b\u306a\u3089\u305d\u308c\u304c\u4e00\u756a\u3067\u3059\uff0e
\n$ dpkg-query -W mount\r\nmount 2.27.1-6ubuntu3.6\r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.4 LTS\r\n$ uname -m\r\naarch64\r\n\n",
"content_text": "RAM\u3092\u5927\u91cf\u306b\u5fc5\u8981\u3068\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u3063\u3066\u9045\u304f\u3066\u3082\u3044\u3044\u304b\u3089\u4e00\u6642\u7684\u306b\u30b9\u30ef\u30c3\u30d7\u3092\u5897\u3084\u3057\u3066\u3084\u308a\u904e\u3054\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e\u307e\u305f\uff0cRAM\u306e\u5c11\u306a\u3044\u30de\u30b7\u30f3\u3067\u30c7\u30a3\u30b9\u30af\u306e\u69cb\u6210\u3092\u3044\u3058\u308b\u306e\u304c\u9762\u5012\u306a\u3068\u304d\u306b\u3082\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u3048\u307e\u3059\uff0e\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56deRAM\u304c2GB\u3067\u305d\u3053\u305d\u3053\u3042\u308b\u3051\u3069\u5076\u306b\u4f7f\u3044\u5207\u3063\u3066\u3057\u307e\u3046(\u4e3b\u306bchromium!)\u306e\u3067\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e\u4eca\u56de\u306f/var/tmp/swap.img\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u30672GB\u7528\u610f\u3057\u307e\u3057\u305f\uff0e\n$ sudo install -o root -g root -m 0600 /dev/null /var/tmp/swap.img\r\n$ sudo dd if=/dev/zero of=/var/tmp/swap.img bs=1M count=2048\r\n$ sudo mkswap /var/tmp/swap.img\r\n\n\u3068\u308a\u3042\u3048\u305a\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c9\u30db\u30c3\u30af\u306b\u6709\u52b9\u306b\u3057\u307e\u3059\uff0e\n$ sudo swapon /var/tmp/swap.img \r\n\n\uff0e\u30b9\u30ef\u30c3\u30d7\u304c\u5897\u3048\u3066\u3044\u307e\u3059\uff0e\n$ swapon -s\r\nFilename Type Size Used Priority\r\n/dev/zram0 partition 254688 80024 5\r\n/dev/zram1 partition 254688 80016 5\r\n/dev/zram2 partition 254688 79940 5\r\n/dev/zram3 partition 254688 79928 5\r\n/var/tmp/swap.img file 2097148 0 -1\r\n\n\u4e00\u6642\u7684\u306b\u5fc5\u8981\u306a\u5834\u5408\u306f\u3053\u308c\u3067\u826f\u3044\u306e\u3067\u3059\u304c\uff0c\u6052\u4e45\u7684\u306b\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u306e\u307e\u307e\u3067\u306f\u518d\u8d77\u52d5\u5f8c\u306b\u306f\u6709\u52b9\u306b\u306a\u308a\u307e\u305b\u3093\uff0e/etc/fstab\u306b\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u8d77\u52d5\u6642\u306b\u6709\u52b9\u306b\u306a\u308b\u3088\u3046\u306b\u3057\u307e\u3059\uff0e\n$ sudo vi /etc/fstab\r\n$ grep -i swap.img /etc/fstab \r\n/var/tmp/swap.img none swap sw 0 0\r\n\n\u4e00\u65e6swapoff\u3067\u30b9\u30ef\u30c3\u30d7\u3092\u7121\u52b9\u306b\u3057\u3066swapon -a\u3067fatab\u306e\u8a2d\u5b9a\u304c\u6709\u52b9\u304b\u8a66\u3057\u307e\u3059\uff0eswapon -a\u306ffstab\u306e\u30b9\u30ef\u30c3\u30d7\u306e\u8a2d\u5b9a\u3092\u5168\u3066\u6709\u52b9\u306b\u3057\u307e\u3059\uff0e\n$ sudo swapoff /var/tmp/swap.img\r\n$ sudo swapon -a\r\n$ swapon -s\r\nFilename Type Size Used Priority\r\n/dev/zram0 partition 254688 80020 5\r\n/dev/zram1 partition 254688 80016 5\r\n/dev/zram2 partition 254688 79940 5\r\n/dev/zram3 partition 254688 79928 5\r\n/var/tmp/swap.img file 2097148 0 -1\r\n\r\n\n\u5ff5\u306e\u305f\u3081\u518d\u8d77\u52d5\u3057\u3066\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u304c\u6709\u52b9\u304b\u3082\u8a66\u305b\u3070OK\u3067\u3059 :)\n\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u5229\u7528\u306f\u304a\u624b\u8efd\u3067\u3059\u304c\uff0c\u30b9\u30ef\u30c3\u30d7\u30d1\u30fc\u30c6\u30a3\u30fc\u30b7\u30e7\u30f3\u306b\u6bd4\u3079\u308b\u3068\u6027\u80fd\u306f\u5c11\u3057\u843d\u3061\u308b\u306e\u3067\u53ef\u80fd\u306a\u3089\u30b9\u30ef\u30c3\u30d7\u30d1\u30fc\u30c6\u30a3\u30fc\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u305f\u307b\u3046\u304c\u826f\u3044\u3067\u3059\uff0eRAM\u304c\u5897\u8a2d\u3067\u304d\u308b\u306a\u3089\u305d\u308c\u304c\u4e00\u756a\u3067\u3059\uff0e\n\u74b0\u5883\n$ dpkg-query -W mount\r\nmount 2.27.1-6ubuntu3.6\r\n$ lsb_release -d\r\nDescription: Ubuntu 16.04.4 LTS\r\n$ uname -m\r\naarch64",
"date_published": "2018-05-30T21:05:56+09:00",
"date_modified": "2018-05-30T21:05:56+09:00",
"authors": [
{
"name": "matoken",
"url": "https://matoken.org/blog/author/matoken/",
"avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g"
}
],
"author": {
"name": "matoken",
"url": "https://matoken.org/blog/author/matoken/",
"avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g"
},
"tags": [
"swap",
"swapfile",
"Linux",
"Ubuntu",
"xenial(16.04)"
]
},
{
"id": "http://matoken.org/blog/?p=1854",
"url": "https://matoken.org/blog/2018/03/14/josm-with-openjdk/",
"title": "OpenJDK \u3067 JOSM",
"content_html": "Java\u3067\u52d5\u4f5c\u3059\u308bOpenStreetMap\u30a8\u30c7\u30a3\u30bf\u306eJOSM\u3092Linux\u4e0a\u306eOpenJDK\u3067\u52d5\u304b\u3059\u30e1\u30e2\u3067\u3059\uff0e
\nDebian sid amd64 / Ubuntu 16.04 LTS ARM64 \u3067\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\uff0e
JOSM\u3092\u6b21\u306e\u30da\u30fc\u30b8\u304b\u3089\u5165\u624b\u3057\u307e\u3059\uff0ejosm-tested.jar \u3092\u3088\u304f\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e
\n2015\u5e7412\u6708\u304f\u3089\u3044\u306b\u306f\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3044\u3066\u73fe\u5728\u306fJava 8\u4ee5\u4e0a\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e
\n\n\n\n\u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eJava\u306f\u3082\u3046\u3059\u3050\u30b5\u30dd\u30fc\u30c8\u5bfe\u8c61\u304b\u3089\u5916\u308c\u307e\u3059\u3002 Java 8\u4ee5\u4e0a\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\uff01
\n
\u3053\u3053\u3067\u306f OpenJDK 8 \u3092\u5c0e\u5165
\n$ sudo apt install openjdk-8-jre\r\n\n
OpenJDK 8\u306b\u306a\u3063\u3066\u3044\u308b\uff0e\u3082\u3057\u9055\u3046\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u6b21\u306e\u9805\u76ee\u3078\uff0e
\n$ java -version\r\nopenjdk version "1.8.0_151"\r\nOpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)\r\nOpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)\r\n\n
OpenJDK 8\u306e\u5834\u5408\u306f\u3053\u3053\u306f\u30b9\u30ad\u30c3\u30d7\u3059\u308b\uff0e
\n$ sudo update-alternatives --config java\r\n\n
-Dawt.useSystemAAFontSettings=on\u306f\u30d5\u30a9\u30f3\u30c8\u306e\u30a2\u30f3\u30c1\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u6709\u52b9\u306b\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\uff0eLCD\u306e\u5834\u5408on\u306e\u4ee3\u308f\u308a\u306blcd\uff0e
$ java -jar -Dawt.useSystemAAFontSettings=on ./josm-latest.jar\r\n\n\u30c7\u30a3\u30b9\u30af\u306e\u90fd\u5408\u3067mysql\u306e\u30c7\u30fc\u30bf\u306e\u7f6e\u304d\u5834\u6240\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\uff0e
\nmysqld\u3092\u505c\u6b62\u3057\u3066\uff0c\u30c7\u30fc\u30bf\u3092\u79fb\u52d5\u3057\u3066\uff0c\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3082\u4e00\u5fdc\u8cbc\u3063\u3066\u304a\u304f\uff0e
\n/etc/mysql/mysql.conf.d/mysqld.cnf\u3067datadir\u3092\u5909\u66f4\uff0e
[mysqld]\r\ndatadir = /export/data/var/lib/mysql\r\n\n
\u3053\u306e\u72b6\u614b\u3067mysql\u3092\u8d77\u52d5\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u306e\u30a8\u30e9\u30fc\u3067\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e
\n2018-02-17T16:12:54.184655Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable\r\n2018-02-17T16:12:54.184718Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable\r\n2018-02-17T16:12:54.184734Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error\r\n2018-02-17T16:12:54.785643Z 0 [ERROR] Plugin 'InnoDB' init function returned error.\r\n2018-02-17T16:12:54.786151Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.\r\n2018-02-17T16:12:54.786272Z 0 [ERROR] Failed to initialize builtin plugins.\r\n2018-02-17T16:12:54.786415Z 0 [ERROR] Aborting\r\n\n
\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u306f\u4e00\u898b\u554f\u984c\u7121\u3055\u305d\u3046\u306b\u898b\u3048\u307e\u3059\uff0e
\n$ sudo ls -la /export/data/var/lib/mysql/ibdata1\r\n-rw-rw---- 1 mysql mysql 102760448 2\u6708 18 05:15 /export/data/var/lib/mysql/ibdata1\r\n$ sudo -u mysql dd if=/export/data/var/lib/mysql/ibdata1 bs=10 count=1|od -xc\r\n1+0 \u30ec\u30b3\u30fc\u30c9\u5165\u529b\r\n1+0 \u30ec\u30b3\u30fc\u30c9\u51fa\u529b\r\n10 bytes copied, 9.8366e-05 s, 102 kB/s\r\n0000000 2214 405b 0000 0000 0000\r\n 024 " [ @ \\0 \\0 \\0 \\0 \\0 \\0\r\n0000012\r\n\n
\u4f55\u3067\u3060?\u3068\u601d\u3063\u305f\u3089kernel log\u306b\u3053\u3093\u306a\u30ed\u30b0\u304c\uff0eapparmor\u3067\u5f15\u3063\u304b\u304b\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e
\nFeb 18 00:35:26 micro kernel: [ 3569.631324] audit: type=1400 audit(1518881726.300:24): apparmor="DENIED" operation="open" prof\r\nile="/usr/sbin/mysqld" name="/proc/18795/status" pid=18795 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=114 ouid=114\r\n\n
/etc/apparmor.d/usr.sbin.mysqld\u3067\u30d1\u30b9\u3092\u5909\u66f4\u3057\u307e\u3059\uff0e
diff --git a/apparmor.d/usr.sbin.mysqld b/apparmor.d/usr.sbin.mysqld\r\nindex 2619e7d..adb8259 100644\r\n--- a/apparmor.d/usr.sbin.mysqld \r\n+++ b/apparmor.d/usr.sbin.mysqld\r\n@@ -46,16 +46,16 @@\r\n /usr/share/mysql/** r, \r\n\r\n # Allow data dir access \r\n- /var/lib/mysql/ r,\r\n- /var/lib/mysql/** rwk, \r\n+ /export/data/var/lib/mysql/ r, \r\n+ /export/data/var/lib/mysql/** rwk,\r\n\r\n # Allow data files dir access\r\n- /var/lib/mysql-files/ r,\r\n- /var/lib/mysql-files/** rwk,\r\n+ /export/data/var/lib/mysql-files/ r,\r\n+ /export/data/var/lib/mysql-files/** rwk,\r\n\r\n # Allow keyring dir access\r\n- /var/lib/mysql-keyring/ r,\r\n- /var/lib/mysql-keyring/** rwk, \r\n+ /export/data/var/lib/mysql-keyring/ r,\r\n+ /export/data/var/lib/mysql-keyring/** rwk,\r\n\r\n # Allow log file access \r\n /var/log/mysql.err rw,\r\n\n
\u3053\u306e\u72b6\u614b\u3067apparmor\u3092\u518d\u8d77\u52d5\u3057\u3066\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u3066\u304b\u3089mysql\u3092\u8d77\u52d5\u3067OK\u3067\u3057\u305f\uff0e
\n$ sudo service apparmor restart\r\n$ sudo service mysql start\r\n\n
\u3053\u306e\u5f8ciostat -x\u3092\u773a\u3081\u3066\u5927\u4e08\u592b\u305d\u3046\u304b\u306a\u30fc\u3063\u3066\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u97f3\u304c\u5927\u304d\u304f\u306a\u3063\u305f\u306e\u3067\u307e\u305f\u5225\u306e\u5834\u6240\u306b\u79fb\u52d5\u3059\u308b\u304b\u3082\u2026\u2026\uff0e
$ dpkg-query -W mysql-server\r\nmysql-server 5.7.21-0ubuntu0.16.04.1\r\n$ lsb_release -a\r\nDistributor ID: Ubuntu\r\nDescription: Ubuntu 16.04.3 LTS\r\nRelease: 16.04\r\nCodename: xenial\r\n$ uname -m\r\nx86_64\r\n\n
Opera\u306e\u5171\u540c\u5275\u8a2d\u8005\u3067CEO\u3060\u3063\u305fJon Stephenson von Tetzchner\u306b\u3088\u3063\u3066\u8a2d\u7acb\u3055\u308c\u305fVivaldi Technologies\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u3066\u3044\u308b\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u3053\u308c\u307e\u3067x86/x64\u30d7\u30e9\u30c3\u30c8\u30db\u30fc\u30e0\u306eWindows/macOS/Linux\u7248\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u304c\uff0c2017/12/05\u306bLinux ARM\u7248(armhf)\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
Raspberry Pi\u306eRaspbian\u304c\u30e1\u30a4\u30f3\u306e\u3088\u3046\u3067\u3059\u304c\uff0c\u4ed6\u306eARM\u74b0\u5883\u3067\u3082\u8a66\u3057\u305f\u3089\u666e\u901a\u306b\u52d5\u304d\u307e\u3057\u305f :)
\n\u3068\u3044\u3063\u3066\u3082\u3084\u306f\u308aRAM512MB\u306e\u3088\u3046\u306a\u30de\u30b7\u30f3\u3067\u306f\u8f9b\u3044\u3067\u3059\u306d\uff0eRAM2GB\u306e\u30de\u30b7\u30f3\u3060\u3068\u4eca\u306e\u3068\u3053\u308d\u3044\u3044\u611f\u3058\u305d\u3046\u3067\u3059\uff0eMidori\u3084qutebrowser\u3067\u3046\u307e\u304f\u8868\u793a\u3067\u304d\u306a\u3044Mastodon\u3084gmail/Google+\u306a\u3069\u3082\u554f\u984c\u306a\u304f\u8868\u793a\u3067\u304d\u307e\u3059\u3057\uff0cChrome\u306e\u62e1\u5f35\u6a5f\u80fd\u3082\u4f7f\u3048\u307e\u3059\uff0e
\n$ wget https://downloads.vivaldi.com/stable/vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n\n
hash\u3068\u304b\u898b\u5f53\u305f\u3089\u306a\u3044\u3051\u3069\u624b\u5143\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3060\u3063\u305f
\n$ md5sum vivaldi-stable_1.13.1008.34-1_armhf.deb \r\n7515f51385a9a264ad5bb7612438aeda vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n$ sha1sum vivaldi-stable_1.13.1008.34-1_armhf.deb \r\n6b103d205f6aa7a5f3b394ba8d32dc9ca87bf0cd vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n$ sha256sum vivaldi-stable_1.13.1008.34-1_armhf.deb \r\ne7af5d021bf0c2968fcf0271e8f741552e34bcf2d032318eb8ea95356067297d vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n$ sha512sum vivaldi-stable_1.13.1008.34-1_armhf.deb \r\nf47f2d26e8045af9ba680129feca765cf3f9dc7ea76930071e9688ef50aa78a482b40ba5747fb4470d30520177bda371ec79e5a210a93dcf2e49251425001c6d vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n\n
$ dpkg-deb -I ./vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n \u65b0\u5f62\u5f0f debian \u30d1\u30c3\u30b1\u30fc\u30b8\u3001\u30d0\u30fc\u30b8\u30e7\u30f3 2.0\u3002\r\n \u30b5\u30a4\u30ba 45154158 \u30d0\u30a4\u30c8: \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30a2\u30fc\u30ab\u30a4\u30d6 = 9840 \u30d0\u30a4\u30c8\u3002\r\n 1269 \u30d0\u30a4\u30c8\u3001 16 \u884c control \r\n 15872 \u30d0\u30a4\u30c8\u3001 442 \u884c * postinst #!/bin/sh\r\n 12544 \u30d0\u30a4\u30c8\u3001 324 \u884c * postrm #!/bin/sh\r\n 1220 \u30d0\u30a4\u30c8\u3001 42 \u884c * prerm #!/bin/sh\r\n Package: vivaldi-stable\r\n Version: 1.13.1008.34-1\r\n Architecture: armhf\r\n Maintainer: Vivaldi Package Composer <packager@vivaldi.com>\r\n Installed-Size: 131921\r\n Pre-Depends: dpkg (>= 1.14.0)\r\n Depends: gconf-service, libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.16), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libexpat1 (>= 2.0.1), libfontconfig1 (>= 2.8.0), libgcc1 (>= 1:4.4.0), libgconf-2-4 (>= 3.2.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.28.0), libgtk-3-0 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, ca-certificates, fonts-liberation, libnss3 (>= 3.26), xdg-utils (>= 1.0.2), wget\r\n Recommends: adobe-flashplugin, chromium-codecs-ffmpeg-extra\r\n Conflicts: vivaldi-beta, vivaldi-preview\r\n Replaces: vivaldi-beta, vivaldi-preview\r\n Provides: www-browser\r\n Section: web\r\n Priority: optional\r\n Homepage: https://vivaldi.com\r\n Description: A new browser for our friends\r\n Vivaldi browser is made with power users in mind by people who love the Web.\r\n\n
\u3068\u308a\u3042\u3048\u305aDebian jessie armhf/Ubuntu 16.04 LTS aarch64\u3067\u52d5\u3044\u3066\u3044\u308b\uff0e
\n$ sudo dpkg -i ./vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n\n
\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u8db3\u308a\u306a\u3044\u5834\u5408\u306f\uff0c
\ndpkg: \u4f9d\u5b58\u95a2\u4fc2\u306e\u554f\u984c\u306b\u3088\u308a vivaldi-stable:armhf \u306e\u8a2d\u5b9a\u304c\u3067\u304d\u307e\u305b\u3093:\r\n vivaldi-stable:armhf \u306f\u4ee5\u4e0b\u306b\u4f9d\u5b58 (depends) \u3057\u307e\u3059: libnss3 (>= 3.26)...\u3057\u304b\u3057:\r\n \u30d1\u30c3\u30b1\u30fc\u30b8 libnss3:armhf \u306f\u307e\u3060\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\r\n\r\ndpkg: \u30d1\u30c3\u30b1\u30fc\u30b8 vivaldi-stable:armhf \u306e\u51e6\u7406\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (--install):\r\n \u4f9d\u5b58\u95a2\u4fc2\u306e\u554f\u984c - \u8a2d\u5b9a\u3092\u898b\u9001\u308a\u307e\u3059\r\n\n
\u3053\u3093\u306a\u611f\u3058\u3067\u8db3\u308a\u306a\u3044pkg\u304c\u5165\u308b\u306f\u305a\uff0e\u305d\u306e\u5f8c\u898b\u9001\u3089\u308c\u3066\u3044\u305fvivaldi-stable\u306e\u8a2d\u5b9a\u306e\u7d9a\u304d\u3082\u5b9f\u884c\u3055\u308c\u308b\uff0e
\n$ sudo apt install -f\r\n\n
aarch64\u3067\u3082\u8a66\u3057\u305f\uff0e
\n\u65e2\u306badd archtecture armhf\u3057\u3066\u8272\u3005\u5165\u308c\u3066\u3044\u305f\u74b0\u5883\u306b\u5165\u308c\u3066\u30af\u30ea\u30fc\u30f3\u306a\u74b0\u5883\u3067\u691c\u8a3c\u3057\u3066\u3044\u306a\u3044\u3051\u3069\u591a\u5206\u3053\u3093\u306a\u611f\u3058\uff0e
$ sudo dpkg --add-architecture armhf\r\n$ sudo apt update\r\n$ sudo dpkg -i ./vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n$ sudo apt install -f\r\n\n
—-\u8ffd\u8a18—-
\n\u30af\u30ea\u30fc\u30f3\u306aDragonBoard 410c\u306bDebian stretch aarch64(lonaro)\u3092\u5165\u308c\u305f\u74b0\u5883\u3067\u3082\u78ba\u8a8d\u3057\u305f\u304c\u3053\u306e\u624b\u9806\u3067ok\u3060\u3063\u305f :)
\n—-\u8ffd\u8a18\u7d42\u308f\u308a—-
deb\u4ee5\u5916\u306e\u74b0\u5883\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u9069\u5f53\u306a\u5834\u6240\u306b\u5c55\u958b\u3057\u3066\u52d5\u304b\u305b\u305f\uff0e
\n$ mkdir -p ~/opt/vivaldi\r\n$ ar p vivaldi-stable_1.13.1008.34-1_armhf.deb data.tar.xz | tar xJ -C ~/opt/vivaldi\r\n$ rm vivaldi-stable_1.13.1008.34-1_armhf.deb\r\n$ ~/opt/vivaldi/opt/vivaldi/vivaldi\r\n\nSlackware\u3060\u3068\u4ee5\u4e0b\u306esctipt\u304c\u4f7f\u3048\u305d\u3046(\u672a\u78ba\u8a8d)
\n\n\u3082\u3057\uff0c\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089
\n$ ~/opt/vivaldi/opt/vivaldi/vivaldi\r\n[13021:13021:1205/215600.516642:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/matoken/opt/vivaldi/opt/vivaldi/vivaldi-sandbox is owned by root and has mode 4755.\r\nAborted[This script will find the latest Vivaldi binary package, download it and repackage it into Slackware format.](https://gist.github.com/ruario/dcbba70da900dac68fcc883542ff7ace "This script will find the latest Vivaldi binary package, download it and repackage it into Slackware format.")\r\n\n
\u3053\u3093\u306a\u611f\u3058\u3067\u30aa\u30fc\u30ca\u30fc\u3068\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u305f\u3089ok.
\n$ chmod 4755 ~/opt/vivaldi/opt/vivaldi/vivaldi-sandbox\r\n$ sudo chown root.root ~/opt/vivaldi/opt/vivaldi/vivaldi-sandbox\r\n\n\u82e5\u3057\u304f\u306f --no-sandbox option
$ ~/opt/vivaldi/opt/vivaldi/vivaldi --no-sandbox\r\n\n
\u3068\u308a\u3042\u3048\u305a\u9069\u5f53\u306a\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8(\u4eca\u56de\u306fVL\u30b4\u30b7\u30c3\u30af)\u3092\u5165\u308c\u3066\uff0cVivaldi\u3092\u518d\u8d77\u52d5\u3067\u76f4\u3063\u305f\uff0e(Dejavu\u304c\u5165\u3063\u3066\u3044\u305f\u306e\u3067\u6307\u5b9a\u3057\u3066\u307f\u305f\u3051\u3069\u76f4\u3089\u306a\u304b\u3063\u305f)
\n$ sudo apt install fonts-vlgothic\r\n\n
\n
\n#kagolug 2017.10\u3067\u544a\u77e5\u306e\u3042\u3063\u305f\u300cPython Boot Camp in \u9e7f\u5150\u5cf6\u300d\u3067\u4f7f\u3046\u300cPython Boot Camp\u30c6\u30ad\u30b9\u30c8\u300d\u3092\u898b\u308b\u3068Linux\u306fUbuntu 17.04 server\u304c\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u306a\u3063\u3066\u3044\u308b
\n\nPython Boot Camp Text \u2014 Python Boot Camp Text 2016.04.28 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\n
\n1.3.3. Linux \uff08Ubuntu Server\uff09 \u3067\u306e\u5834\u5408\r\n\u3053\u3053\u3067\u306fLinux\u3068\u3057\u3066Ubuntu 17.04\u306bPython3.6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\nLTS\u306eDesktop\u4f7f\u3044\u305f\u3044\u4eba\u3082\u5c45\u308b\u3060\u308d\u3046\u306a\u3068Ubuntu 16.04 LTS arm64\u3067\u4e00\u901a\u308a\u78ba\u8a8d\u3057\u3066\u307f\u305f
\n\u300c1.3.3. Linux \uff08Ubuntu Server\uff09 \u3067\u306e\u5834\u5408\u300d\u306ePython\u5c0e\u5165\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b3.5\u306b\u5909\u66f4
\n\n\n | \n
\u300c5.1.2. \u30d5\u30a1\u30a4\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\u300d\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u78ba\u8a8d\u524d\u306bflush\u3057\u306a\u3044\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u7a7a
\n\n\n | \n
\u300c5.1.5. \u8ffd\u8a18\u30e2\u30fc\u30c9\u3067\u306e\u66f8\u304d\u8fbc\u307f\u300d\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u78ba\u8a8d\u524d\u306bflush\u3057\u306a\u3044\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044
\n\n\n | \n
\u5f8c\u306f\u554f\u984c\u7121\u3055\u305d\u3046
\nDebian\u306e\u5834\u5408\u3082stable(stretch)\u3067\u306f\u540c\u3058\u3060\u3068\u601d\u3046\uff0ePython 3.6\u306ftesting(Buster)\u4ee5\u964d\u306b\u306a\u308b\u307f\u305f\u3044(\u672a\u78ba\u8a8d)
\n\nDebian — stretch \u306e python3.5 \u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u95a2\u3059\u308b\u8a73\u7d30\n
\n\nDebian — \u30d1\u30c3\u30b1\u30fc\u30b8\u691c\u7d22\u7d50\u679c — python3.6\n
\n\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306fBeautifulSoup\u307e\u3067\u3084\u308b\u306e\u3067\u4f8b\u3048\u3070calibr\u3067\u30cb\u30e5\u30fc\u30b9\u30b5\u30a4\u30c8\u3092\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3066Kindle\u306b\u81ea\u52d5\u8ee2\u9001\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u30ec\u30b7\u30d4\u3082\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u306d :)\n
\n\u3063\u3066\u3053\u3068\u3067Linux\u306ecli\u3067\u52d5\u304fPython\u88fd\u306espeedtest-cli\u3092\u3061\u3087\u3063\u3068\u8a66\u3057\u3066\u307f\u305f\uff0e
\nspeedtest.net\u3067\u306e\u56de\u7dda\u901f\u5ea6\u8a08\u6e2c\u3092cli\u3067\u884c\u3048\u307e\u3059\uff0epython\u88fd\u3067pip\u3068\u304b\u3067\u5404\u7a2e\u74b0\u5883\u306b\u5c0e\u5165\u53ef\u80fd\uff0e
\nDebian\u3060\u3068jessie\u4ee5\u964dall, Ubuntu\u3060\u306816.04LTS\u4ee5\u964dall\u306bpkg\u3082\u3042\u308b\u306e\u3067apt\u4e00\u767a\u3067\u5165\u308b\u3057\uff0cRaspberry Pi\u306a\u3069\u306eARM\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306a\u3093\u304b\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304d\u307e\u3057\u305f\uff0e
\n\nDebian — \u30d1\u30c3\u30b1\u30fc\u30b8\u691c\u7d22\u7d50\u679c — speedtest-cli\n
\n\nUbuntu \u2013 \u30d1\u30c3\u30b1\u30fc\u30b8\u691c\u7d22\u7d50\u679c — speedtest-cli\n
\n\u898f\u5b9a\u5024\u306e\u52d5\u4f5c\u306fip\u304b\u3089\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u62fe\u3063\u3066\u305d\u3053\u304b\u3089\u8fd1\u3044\u30b5\u30fc\u30d0\u30fc\u3067\u8a08\u6e2c\u3057\u305f\u7d50\u679c\u3092\u8fd4\u3059\u3088\u3046\u3067\u3059\uff0e
\n\u81ea\u5b85\u306eip\u30a2\u30c9\u30ec\u30b9\u3067\u306e\u81ea\u52d5\u5224\u5b9a\u3067\u306f\u9759\u5ca1\u306b\u306a\u3063\u3066\u305f\u306e\u3067\u624b\u52d5\u3067\u8a08\u6e2c\u30b5\u30fc\u30d0\u3092\u5909\u66f4\u3057\u3066\u9e7f\u5150\u5cf6\u3068\u6771\u4eac\u3092\u8a66\u3057\u307e\u3057\u305f\uff0e
help
\n\n\n | \n
\u898f\u5b9a\u5024\u3067\u306f\u81ea\u5b85\u306f\u9759\u5ca1\u306b\u306a\u3063\u3066\u3044\u3066\u9759\u5ca1\u30b5\u30fc\u30d0\u3067\u8a08\u6e2c\u3059\u308b(\u5b9f\u969b\u306f\u9e7f\u5150\u5cf6)
\n\n\n | \n
\u65e5\u672c\u306e\u30b5\u30fc\u30d0\u3092\u78ba\u8a8d\u3059\u308b
\n\n\n | \n
\u9e7f\u5150\u5cf6\u30b5\u30fc\u30d0\u3067\u8a08\u6e2c\u3057\u3066\u307f\u308b
\n\n\n | \n
\u6771\u4eac\u3092–simple option\u3067\u8a08\u6e2c\u3057\u3066\u307f\u308b
\n\n\n | \n
\u30b5\u30fc\u30d0\u306e\u6570\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b
\n\n\n | \n
speedtest\u306fJavaScript\u3084Adobe Flash\u304c\u5fc5\u8981\u306a\u3053\u3068\u304c\u591a\u304f\u3066\u30d8\u30c3\u30c9\u30ec\u30b9\u74b0\u5883\u306a\u3069\u3067\u306f\u9762\u5012\u3067\u3057\u305f\uff0e
\niperf\u3084netcat\u306a\u3093\u304b\u306f\u304a\u624b\u8efd\u3067\u3059\u304c\uff0c\u901f\u5ea6\u30c6\u30b9\u30c8\u5148\u306e\u30b5\u30fc\u30d0\u306e\u7528\u610f\u304c\u5fc5\u8981\u3067\u3059\uff0e
\u4eca\u56de\u306espeedtest-cli\u306f\u304a\u624b\u8efd\u306b\u5c0e\u5165\u3067\u304d\u3066\u4e16\u754c\u5404\u5730\u306e\u30b5\u30fc\u30d0\u76f8\u624b\u306bcli\u3067speed test\u3082\u51fa\u6765\u3066\u3044\u3044\u611f\u3058\u3067\u3059\uff0e
\n\nEDIT: \u73fe\u5728\u306f\u6b21\u306e\u8a18\u4e8b\u306e\u624b\u9806\u306e\u307b\u3046\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059 ->\u00a0Debian, Ubuntu \u3067 \u4e0a\u6d41\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u501f\u308a\u3066\u304f\u308b \u2013 matoken’s meme
\n\n
\u6700\u8fd1Ubuntu 16.04 aarch64\u306ei3 wm\u306b\u30e2\u30cb\u30bf\u3068\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u7e4b\u3044\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5229\u7528\u3092\u8a66\u3057\u3066\u3044\u307e\u3059\uff0e\u3057\u304b\u3057\uff0c\u65e5\u672c\u8a9e\u5165\u529b\u306e\u305f\u3081\u306emozc\u306e\u30d0\u30a4\u30ca\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0e\u78ba\u8a8d\u3059\u308b\u3068\uff0cxenial\u304b\u3089artful\u3067\u306fi386/amd64/armhf\u306e\u307f\u306e\u5bfe\u5fdc\uff0e
\n\nDebian\u3067\u306farmel\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u304c\uff0carm64\u306f\u3084\u3063\u3071\u308a\u3042\u308a\u307e\u305b\u3093\uff0e
\n\narmhf/armel\u3067\u52d5\u3044\u3066\u3044\u308b\u306a\u3089arm64\u3082\u3042\u307e\u308a\u60a9\u307e\u305a\u30bd\u30fc\u30b9\u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089build\u3067\u304d\u308b\u306e\u3067\u306f\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\n\uff03dpkg \u2013add-archtecture armhf\u3057\u3066Multiarch\u306b\u3057\u3066armhf\u306eMozc\u3092\u4f7f\u3046\u3068\u3044\u3046\u624b\u3067\u3082\u884c\u3051\u305d\u3046\u306a\u6c17\u306f\u3059\u308b\uff0e(\u672a\u78ba\u8a8d)
\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5c0e\u5165\u3068\uff0c\u30bd\u30fc\u30b9\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5165\u624b\u3092\u884c\u3044\u307e\u3059\uff0e
\n$ sudo apt update\r\n$ sudo apt upgrade\r\n$ sudo apt install build-essential devscripts\r\n$ sudo apt build-dep fcitx-mozc\r\n$ apt source fcitx-mozc\r\n\n\u203b\u3082\u3057\u30bd\u30fc\u30b9\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306fsource.list\u306bdeb-src\u306e\u884c\u304c\u3042\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e\u7121\u3051\u308c\u3070apt edit-sources\u30b3\u30de\u30f3\u30c9\u3067/etc/apt/source.list\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066deb-src\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff0e\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304c\u53c2\u8003\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\uff0e
\n\n\u6b21\u306b\u30bd\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u964d\u308a\u3066\uff0cdebian/control\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\uff0c\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306eArchtecture\u306barm64\u3092\u767b\u9332\u3057\u307e\u3059\uff0emozc-data\u306fall\u306a\u306e\u3067\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\uff08\u306f\u3058\u3081arm64\u3092aarch64\u306b\u3057\u3066\u3046\u307e\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u3067\u3059orz\uff09
\n$ cd mozc-2.17.2116.102+gitfd0f5b34+dfsg\r\n$ cp debian/control debian/control.org\r\n$ vi debian/control\r\n$ diff -u debian/control.org debian/control\r\n--- debian/control.org 2017-05-30 17:06:44.000000000 +0000 \r\n+++ debian/control 2017-05-30 17:07:19.000000000 +0000 \r\n@@ -28,7 +28,7 @@ \r\n This open-source project originates from Google Japanese Input.\r\n mozc-data \r\n Package: ibus-mozc \r\n-Architecture: i386 amd64 armel armhf \r\n+Architecture: i386 amd64 armel armhf arm64 \r\n Depends: ${misc:Depends}, ${shlibs:Depends}, mozc-data, \r\n ibus (>= 1.2), mozc-server (= ${binary:Version}), tegaki-zinnia-japanese\r\n Recommends: mozc-utils-gui (= ${binary:Version}) dpkg-buildpackage\r\n@@ -45,7 +45,7 @@ \r\n This open-source project originates from Google Japanese Input.\r\n mozc-data \r\n Package: fcitx-mozc \r\n-Architecture: i386 amd64 armel armhf \r\n+Architecture: i386 amd64 armel armhf arm64 \r\n Depends: ${misc:Depends}, ${shlibs:Depends}, fcitx-bin, fcitx-data, fcitx-modules,\r\n mozc-server (= ${binary:Version}), mozc-data, tegaki-zinnia-japanese\r\n Recommends: fcitx, mozc-utils-gui (= ${binary:Version}) \r\n@@ -64,7 +64,7 @@ \r\n fcitx-mozc provides client part of the Mozc input method. \r\n\r\n Package: emacs-mozc \r\n-Architecture: i386 amd64 armel armhf \r\n+Architecture: i386 amd64 armel armhf arm64 \r\n Depends: ${misc:Depends}, emacs | emacs23 | emacs24, emacs-mozc-bin (= ${binary:Version})\r\n Conflicts: emacsen-common (<< 2.0.0) \r\n Description: Mozc for Emacs \r\n@@ -76,7 +76,7 @@ \r\n This open-source project originates from Google Japanese Input.\r\n\r\n Package: emacs-mozc-bin \r\n-Architecture: i386 amd64 armel armhf \r\n+Architecture: i386 amd64 armel armhf arm64 \r\n Depends: ${misc:Depends}, ${shlibs:Depends}, mozc-server (= ${binary:Version})\r\n Description: Helper module for emacs-mozc \r\n Mozc is a Japanese Input Method Editor (IME) designed for multi-platform\r\n@@ -87,7 +87,7 @@ \r\n This open-source project originates from Google Japanese Input.\r\n\r\n Package: mozc-server \r\n-Architecture: i386 amd64 armel armhf \r\n+Architecture: i386 amd64 armel armhf arm64 \r\n Depends: ${misc:Depends}, ${shlibs:Depends} \r\n Multi-Arch: foreign \r\n Description: Server of the Mozc input method \r\n@@ -99,7 +99,7 @@ \r\n This open-source project originates from Google Japanese Input.\r\n\r\n Package: mozc-utils-gui \r\n-Architecture: i386 amd64 armel armhf \r\n+Architecture: i386 amd64 armel armhf arm64 \r\n Depends: ${misc:Depends}, ${shlibs:Depends}, mozc-data \r\n Recommends: mozc-server (= ${binary:Version}) \r\n Suggests: ibus-qt\r\n\n
\u6b21\u306bdpkg-buildpackage\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e\u624b\u5143\u306e\u30de\u30b7\u30f3\u3067\u306f\u3061\u3087\u3046\u30691\u6642\u9593\u307b\u3069\u3067\u7d42\u4e86\u3057\u307e\u3057\u305f\uff0e\uff08\u3042\u3068\u3067-j4\u3068\u304b\u3059\u308b\u306830\u5206\u307b\u3069\u306b\uff09
\n$ dpkg-buildpackage -us -uc\r\n$ ls ../*.debmozc-data\r\n../emacs-mozc-bin_2.17.211archtecture6.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb ../ibus-mozc_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb ../mozc-utils-gui_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb\r\n../emacs-mozc_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb ../mozc-data_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_all.deb\r\n../fcitx-mozc_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb ../mozc-server_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb\r\n\n
\u4eca\u56de\u306ffcitx\u3092\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067\uff0cfcitx-mozc\u3092\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\u5c0e\u5165\u3057\u305f\u5f8c\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u306a\u304a\u3057\u3066\uff0cfcitx-config-gtk\u3092\u8d77\u52d5\u3059\u308b\u3068Mozc\u304c\u767b\u9332\u3055\u308c\u3066\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e :)
\n$ sudo apt-get install ../mozc-server_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb ../mozc-data_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_all.deb ../fcitx-mozc_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb ../mozc-utils-gui_2.17.2116.102+gitfd0f5b34+dfsg-1ubuntu1.1_arm64.deb \r\n\n
\u91cd\u304b\u3063\u305f\u308a\u4e0d\u5177\u5408\u304c\u51fa\u308b\u3088\u3046\u306a\u3089skk\u3042\u305f\u308a\u306b\u3057\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\uff0c\u73fe\u5728\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30921\u9031\u9593\u307b\u3069\u5229\u7528\u3057\u3066\u7279\u306b\u554f\u984c\u306a\u304f\u4f7f\u3048\u3066\u3044\u307e\u3059\uff0e
\n\u3042\u307e\u308a\u63a8\u5968\u3057\u307e\u305b\u3093\u304c\uff0c\u79c1\u306e\u4f5c\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3057\u3070\u3089\u304f\u4ee5\u4e0b\u306b\u304a\u3044\u3066\u304a\u304d\u307e\u3059\uff0e\u5fc5\u8981\u306a\u65b9\u306f\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e\uff08\u4e0a\u306e\u624b\u9806\u306b + dhc -i + dpkg-buildpackage -j4\u3057\u305f\u3082\u306e\uff09
\n\u3068\u3053\u308d\u3067\u3053\u308c\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u306a\uff0eDebian\u3067\u3082\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u30d0\u30b0\u30ec\u30dd\u3067ok?\u305d\u3057\u3066Ubuntu\u306fSync mozc from Debian unstable\u3092\u5f85\u3064\u611f\u3058?
\n$ sudo cat << __EOF__ > /usr/share/lightdm/lightdm.conf.d/10_my.conf\n[SeatDefaults]\n# Hiding the user list.\ngreeter-hide-users=true\n__EOF__\n$ cat /usr/share/lightdm/lightdm.conf.d/10_my.conf \n[SeatDefaults]\n# Hiding the user list.\ngreeter-hide-users=true\n$ sudo service lightdm restart\n\n
\u73fe\u5728Podcast\u3092podget\u3067\u53d6\u5f97\u3057\u3066\uff0c
2 * * * * podget -s\r\n\n
\u305d\u306e\u4e2d\u306e\u65b0\u3057\u3044\u3082\u306e\u3060\u3051\u3092ownCloud\u306b\u30b3\u30d4\u30fc\u3057\u3066Android\u3084PC\u3067\u8996\u8074\u3057\u3066\u3044\u307e\u3059\uff0e
\n10 * * * * cd ~mk/POD ; find . -mmin -2880 -type f | egrep -v 'm3u$|LOG\\/' | rsync --delete --progress --files-from=- ~mk/POD/ /var/www/owncloud/data/matoken/files/podcast/; find /var/www/owncloud/data/matoken/files/podcast/ -ctime +7 -type f -print0 | xargs -0 rm ; find /var/www/owncloud/data/matoken/files/podcast/news/ -mmin +1`\r\n\n
\u4eca\u65e5\u805e\u3053\u3046\u3068\u3057\u305f\u3089ownCloud\u5185\u306ePodcast\u304c0\u500b\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u5fc3\u5f53\u305f\u308a\u306fUbuntu 14.04 LTS\u304b\u3089Ubuntu 16.04 LTS\u3078\u306edist-upgrade\uff0eownCloud\u306f\u4e0a\u3052\u308b\u524d\u3068\u5f8c\u306b\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u305f\u3093\u3067\u4ed6\u306e\u90e8\u5206\u304c\u602a\u3057\u3044\u3068\u30ed\u30b0\u3092\u898b\u308b\u3068podget\u304c\u30a8\u30e9\u30fc\u3092\u5410\u3044\u3066\u3044\u307e\u3059\uff0e\u3053\u3093\u306a\u611f\u3058\uff0e
$ podget -s\r\n/home/mk/.podget/podgetrc cannot be verified to be compatible with this version of podget.\r\n\r\nIt is missing the version line that is included in configuration files created by newer versions of podget.\r\n\r\nPlease create a new configuration file by running 'podget --create-config <FILENAME>',\r\nand then converting your old configuration to the new format. Then move the new file\r\nin place of the old and podget will work as it used to.\r\n\n
\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u308b\u307f\u305f\u3044\u3067\u3059\u306d\uff0e\u67af\u308c\u3066\u308b\u306e\u304b\u3068\u601d\u3063\u3066\u305f\u3089\u7d50\u69cb\u5909\u5316\u304c\u3042\u3063\u305f\u3088\u3046\u3067\u3059\uff0e
\n\u3061\u306a\u307f\u306b\u66f4\u65b0\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304cpodget 0.6.9-1\u3067\u73fe\u5728\u306fpodget 0.7.9-1\u3067\u3057\u305f\uff0e
\u3066\u3053\u3068\u3067\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u96db\u5f62\u3092\u5225\u306e\u5834\u6240\u306b\u66f8\u304d\u51fa\u3057\u3066\uff0c
\n$ podget --create-config /tmp/podgetrc\r\npodget\r\n\r\nConfiguration filename specified by -c or --create-config violates the following rules...\r\n\r\nSuggestion(s):\r\n 1. Filenames should not include any directory configuration.\r\n Remove the directory configuration.\r\n If you need to specify a directory other than the default,\r\n use the -d or --dir_config command line options.\r\n\r\nClosing session.\r\n\n
\u2026\u2026\uff0e--dir_config\u4ed8\u3051\u3066\u518d\u5ea6\uff0e
$ podget --dir_config /tmp --create-config podgetrc\r\npodget\r\n Installing default user configuration file in /tmp/podgetrc\r\n Installing default server list configuration.\r\n\r\nClosing session.\r\n\n
https://gist.github.com/1b5fba2e949409a87e1955e0c779b057
\ndiff\u3092\u53d6\u3063\u3066\u307f\u308b\u3068\u8a2d\u5b9a\u9805\u76ee\u81ea\u4f53\u306f\u305d\u3046\u5909\u308f\u3063\u3066\u306a\u3044\u611f\u3058\u3067\u3059\u304c\uff0c\u8a2d\u5b9a\u5024\u304c\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u304c\u5909\u308f\u3063\u305f\u308a\u3057\u3066\u3044\u307e\u3059\uff0e
\n\u6bd4\u8f03\u3057\u306a\u304c\u3089\u66f8\u304d\u63db\u3048\u3066\u53e9\u304f\u3068\u52d5\u304d\u59cb\u3081\u305f\u3088\u3046\u3067\u3059\uff0e
$ podget\r\npodget\r\n\r\n\r\nSession directory not found, creating\r\nSession file not found. Creating podget.18364 .\r\n\r\n-------------------------------------------------\r\nCategory: tech Name: \u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba\r\n\r\nDownloading feed index from http://feeds.feedburner.com/weblogs/csc\r\n2017-04-06 06:13:13 URL:http://feeds.feedburner.com/weblogs/csc [46549] -> "-" [1]\r\n\r\nDownloading csc_2017_design2.mp3 from http://onosendai.jp/csc\r\n2017-04-06 06:20:43 URL:http://onosendai.jp/csc/csc_2017_design2.mp3 [51781411/51781411] -> "/home/mk/POD/tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design2.mp3" [1]\r\nPLAYLIST: Adding tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design2.mp3 to /home/mk/POD/New-2017-04-06.m3u\r\n\r\nDownloading csc_2017_design1.mp3 from http://onosendai.jp/csc\r\n2017-04-06 06:25:04 URL:http://onosendai.jp/csc/csc_2017_design1.mp3 [37304885/37304885] -> "/home/mk/POD/tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design1.mp3" [1]\r\nPLAYLIST: Adding tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design1.mp3 to /home/mk/POD/New-2017-04-06.m3u\r\n :\r\n\n
\u3057\u304b\u3057\uff0c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6e08\u307f\u306e\u30d5\u30a1\u30a4\u30eb\u3082\u53d6\u5f97\u3057\u3066\u3044\u308b\u3088\u3046\u306a?
\n\u65b0\u898f\u306e\u307f\u306e\u8a2d\u5b9a\u306b\u3057\u3066\u3044\u308b\u3064\u3082\u308a\u306a\u3093\u3067\u3059\u304c\uff0c\u521d\u56de\u306f\u8210\u3081\u3061\u3083\u3046\u306e\u304b\u306a?2\u5ea6\u76ee\u306e\u3068\u304d\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\uff0e
# Force\r\n# 0 == Only download new material.\r\n# 1 == Force download all items even those you've downloaded before.\r\nFORCE=0\r\n\n
\u3068\u308a\u3042\u3048\u305a\u7d42\u308f\u308b\u307e\u3067\u306fsoundcloud\u8fba\u308a\u3067\u805e\u3044\u3066\u307e\u3059\uff0e
\n\u305d\u306e\u5f8c2\u56de\u76ee\u306f\u3061\u3083\u3093\u3068\u671f\u5f85\u901a\u308a\u306e\u52d5\u4f5c\u3059\u308b\u306e\u3092\u78ba\u8a8d\u3057\u305f\u306e\u3067crontab\u306b\u767b\u9332\u3057\u76f4\u3057\u307e\u3057\u305f\uff0e
\n\n", "content_text": "\u73fe\u5728Podcast\u3092podget\u3067\u53d6\u5f97\u3057\u3066\uff0c\n\n2 * * * * podget -s\r\n\n\n\u305d\u306e\u4e2d\u306e\u65b0\u3057\u3044\u3082\u306e\u3060\u3051\u3092ownCloud\u306b\u30b3\u30d4\u30fc\u3057\u3066Android\u3084PC\u3067\u8996\u8074\u3057\u3066\u3044\u307e\u3059\uff0e\n\n10 * * * * cd ~mk/POD ; find . -mmin -2880 -type f | egrep -v 'm3u$|LOG\\/' | rsync --delete --progress --files-from=- ~mk/POD/ /var/www/owncloud/data/matoken/files/podcast/; find /var/www/owncloud/data/matoken/files/podcast/ -ctime +7 -type f -print0 | xargs -0 rm ; find /var/www/owncloud/data/matoken/files/podcast/news/ -mmin +1`\r\n\n\n\u4eca\u65e5\u805e\u3053\u3046\u3068\u3057\u305f\u3089ownCloud\u5185\u306ePodcast\u304c0\u500b\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u5fc3\u5f53\u305f\u308a\u306fUbuntu 14.04 LTS\u304b\u3089Ubuntu 16.04 LTS\u3078\u306edist-upgrade\uff0eownCloud\u306f\u4e0a\u3052\u308b\u524d\u3068\u5f8c\u306b\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u305f\u3093\u3067\u4ed6\u306e\u90e8\u5206\u304c\u602a\u3057\u3044\u3068\u30ed\u30b0\u3092\u898b\u308b\u3068podget\u304c\u30a8\u30e9\u30fc\u3092\u5410\u3044\u3066\u3044\u307e\u3059\uff0e\u3053\u3093\u306a\u611f\u3058\uff0e\n\n$ podget -s\r\n/home/mk/.podget/podgetrc cannot be verified to be compatible with this version of podget.\r\n\r\nIt is missing the version line that is included in configuration files created by newer versions of podget.\r\n\r\nPlease create a new configuration file by running 'podget --create-config <FILENAME>',\r\nand then converting your old configuration to the new format. Then move the new file\r\nin place of the old and podget will work as it used to.\r\n\n\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u308b\u307f\u305f\u3044\u3067\u3059\u306d\uff0e\u67af\u308c\u3066\u308b\u306e\u304b\u3068\u601d\u3063\u3066\u305f\u3089\u7d50\u69cb\u5909\u5316\u304c\u3042\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\n\u3061\u306a\u307f\u306b\u66f4\u65b0\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304cpodget 0.6.9-1\u3067\u73fe\u5728\u306fpodget 0.7.9-1\u3067\u3057\u305f\uff0e\n\u3066\u3053\u3068\u3067\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u96db\u5f62\u3092\u5225\u306e\u5834\u6240\u306b\u66f8\u304d\u51fa\u3057\u3066\uff0c\n\n$ podget --create-config /tmp/podgetrc\r\npodget\r\n\r\nConfiguration filename specified by -c or --create-config violates the following rules...\r\n\r\nSuggestion(s):\r\n 1. Filenames should not include any directory configuration.\r\n Remove the directory configuration.\r\n If you need to specify a directory other than the default,\r\n use the -d or --dir_config command line options.\r\n\r\nClosing session.\r\n\n\n\u2026\u2026\uff0e--dir_config\u4ed8\u3051\u3066\u518d\u5ea6\uff0e\n\n$ podget --dir_config /tmp --create-config podgetrc\r\npodget\r\n Installing default user configuration file in /tmp/podgetrc\r\n Installing default server list configuration.\r\n\r\nClosing session.\r\n\n\nhttps://gist.github.com/1b5fba2e949409a87e1955e0c779b057\ndiff\u3092\u53d6\u3063\u3066\u307f\u308b\u3068\u8a2d\u5b9a\u9805\u76ee\u81ea\u4f53\u306f\u305d\u3046\u5909\u308f\u3063\u3066\u306a\u3044\u611f\u3058\u3067\u3059\u304c\uff0c\u8a2d\u5b9a\u5024\u304c\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u304c\u5909\u308f\u3063\u305f\u308a\u3057\u3066\u3044\u307e\u3059\uff0e\n\u6bd4\u8f03\u3057\u306a\u304c\u3089\u66f8\u304d\u63db\u3048\u3066\u53e9\u304f\u3068\u52d5\u304d\u59cb\u3081\u305f\u3088\u3046\u3067\u3059\uff0e\n\n$ podget\r\npodget\r\n\r\n\r\nSession directory not found, creating\r\nSession file not found. Creating podget.18364 .\r\n\r\n-------------------------------------------------\r\nCategory: tech Name: \u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba\r\n\r\nDownloading feed index from http://feeds.feedburner.com/weblogs/csc\r\n2017-04-06 06:13:13 URL:http://feeds.feedburner.com/weblogs/csc [46549] -> "-" [1]\r\n\r\nDownloading csc_2017_design2.mp3 from http://onosendai.jp/csc\r\n2017-04-06 06:20:43 URL:http://onosendai.jp/csc/csc_2017_design2.mp3 [51781411/51781411] -> "/home/mk/POD/tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design2.mp3" [1]\r\nPLAYLIST: Adding tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design2.mp3 to /home/mk/POD/New-2017-04-06.m3u\r\n\r\nDownloading csc_2017_design1.mp3 from http://onosendai.jp/csc\r\n2017-04-06 06:25:04 URL:http://onosendai.jp/csc/csc_2017_design1.mp3 [37304885/37304885] -> "/home/mk/POD/tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design1.mp3" [1]\r\nPLAYLIST: Adding tech/\u96fb\u8133\u7a7a\u9593\u30ab\u30a6\u30dc\u30fc\u30a4\u30ba/csc_2017_design1.mp3 to /home/mk/POD/New-2017-04-06.m3u\r\n :\r\n\n\n\u3057\u304b\u3057\uff0c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6e08\u307f\u306e\u30d5\u30a1\u30a4\u30eb\u3082\u53d6\u5f97\u3057\u3066\u3044\u308b\u3088\u3046\u306a?\n\u65b0\u898f\u306e\u307f\u306e\u8a2d\u5b9a\u306b\u3057\u3066\u3044\u308b\u3064\u3082\u308a\u306a\u3093\u3067\u3059\u304c\uff0c\u521d\u56de\u306f\u8210\u3081\u3061\u3083\u3046\u306e\u304b\u306a?2\u5ea6\u76ee\u306e\u3068\u304d\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\uff0e\n\n# Force\r\n# 0 == Only download new material.\r\n# 1 == Force download all items even those you've downloaded before.\r\nFORCE=0\r\n\n\n\u3068\u308a\u3042\u3048\u305a\u7d42\u308f\u308b\u307e\u3067\u306fsoundcloud\u8fba\u308a\u3067\u805e\u3044\u3066\u307e\u3059\uff0e\n\u305d\u306e\u5f8c2\u56de\u76ee\u306f\u3061\u3083\u3093\u3068\u671f\u5f85\u901a\u308a\u306e\u52d5\u4f5c\u3059\u308b\u306e\u3092\u78ba\u8a8d\u3057\u305f\u306e\u3067crontab\u306b\u767b\u9332\u3057\u76f4\u3057\u307e\u3057\u305f\uff0e", "date_published": "2017-04-06T06:49:37+09:00", "date_modified": "2017-04-07T00:40:33+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "podcast", "podget", "Ubuntu", "Ubuntu 16.04", "Linux", "xenial(16.04)" ], "attachments": [ { "url": "http://onosendai.jp/csc/csc_2017_design2.mp3", "mime_type": "audio/mpeg", "size_in_bytes": 51781411 }, { "url": "http://onosendai.jp/csc/csc_2017_design1.mp3", "mime_type": "audio/mpeg", "size_in_bytes": 37304885 }, { "url": "http://onosendai.jp/csc/csc_2017_design2.mp3", "mime_type": "audio/mpeg", "size_in_bytes": 51781411 }, { "url": "http://onosendai.jp/csc/csc_2017_design1.mp3", "mime_type": "audio/mpeg", "size_in_bytes": 37304885 } ] }, { "id": "http://matoken.org/blog/?p=1402", "url": "https://matoken.org/blog/2016/09/16/to-disable-the-functionkey-in-byobu-screen/", "title": "byobu+screen\u3067functionkey\u3092\u7121\u52b9\u306b\u3059\u308b", "content_html": "\u6a5f\u80fd\u899a\u3048\u3066\u306a\u3044\u3057\u9060\u3044\u3057\u305f\u307e\u306b\u9593\u9055\u3063\u3066\u62bc\u3057\u3066\u6df7\u4e71\u3057\u305f\u308a\u3059\u308b\u306e\u3067\u7121\u52b9\u306b\u3057\u307e\u3057\u305f\uff0e
\nDebian stretch amd64, Ubuntu 16.04 LTS amd64\u3067\u78ba\u8a8d\uff0e
$ vi ~/.byobu/keybindings
\u3057\u3066
\n\n
\u306e\u6b21\u306e\u884c\u982d\u3067 i \u3057\u3066\u7de8\u96c6\u30e2\u30fc\u30c9\u306b\u3057\u305f\u5f8c
\nCtrl+a !(a\u306f\u8a2d\u5b9a\u3057\u3066\u3042\u308bescape key)\u3059\u308b\uff0e
\n\u3059\u308b\u3068\u3053\u3093\u306a\u306e\u304c\u51fa\u3066\u304f\u308b\u306e\u3067\uff0c
\n
\u982d\u306e : \u3092\u6d88\u3057\u3066
\n\n
\u3092\u66f8\u3044\u3066\u304a\u304f
\n\u4fdd\u5b58\u3057\u3066\u8d77\u52d5\u3057\u306a\u304a\u3057\u3066\u53cd\u6620\ufeff\uff0e
\n\uff03vi\u3067\u3042\u308b\u5fc5\u7136\u6027\u306f\u306a\u3044\u306e\u3067\u304a\u597d\u304d\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3069\u3046\u305e\uff0e
\uff03tmux\u306e\u5834\u5408\u306f\u3053\u3063\u3061~/.byobu/keybindings.tmux\u306b\u306a\u308b\u306e\u304b\u306a?(\u305d\u308c\u3068\u3082 byobu-select-backend \u3067\u5207\u308a\u66ff\u3048\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u5165\u308c\u66ff\u308f\u308b?)
\u898b\u3064\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f
\n\nDebian stretch amd64, Ubuntu 16.04 LTS amd64\u3067\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\uff0e
\n$HOME\u4ee5\u4e0b\u306bPATH\u901a\u3057\u3066npm\u3067\u5c0e\u5165\u3057\u3066\u3044\u307e\u3059\uff0e/usr/local\u4ee5\u4e0b\u3067\u826f\u3051\u308c\u3070npm install castnow -g\u3060\u3051\u3067\u3044\u3044\u304b\u3082\uff0e
\n
\u5165\u308a\u307e\u3057\u305f\u304cChromecast\u304c\u307f\u3042\u305f\u3089\u306a\u3044?
\n\n
\u540d\u524d\u89e3\u6c7a\u304c\u51fa\u6765\u306a\u304b\u3063\u305f\u3088\u3046\u3067ip\u3092\u6307\u5b9a\u3059\u308b\u3068cast\u51fa\u6765\u307e\u3057\u305f\uff0e\u5225\u306e\u30de\u30b7\u30f3\u3067\u306f\u901a\u3063\u305f\u306e\u3067\u3053\u306e\u30de\u30b7\u30f3\u304c\u304a\u304b\u3057\u3044\u3088\u3046\u3067\u3059\uff0e
\n\n
\u30d1\u30a4\u30d7\u3082\u4f7f\u3048\u308b\u306e\u3067\u8272\u3005\u5fdc\u7528\u3067\u304d\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\uff0e
\n\uff08\u6700\u8fd1Chromium\u304camd64/i386\u3057\u304b\u306a\u304f\u306a\u3063\u305f\u3088\u3046\u3067\u3059\u304c\uff0c\u3053\u308c\u3092\u4f7f\u3048\u3070\u4ed6\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3067\u3082\u30b9\u30af\u30ea\u30fc\u30f3\u30ad\u30e3\u30b9\u30c8\u3082\u3067\u304d\u305d\u3046?\uff09