{"id":9768,"date":"2020-11-15T14:12:59","date_gmt":"2020-11-15T14:12:59","guid":{"rendered":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=9768"},"modified":"2024-10-31T03:02:34","modified_gmt":"2024-10-31T03:02:34","slug":"20201115-%e4%bd%9c%e6%a5%ad%e3%83%a1%e3%83%a2-kanaike-%e3%82%92-xubuntu-16-04-%e3%81%8b%e3%82%89-ubuntu-20-04-%e3%81%b8%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=9768","title":{"rendered":"(20201115 \u4f5c\u696d\u30e1\u30e2) kanaike \u3092 xubuntu 16.04 \u304b\u3089 ubuntu 20.04 \u3078\u66f4\u65b0"},"content":{"rendered":"<p>\u7814\u7a76\u5ba4\u306e\u30d6\u30ed\u30b0\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306e OS \u66f4\u65b0\u306f\u4f55\u3068\u304b\u7d42\u4e86\u3057\u307e\u3057\u305f\uff08<a href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=9595\">\u4ee5\u524d\u306e\u6295\u7a3f<\/a>\uff09\u3002\u305d\u306e\u969b\uff0capache2\uff0cMySQL\uff0cphpmyadmin \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u4ef6\u306f\u66f8\u304d\u307e\u3057\u305f\u3002\u4eca\u5ea6\u306f e-Learning \u306e\u63a1\u70b9\u3092\u62c5\u5f53\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306e\u756a\u3067\u3059\u3002\u5148\u306e\u6295\u7a3f\u4ee5\u964d\u306e\u3053\u3068\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>e-Learning \u306e\u6559\u6750\u3067\uff0c\u6570\u5f0f\u306e\u81ea\u52d5\u63a1\u70b9\u3092\u3059\u308b\u305f\u3081\u306e\u6e96\u5099\u306f\uff0c<a href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=9703\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u306b\u66f8\u304d\u307e\u3057\u305f\u3002STACK 3.3.3 \u3092\u4f7f\u3063\u305f\u53e4\u3044\u30b3\u30fc\u30c9\u306f\uff0c\u4eca\u56de\u3082\u305d\u306e\u307e\u307e\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><strong>https \u306e\u8a2d\u5b9a<\/strong><\/p>\n<p><a href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=5270\">\u53e4\u3044\u8a18\u4e8b<\/a>\u3092\u898b\u306a\u304c\u3089\u4f5c\u696d\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">sudo apt install openssl\r\n<\/code><\/pre>\n<p>openssl \u306f\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u3002\u6b21\u306b https \u3092\u6709\u52b9\u5316\u3059\u308b\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">$ sudo a2enmod ssl\r\nConsidering dependency setenvif for ssl:\r\nModule setenvif already enabled\r\nConsidering dependency mime for ssl:\r\nModule mime already enabled\r\nConsidering dependency socache_shmcb for ssl:\r\nEnabling module socache_shmcb.\r\nEnabling module ssl.\r\nSee \/usr\/share\/doc\/apache2\/README.Debian.gz on how to configure SSL and create self-signed certificates.\r\nTo activate the new configuration, you need to run:\r\n  systemctl restart apache2<\/code><\/pre>\n<p>\u6b21\u306e default-ssl.conf \u306f \/etc\/apache2\/sites-available \u306b\u3042\u308b\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u5408\u308f\u305b\u308b\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">$ sudo a2ensite default-ssl.conf\r\nEnabling site default-ssl.\r\nTo activate the new configuration, you need to run:\r\n  systemctl reload apache2<\/code><\/pre>\n<p>\u3053\u3053\u3067\u3001apache2 \u518d\u8d77\u52d5\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">$ sudo \/etc\/init.d\/apache2 restart\r\nRestarting apache2 (via systemctl): apache2.service.<\/code><\/pre>\n<p>\u3042\u3068\u306f\u3001\u8a8d\u8a3c\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u7f6e\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u5b9f\u969b\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u7f6e\u3059\u308b\u3068\u304d\u306b\u3084\u308a\u307e\u3059\u3002<\/p>\n<p><strong>apache \u3068 php \u306e\u9023\u643a\uff08\u65e5\u672c\u8a9e\u306e\u5229\u7528\uff09<\/strong><\/p>\n<p>maxima \u306e\u51fa\u529b\u3092 php \u3067\u53d7\u3051\u3066\uff0c\u5229\u7528\u3059\u308b\u5834\u5408\uff0cphp \u304capache \u4e0a\u3067\u52d5\u3044\u3066\u3044\u308b\u5834\u5408\u306b\u306f\uff0c\u65e5\u672c\u8a9e\u3092\u6271\u3046\u5834\u5408\u306b\u5fc5\u8981\u3068\u306a\u308b\u8a2d\u5b9a\u304c\u3042\u308a\u307e\u3057\u305f\u3002passthru \u306e\u51fa\u529b\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u8fd4\u3059\u30b3\u30fc\u30c9\u3067\u65e5\u672c\u8a9e\u306e\u51fa\u529b\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u7aef\u672b\u3067 maxima \u3092\u8d77\u52d5\u3057\u305f\u5834\u5408\u306b\u306f\u65e5\u672c\u8a9e\u306e\u51fa\u529b\u304c\u7aef\u672b\u4e0a\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3057\uff0c\u307e\u305f\u305d\u308c\u3092\u7aef\u672b\u3067 php \u304b\u3089\u547c\u3073\u51fa\u3059\u3088\u3046\u306a php \u30b3\u30fc\u30c9\u3067\u3082 maxima \u306f\u65e5\u672c\u8a9e\u3092\u3061\u3083\u3093\u3068\u51fa\u529b\u3057\u307e\u3059\u3002\u305f\u3060\u540c\u3058 php \u30b3\u30fc\u30c9\u3092 apache \u3068\u9023\u52d5\u3055\u305b\u308b\u3068\uff0c\u65e5\u672c\u8a9e\u304c\u51fa\u529b\u3067\u304d\u307e\u305b\u3093\u3002\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u3057\u3066\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul><a href=\"https:\/\/blog.myntinc.com\/2017\/10\/phpexec.html\">PHP\u3067exec\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u6642\u306b\u5168\u89d2\u6587\u5b57\u5217\u304c\u3042\u308b\u3068\u5b9f\u884c\u3067\u304d\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5<\/a><\/ul>\n<p>\u4f5c\u696d\u3092\u8a18\u9332\u3057\u307e\u3059\u3002\/etc\/apache2\/envvars \u306b\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">vi \/etc\/apache2\/envvars\r\n--\r\n# export LANG=C \uff08\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\uff09\r\nexport LANG=ja_JP.UTF-8\u3000\uff08\u8ffd\u8a18\uff09<\/code><\/pre>\n<p><strong>php \u306e\u6700\u5927\u30e1\u30e2\u30ea<\/strong><\/p>\n<p>\u4ee5\u524d\u8a18\u4e8b\u306b\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u52d5\u753b\u3092base64\u304b\u3089\u30d0\u30a4\u30ca\u30ea\u306b\u623b\u3059\u3068\u304d\u306b\u304b\u306a\u308a\u306e\u30e1\u30e2\u30ea\u30fc\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<br \/>\n\/etc\/php\/7.4\/apache2\/php.ini \u306e\u4e2d\u306e memory_limit \u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u521d\u671f\u5024\u306f 128M \u3067\u3057\u305f\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">memory_limit = 4096M<\/code><\/pre>\n<p>\u3053\u308c\u306f apache2 \u304b\u3089\u547c\u3073\u51fa\u3055\u308c\u305f\u3068\u304d\u306e\u307f\u306e\u8a2d\u5b9a\u5024\u306b\u306a\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p><strong>MathJax \u306e\u8a2d\u5b9a<\/strong><\/p>\n<p><a href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=5823\">\u81ea\u5206\u304c\u4ee5\u524d\u66f8\u3044\u305f\u8a18\u4e8b<\/a>\u3092\u8aad\u3080\u3002MathJax \u306e\u30b5\u30a4\u30c8\u3092\u307f\u308b\u3068\u3001\u6700\u65b0\u7248\uff08version 3\uff09\u3067\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u3068\u3053\u308d\u306e JavaScript \u306e\u8a18\u8ff0\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u3002\u305d\u308c\u3067\u306f\u30b3\u30f3\u30c6\u30f3\u30c4\u3078\u306e\u5909\u66f4\u304c\u5fc5\u8981\u3068\u306a\u308b\u305f\u3081\u3001legacy \u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">\u3053\u308c\u307e\u3067\u306e\u8a18\u8ff0\uff1a\r\n&lt;script type=&quot;text\/javascript&quot;\r\n  src=&quot;https:\/\/kanaike.susi.oita-u.ac.jp\/MathJax\/MathJax.js?config=TeX-AMS-MML_HTMLorMML,local.js&quot;&gt;\r\n&lt;\/script&gt;<\/code><\/pre>\n<p>legacy \u30d0\u30fc\u30b8\u30e7\u30f3\uff08MathJax-legacy-v2.zip\uff09\u304c <a href=\"https:\/\/github.com\/mathjax\/MathJax\/archive\/legacy-v2.zip\">\u3053\u3061\u3089\u306b<\/a>\u3002\u8a2d\u5b9a\u306f\u4ee5\u524d\u306e\u8a18\u4e8b\u3068\u540c\u3058\u3067\u3059\u304c\u3001\u518d\u63b2\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092 \/var\/www\/html\/ \u3067\u5c55\u958b\u3057\u307e\u3059\u3002web\u30d5\u30a9\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306e\u305f\u3081\u306b\u3001\u305d\u306e\u4e2d\u306b\u3042\u308b fonts \u30d5\u30a9\u30eb\u30c0\u30fc\u306b\uff0c\u4e0b\u8a18\u306e\u3088\u3046\u306a .htaccess \u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304d\u307e\u3059\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">&lt;filesMatch \"\\.(ttf|otf|eot|woff)$\"&gt;\r\n&lt;ifModule mod_headers.c&gt;\r\nHeader set Access-Control-Allow-Origin \"*\"\r\n&lt;\/ifModule&gt;\r\n&lt;\/filesMatch&gt;<\/code><\/pre>\n<\/li>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092 apache \u304c\u8aad\u3081\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\uff0cmod_rewite \u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">a2enmod rewrite<\/code><\/pre>\n<p>\uff08\u3053\u308c\u306f\u5fc5\u8981\u306a\u306e\u304b\uff0c\u81ea\u4fe1\u304c\u306a\u3044\u306e\u3067\u3059\u304c\uff09mod_headers \u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">a2enmod headers<\/code><\/pre>\n<p>\u540d\u79f0\u306f\u305d\u308c\u305e\u308c\u74b0\u5883\u3067\u7570\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\uff0capache \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb \/etc\/apache2\/sites-enabled\/000-default.conf \u3092\u7de8\u96c6\u3057\u307e\u3059\u3002https \u7528\uff08default-ssl.conf\uff09\u3082\u3042\u308f\u305b\u3066\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\u3002\u30b5\u30a4\u30c8\u5168\u4f53\u3067\uff0c .htaccess \u30d5\u30a1\u30a4\u30eb\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">&lt;directory \/var\/www\/html\/ &gt;\r\n                Options FollowSymLinks MultiViews\r\n                AllowOverride All\r\n                Order allow,deny\r\n                allow from all\r\n&lt;\/directory&gt;\r\n<\/code><\/pre>\n<p>AllowOverride All \u306e\u3068\u3053\u308d\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u5f8c\u306f\uff0capache \u3092\uff0c\u518d\u8d77\u52d5\u3092\u3057\u3066\u7d42\u4e86\u3067\u3059\u3002Edge \u3067\u3082\u4e0a\u624b\u304f\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189-300x241.png\" alt=\"\" width=\"300\" height=\"241\" class=\"aligncenter size-medium wp-image-9830\" srcset=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189-300x241.png 300w, http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189-1024x821.png 1024w, http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189-768x616.png 768w, http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189-600x481.png 600w, http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/wp-content\/uploads\/2020\/11\/202011189.png 1445w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>www \u30d5\u30a9\u30eb\u30c0\u30fc\u5185\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u79fb\u52d5\u3055\u305b\u308b<\/strong><\/p>\n<p>\u3053\u308c\u4ee5\u964d\u306f\u3001\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u56fa\u6709\u306e\u8a71\u3002\u4e00\u822c\u7684\u306a\u8a71\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u79c1\u4ee5\u5916\u306b\u306f\u5f79\u306b\u305f\u305f\u306a\u3044\u3002\u5fc5\u8981\u306a\u3082\u306e\u3060\u3051\u9078\u629e\u3057\u306a\u304c\u3089\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u306b\u79fb\u52d5\u3055\u305b\uff0c\u4fee\u6b63\u3092\u52a0\u3048\u308b\u3002<\/p>\n<p>\uff08\uff11\uff09 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u76f4\u4e0b\u306b temporary\u3001temporary2 \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3001\u6240\u6709\u8005\u3092 www-data \u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<p>\uff08\uff12\uff09author_3.0, author_3.1 \u3092\u52d5\u304f\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p>\u63a1\u70b9\u7528\u306e\u30b3\u30fc\u30c9\u306b\u304a\u3044\u3066\u3001\u5148\u306b\u66f8\u3044\u305f php \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u4f34\u3046\u4fee\u6b63\u3092\u52a0\u3048\u308b\u3002\u5909\u6570\u306e\u578b\u5909\u66f4\u306b\u95a2\u3059\u308b\u4fee\u6b63\u3002\u9069\u5f53\u306b\u7a7a\u767d\u6587\u5b57\u5217\u3067\u5ba3\u8a00\u3057\u305f\u5909\u6570\u3092\u3001\u3042\u3068\u3067\u914d\u5217\u3068\u3057\u3066\u4f7f\u7528\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3084\u3064\u3002<\/p>\n<p>phpseclib \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002pear \u306e\u5229\u7528\u306f\u3082\u3046\u63a8\u5968\u3055\u308c\u306a\u3044\u3088\u3046\u3060\u3002php \u3068\u540c\u6642\u306b\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u3044\u308b\uff08<a href=\"https:\/\/qiita.com\/rana_kualu\/items\/cda171324e98124c8d23\">\u53c2\u7167\u8a18\u4e8b<\/a>\uff09\u3002phpseclib \u3092 synaptic \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3089\u3059\u3067\u306b\u5165\u3063\u3066\u3044\u305f\u3002\u305f\u3060\u3057\u3001\u4f7f\u7528\u65b9\u6cd5\u306f\u7570\u306a\u308b\u3088\u3046\u3060\u3002\u30af\u30e9\u30b9\u540d\u3082\u7570\u306a\u308b\u3002\u4e0b\u8a18\u306e\u3088\u3046\u306a\u4fee\u6b63\u3068\u306a\u3063\u305f\u3002\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u305f\u307b\u3046\u304c\u3001\u4ee5\u524d\u306e\u66f8\u304d\u65b9\u3067\u3042\u308b\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">\/\/include('Crypt\/RSA.php');\r\n\r\ninclude 'phpseclib\/autoload.php';\r\n\r\n\/\/$rsa = new Crypt_RSA();\r\n\r\n$rsa = new \\phpseclib\\Crypt\\RSA();<\/code><\/pre>\n<p>\u6a29\u9650\u3092\u6301\u3064\u30e6\u30fc\u30b6\u30fc\u304b\u3069\u3046\u304b\u306e\u5224\u65ad\u3092\u3059\u308b\u3068\u3053\u308d\u306b\u95a2\u3057\u3066\u306e\u4f5c\u696d\u3002\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u7b49\u306e\u6e96\u5099\u3092\u3059\u308b\u3002\u4ee5\u524d\u306e author \u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9 \u3092\u5fa9\u5143\u3057\uff0c\u305d\u308c\u306b\u95a2\u3057\u3066\u6a29\u9650\u3092\u3082\u3064\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3002\u8a8d\u8a3c\u7528\u306e\u30b3\u30fc\u30c9\u304c\u3042\u308b \/var\/www\/html\/author \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u30b3\u30d4\u30fc\u3057\uff0c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u95a2\u3059\u308b\u8a18\u8ff0\u3092\u66f4\u65b0\u3057\u305f\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u306e\u5909\u66f4\u304c\u3042\u3063\u305f\uff09\u3002<\/p>\n<p>\uff08\uff13\uff09temporary \u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u4e2d\u8eab\u3092\u5b9a\u671f\u7684\u306b\u524a\u9664\u3059\u308b\u8a2d\u5b9a\uff08<a href=\"https:\/\/qiita.com\/UNILORN\/items\/a1a3f62409cdb4256219\">\u53c2\u8003\u30b5\u30a4\u30c8<\/a>\uff09\u3002\u4ee5\u524d\u306f gnome \u306e GUI \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5229\u7528\u3057\u3066\u3044\u305f\u304c\u3001\u691c\u7d22\u306b\u5f15\u3063\u304b\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u3002\u516c\u5f0f\u304b\u3089\u843d\u3061\u305f\u3088\u3046\u3060\u3002\u305d\u306e\u305f\u3081\u76f4\u63a5\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/p>\n<p>\/etc\/crontab \u3092 \/etc\/cron.d\/ \u3078\u3001\u9069\u5f53\u306a\u540d\u524d\u3092\u3064\u3051\u3066\u30b3\u30d4\u30fc\u3059\u308b\u3002\u62e1\u5f35\u5b50\u7121\u3057\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u4ed8\u3051\u308b\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">sudo cp .\/crontab .\/cron.d\/newName<\/code><\/pre>\n<p>\u3082\u3068\u3082\u3068\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u305f\u547d\u4ee4\u306e\u30ea\u30b9\u30c8\u3092\u524a\u9664\u3057\u3066\uff08\u591a\u5206\u524a\u9664\u3057\u306a\u3044\u3068\u4e8c\u91cd\u306b\u306a\u308b\u3068\u601d\u3046\uff09\u3001\u4f8b\u3092\u53c2\u8003\u306b\u5b9f\u884c\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\uff08\u3053\u3053\u3067\u306f php \u30d5\u30a1\u30a4\u30eb\uff09\u3092\u6307\u5b9a\u3059\u308b\u3002\u53c2\u8003\u30b5\u30a4\u30c8\u306b\u6ce8\u610f\u70b9\u304c\u591a\u3005\u3042\u308b\u3002\/bin\/bash \u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u306e\u78ba\u8a8d\u3084\u3001\u30b9\u30da\u30fc\u30b9\u3068\u30bf\u30d6\u306e\u4f7f\u3044\u65b9\u304c\u53b3\u5bc6\u3067\u3042\u308b\u3053\u3068\u306a\u3069\u3067\u3042\u308b\u3002\u4e0b\u8a18\u306f\u6bce\u65e512\u6642\u3061\u3087\u3046\u3069\u306b\u5b9f\u884c\u3059\u308b\u6307\u5b9a\u3067\u3042\u308b\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">SHELL=\/bin\/bash\r\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\r\n\r\n# Example of job definition:\r\n# .---------------- minute (0 - 59)\r\n# |  .------------- hour (0 - 23)\r\n# |  |  .---------- day of month (1 - 31)\r\n# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...\r\n# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat\r\n# |  |  |  |  |\r\n# *  *  *  *  * user-name command to be executed\r\n0 0\t* * *\troot\tphp \/var\/www\/html\/xxx\/xxxxx.php<\/code><\/pre>\n<p>\uff08\uff14\uff09flash \u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u52d5\u304b\u3059\u305f\u3081\u306e\u8a2d\u5b9a\u3002<\/p>\n<p>nkf \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002synaptic \u304b\u3089\u3002<\/p>\n<p>tex \u95a2\u4fc2\u3002<a href=\"http:\/\/verifiedby.me\/adiary\/0141\">\u3053\u306e\u30b5\u30a4\u30c8<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u4e0b\u8a18\u3092 synaptic \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">texlive-lang-cjk\r\ntexlive-fonts-recommended\r\ntexlive-fonts-extra\r\nxdvik-ja<\/code><\/pre>\n<p>imagemagick \u3092 synaptic \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002ps, eps, png \u306e\u53d6\u308a\u6271\u3044\u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u3092\u3059\u308b\uff08<a href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=7385\">\u904e\u53bb\u8a18\u4e8b<\/a>\uff09\u3002<\/p>\n<p>\u3057\u304b\u3057\u7d50\u5c40 flash \u306e\u30a2\u30d7\u30ea\u306f JavaScript \u3067\u66f8\u304d\u63db\u3048\u3066\u3057\u307e\u3063\u305f\u304c\uff0cimagemagick \u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u306f\u5909\u308f\u308a\u306a\u3044\u306e\u3067\u4e0a\u8a18\u306e ps, eps, png \u306e\u53d6\u308a\u6271\u3044\u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u306f\u5fc5\u8981\u3067\u3042\u308b\u3002imagemagick \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8a18\u8ff0\u304c\u7570\u306a\u308b\u3002<\/p>\n<p>\uff08\uff15\uff09\u30aa\u30fc\u30b5\u30ea\u30f3\u30b0\u30c4\u30fc\u30eb\u306a\u3069<\/p>\n<p>MathJax \u306e\u521d\u671f\u8a2d\u5b9a\u304c\u7570\u306a\u308b\u3002\u4eca\u307e\u3067\u306f\uff0c\u3053\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u305f\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">MathJax.Hub.Config({\r\n  tex2jax: {inlineMath: [['$','$'], ['\\\\\\\\(','\\\\\\\\)']],\r\n  processEscapes: true}\r\n});\r\n<\/code><\/pre>\n<p>\u4eca\u56de\u306f\uff0c\u4e0b\u8a18\u306e\u3088\u3046\u306b\u4fee\u6b63\u3002\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u304c2\u500b\u6e1b\u3063\u305f\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">MathJax.Hub.Config({\r\n  tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],\r\n  processEscapes: true}\r\n});\r\n<\/code><\/pre>\n<p>\u3053\u306e\u4fee\u6b63\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u539f\u56e0\u306f\u4f55\u3060\u308d\u3046\u304b\uff1f\u5f8c\u65e5\uff0cindex.html \u304b\u3089 index.php \u3078\u6700\u7d42\u7684\u306b\u683c\u7d0d\u3057\u305f\u3068\u304d\u306b\uff0c\u518d\u3073\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e54\u672c\u306b\u623b\u3057\u305f\u3002<\/p>\n<p>ffmpeg \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002synaptic \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<\/p>\n<p>NLmark \u3067\u306f\uff0c\u6697\u53f7\u306b\u95a2\u3059\u308b\u4fee\u6b63\u306f\u51fa\u3066\u3053\u306a\u304b\u3063\u305f\u3002\u6b63\u89e3\u306e\u5fa9\u53f7\u306a\u3069\u306f phpSimpleQuestion \u3067\u7d42\u308f\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u4ee5\u524d\u304b\u3089\u3042\u3063\u305f\u3088\u3046\u3060\u304c\uff0cNLmark \u3067\u89e3\u7b54\u4e00\u89a7\u306e\u8868\u793a\u7528\u306b JQuery EasyUI \u306e\u30b0\u30ea\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3044\u308b\u304c\u3001\u52d5\u753b\u3067\u56de\u7b54\u3059\u308b\u3088\u3046\u306a\u6559\u6750\u306e\u5834\u5408\u306b\u3001\u305d\u306e\u30b0\u30ea\u30c3\u30c9\u306b\u52d5\u753b\u3092\u57cb\u3081\u8fbc\u3080\u3068\u304d\uff0c\uff08\u305f\u3076\u3093\uff09\u5927\u304d\u306a\u30c7\u30fc\u30bf\u306e\u57cb\u3081\u8fbc\u307f\u306e\u969b\u306b\u30a8\u30e9\u30fc\u304c\u751f\u3058\u3066\uff0c\u30b0\u30ea\u30c3\u30c9\u304c\u8868\u793a\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u4e0b\u8a18\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3044\u305f\u3002<code>a_ary<\/code> \u306e\u4e2d\u306b\u8868\u793a\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">dgrid_json = {\"total\":a_ary.length, \"rows\":a_ary};\r\n$('#dg').datagrid({data : dgrid_json});<\/code><\/pre>\n<p>JQuery EasyUI \u3092\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5909\u66f4\u3057\u3066\u3082\uff0c\u305d\u3053\u306f\u5909\u308f\u3089\u306a\u304b\u3063\u305f\uff08\u8868\u793a\u306b\u4ed6\u306e\u4e0d\u5177\u5408\u304c\u751f\u3058\u3066\u5143\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u623b\u3057\u305f\uff09\u3002\u305d\u308c\u3067\uff0c\u3068\u308a\u3042\u3048\u305a\u4e00\u884c\u306e\u30c7\u30fc\u30bf\u306e\u307f\u3067\u30b0\u30ea\u30c3\u30c9\u3092\u4f5c\u6210\u3057\uff0c\u5f8c\u306f\u4e00\u3064\u305a\u3064\u8ffd\u52a0\u3059\u308b\u3088\u3046\u306b\u5909\u66f4\u3057\u305f\u3002\u3053\u308c\u3067\u8868\u793a\u306f\u4e0a\u624b\u304f\u3044\u3063\u305f\u3002<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">dgrid_json = {\"total\":1, \"rows\":[a_ary[0]]};\r\n$('#dg').datagrid({data : dgrid_json});\r\n\r\nfor (var i = 1; i < a_ary.length; i = i + 1) {\r\n\t$('#dg').datagrid('appendRow',a_ary[i]);\r\n}<\/code><\/pre>\n<p>\u305d\u306e\u969b\u306b\u6c17\u3065\u3044\u305f\u3053\u3068\u3060\u304c\uff0cNLsheet \u3068 NLmark \u3067\u8868\u793a\u3055\u308c\u308b\u56de\u7b54\u304c\u7570\u306a\u308b\u3088\u3046\u3060\u3002NLsheet \u306f\u500b\u3005\u4eba\u306e\u6700\u7d42\u56de\u7b54\u3092\u691c\u7d22\u3057\u3066\uff0c\u3042\u3066\u306f\u307e\u308b\u56de\u7b54\u3092\u8868\u793a\u3057\u3066\u304f\u308b\u3002\u7a7a\u767d\u306e\u56de\u7b54\u3082\u8868\u793a\u3055\u308c\u308b\u3002NLmark \u306f\u56de\u7b54\u7a2e\u3092\u8868\u793a\u3059\u308b\u3002\u56de\u7b54\u304c\u7a7a\u767d\u3067\u3042\u308b\u3068\u304d\u306b\u306f\u8868\u793a\u3055\u308c\u306a\u3044\u3002\u52d5\u753b\u3067\u56de\u7b54\u3059\u308b\u6559\u6750\u3067\u306f\uff0cNLmark \u3082\u56de\u7b54\u7a2e\u3067\u306f\u306a\u304f\u500b\u3005\u4eba\u306e\u56de\u7b54\u306a\u306e\u3067\uff0cNLsheet \u3067\u8868\u793a\u3055\u308c\u308b\u56de\u7b54\u8005\u304c NLmark \u306b\u306f\u73fe\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u3002<\/p>\n<p><strong>(20210401)<\/strong><\/p>\n<p>\u6700\u7d42\u7684\u306a\u66f4\u65b0\u3002e-Learning \u306e\u63a1\u70b9\u30b5\u30fc\u30d0\u30fc\u3092\u5165\u308c\u66ff\u3048\u308b\u4f5c\u696d\u3002\u6b8b\u3063\u305f\u4f5c\u696d\u306f\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u914d\u7f6e\u3068\uff0c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u79fb\u52d5\u3067\u3042\u308b\u3002\u4ed6\u306b\u306f\uff0c\u30b3\u30fc\u30c9\u306b\u66f8\u304d\u8fbc\u307e\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u30a2\u30c9\u30ec\u30b9\u306e\u4fee\u6b63\u306a\u3069\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u3092\u3069\u3053\u306b\u914d\u7f6e\u3059\u308b\u304b\u306f\uff0cdefault-ssl.conf \u306e\u8a18\u8ff0\u306b\u5f93\u3063\u305f\u3002\u4eee\u306b\u7f6e\u304b\u308c\u3066\u3044\u308b\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8\u3068\u540c\u3058\u5834\u6240\u306b\u914d\u7f6e\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u306e\u79fb\u52d5\u306f\uff0cphpmyadmin \u3092\u4f7f\u7528\u3057\u305f\u3002MySQL \u306e\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306a\u3069\u306e\u30b7\u30b9\u30c6\u30e0\u95a2\u9023\u4ee5\u5916\u3092\u9078\u3093\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f\u3002\u3053\u308c\u306f\u6bd4\u8f03\u7684\u77ed\u6642\u9593\u3067\u7d42\u4e86\u3057\u305f\u30022GB\u7a0b\u5ea6\u306e\u5927\u304d\u3055\u3067\u3042\u308b\u3002\u6b21\u306b\uff0cubuntu20 \u5074\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5185\u5bb9\u3092\uff0c\u30b7\u30b9\u30c6\u30e0\u95a2\u9023\u4ee5\u5916\u3092\u524a\u9664\u3059\u308b\u3002\u305d\u306e\u5f8c\uff0c\u30a4\u30f3\u30dd\u30fc\u30c8\u3002\u3053\u3061\u3089\u306f1\u6642\u9593\u4ee5\u4e0a\u304b\u304b\u308b\u3002\u3057\u304b\u3057\u30c8\u30e9\u30d6\u30eb\u306f\u4eca\u306e\u3068\u3053\u308d\u898b\u3064\u304b\u3063\u3066\u3044\u306a\u3044\u3002phpmyadmin \u306e\u51e6\u7406\u6642\u9593\u3092\u9577\u304f\u8a2d\u5b9a\u3057\u3066\u3044\u305f\u306e\u304c\u52b9\u3044\u3066\u3044\u308b\u3002<\/p>\n<p>\u4ed6\u306b\u6c17\u3065\u3044\u305f\u70b9\u3068\u3057\u3066\u306f\uff0cubuntu20 \u306e\u30d6\u30fc\u30c8\u306e\u969b\u306b\uff0c\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u3092\u8aad\u3080\u305f\u3081\u306ekey\u3092\u8981\u6c42\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u3002\u6253\u3061\u8fbc\u3093\u3067\u306f\u307f\u308b\u304c\u4e0a\u624b\u304f\u884c\u304b\u306a\u3044\u3002\u9593\u306b\u5408\u308f\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u5931\u6557\u3057\u3066\u3057\u307e\u3046\u3002\u7d50\u5c40\u8d77\u52d5\u3057\u305f\u3042\u3068\u3067\uff0capache2 \u3092\u30ea\u30b9\u30bf\u30fc\u30c8\u3057\u3066\uff0c\u305d\u306e\u969b\u306bkey\u3092\u6253\u3061\u8fbc\u3093\u3067\u3044\u308b\u3002<\/p>\n<p><strong>(20241031)<\/strong><br \/>\napache \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8fd4\u3055\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3002\/etc\/apache2\/conf-available\/security.conf \u306b\u304a\u3044\u3066<\/p>\n<pre><code style=\"color: midnightblue; font-size: 12px; white-space: pre-wrap;\">ServerTokens Prod\r\nServerSignature Off<\/code><\/pre>\n<p>\u4e0a\u8a18\u3078\u5909\u66f4\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7814\u7a76\u5ba4\u306e\u30d6\u30ed\u30b0\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306e OS \u66f4\u65b0\u306f\u4f55\u3068\u304b\u7d42\u4e86\u3057\u307e\u3057\u305f\uff08\u4ee5\u524d\u306e\u6295 &#8230; <a class=\"more-link\" href=\"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/?p=9768\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-9768","post","type-post","status-publish","format-standard","hentry","category-column"],"_links":{"self":[{"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/9768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9768"}],"version-history":[{"count":123,"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/9768\/revisions"}],"predecessor-version":[{"id":13473,"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/9768\/revisions\/13473"}],"wp:attachment":[{"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9768"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zairyo.susi.oita-u.ac.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}