pyenv\u3001rbenv\u3001ndenv\u3092\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u30fb\u30b7\u30b9\u30c6\u30e0\u30ef\u30a4\u30c9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001Python\u3001Ruby\u3001Node.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u3044\u5206\u3051\u308b \u301cAmazon Linux\u3001CentOS\u3067\u5b9f\u884c\u3067\u304d\u308b\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)\u301c<\/a>\u300d<\/p>\n\u4e0a\u8a18\u3067\u7d39\u4ecb\u3057\u305fPython, Ruby, Node.js\u3084PHP, Perl\u306a\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306f\u65b0\u6a5f\u80fd\u306e\u8ffd\u52a0\u3084\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8106\u5f31\u6027\u306e\u4fee\u6b63\u306a\u3069\u306e\u958b\u767a\u304c\u884c\u308f\u308c\u3001\u5b89\u5b9a\u3057\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n
\u307e\u305f\u3001Apache, Nginx\u306a\u3069\u306eWeb\u30b5\u30fc\u30d0\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3001WordPress, Movable Type\u306a\u3069\u306eCMS\u88fd\u54c1\u3001jQuery, Prototype JavaScript Framework\u306a\u3069\u306eJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u540c\u69d8\u306e\u7406\u7531\u3067\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u6b21\u3005\u3068\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u73fe\u72b6\u3067\u3059\u3002<\/p>\n
\u3053\u306e\u3088\u3046\u306b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u7528\u3044\u305f\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306f\u4ed8\u304d\u7269\u3067\u3059\u304c\u3001\u5e38\u306b\u30a2\u30f3\u30c6\u30ca\u3092\u5f35\u3063\u3066\u5404\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u60c5\u5831\u3092\u53ce\u96c6\u3057\u3066\u3044\u306a\u3044\u3068\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8106\u5f31\u6027\u306e\u4fee\u6b63\u306a\u3069\u306e\u91cd\u8981\u306a\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u898b\u9003\u3057\u3066\u3057\u307e\u3057\u307e\u3059\u3002<\/p>\n
\u4eca\u56de\u306f\u305d\u3093\u306a\u5e38\u306b\u60c5\u5831\u3092\u53ce\u96c6\u3057\u3066\u304a\u304f\u3079\u304d\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u60c5\u5831\u3092\u30ed\u30fc\u30ab\u30eb\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u5408\u308f\u305b\u3066\u53d6\u5f97\u30fb\u78ba\u8a8d\u30fb\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n
\u4ee5\u4e0b\u3067\u7d39\u4ecb\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)\u306f\u6570\u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306e\u4e2d\u3067\u3082WEB\u958b\u767a\u3067\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308bPython, Ruby, Node.js, PHP, Apache, WordPress, jQuery\u3092\u5bfe\u8c61\u306b\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u4ed5\u69d8\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n
Linux, macOS\u3067Python, Ruby, Node.js, PHP, Apache, WordPress, jQuery\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u30fb\u30ed\u30fc\u30ab\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u30fb\u78ba\u8a8d\u30fb\u6bd4\u8f03\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0) \uff5e\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5b9a\u671f\u7684\u306a\u30c1\u30a7\u30c3\u30af\u3067\u66f4\u65b0\u30fb\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u5bfe\u7b56\uff5e<\/h2>\n
\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u5404\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3001\u30df\u30e9\u30fc\u30b5\u30a4\u30c8\u3001Github\u306a\u3069\u3067\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n
\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u306f\u5404\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5b9f\u969b\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\u30b5\u30a4\u30c8\u304b\u3089\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u6b63\u898f\u8868\u73fe\u3092\u7528\u3044\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n
Linux, macOS\u3067Python, Ruby, Node.js, PHP, Apache, WordPress, jQuery\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u30fb\u30ed\u30fc\u30ab\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u30fb\u78ba\u8a8d\u30fb\u6bd4\u8f03\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)<\/h3>\n
\u4e0b\u8a18\u304c\u5b9f\u969b\u306b\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53d6\u5f97\u30fb\u78ba\u8a8d\u30fb\u6bd4\u8f03\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)\u3067\u3059\u3002<\/p>\n
\u57fa\u672c\u65b9\u91dd\u3068\u3057\u3066\u306f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)\u306e\u5192\u982d\u30b3\u30e1\u30f3\u30c8\u306b\u8a18\u8f09\u306e\u3068\u304a\u308a\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5f62\u5f0f\u306b\u4e00\u81f4\u3059\u308b\u6b63\u898f\u8868\u73fe\u3067\u62bd\u51fa\u3057\u307e\u3059\u3002<\/p>\n
Linux, macOS\u306e\u4e21\u65b9\u306b\u5bfe\u5fdc\u3059\u308b\u3088\u3046\u306b\u5b9f\u88c5\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u6539\u884c\u30b3\u30fc\u30c9\u306e\u51e6\u7406\u306b\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u305f\u300cLF=$’\\\\\\x0A’\u300d\u3084\u30b9\u30da\u30fc\u30b9\u3001\u30bf\u30d6\u6587\u5b57\u306e\u9664\u53bb\u51e6\u7406\u7b49\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n
\r\n[magtranetwork@localhost ~]# vim check_new_version.sh\r\n<\/pre>\n\r\n#!\/bin\/bash\r\n\r\n#\u5404\u30ea\u30ea\u30fc\u30b9\u30b5\u30a4\u30c8HTML\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u542b\u3080\u884c\u304b\u3089\u4e0b\u8a18\u306e\u3088\u3046\u306a\u6b63\u898f\u8868\u73fe\u3092\u7528\u3044\u305f\u30b3\u30de\u30f3\u30c9\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u884c\u3046\u3002\r\n#\u5177\u4f53\u7684\u306b\u306f\u6570\u5024\u4ee5\u5916\u306e\u6587\u5b57\u5217\u3092\u6539\u884c\u3057\u3001\u305d\u3053\u304b\u3089\u6570\u5024\u304b\u3089\u59cb\u307e\u308b\u6587\u5b57\u5217\u306e\u307f\u3092\u5bfe\u8c61\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u6b63\u898f\u8868\u73fe\u3067\u5bfe\u8c61\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u3002\r\n#LF=$'\\\\\\x0A'\r\n#[\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u542b\u3080\u884c\u3092\u8868\u793a\u3059\u308b\u51e6\u7406] | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*$'\r\n#[\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u542b\u3080\u884c\u3092\u8868\u793a\u3059\u308b\u51e6\u7406] | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'\r\n#[\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u542b\u3080\u884c\u3092\u8868\u793a\u3059\u308b\u51e6\u7406] | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep -e '^[0-9]*\\.[0-9]*\\.[0-9]*$' -e '^[0-9]*\\.[0-9]*$'\r\n\r\n#sed\u3067\u6539\u884c\u30b3\u30fc\u30c9\u3078\u306e\u7f6e\u63db\u306b\u4f7f\u7528\u3059\u308b\u3002\r\nLF=$'\\\\\\x0A'\r\n\r\n#python\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002\r\nwhich python > \/dev\/null 2>&1\r\nIS_PKG=$?\r\nIS_PKG=`echo "${IS_PKG}" | sed 's\/ \/\/g' | sed 's\/\\t\/\/g' | tr -d '\\n'`\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bPython\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306ePython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\n#Python\u306b\u3064\u3044\u3066\u306f\u30d0\u30fc\u30b8\u30e7\u30f32\u3001\u30d0\u30fc\u30b8\u30e7\u30f33\u3092\u53d6\u5f97\u3059\u308b\u3002\r\necho "***Python***"\r\necho "[Released]"\r\nRES=`curl -sS https:\/\/www.python.org\/downloads\/ | grep "Download Python " | grep '\\.tar' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$' | grep ^3`\r\necho "Python3: ${RES}"\r\nRES=`curl -sS https:\/\/www.python.org\/downloads\/ | grep "Download Python " | grep '\\.tar' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$' | grep ^2`\r\necho "Python2: ${RES}"\r\necho "[Local]"\r\nif [ "${IS_PKG}" = "0" ]; then\r\n python --version\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n#ruby\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002\r\nwhich ruby > \/dev\/null 2>&1\r\nIS_PKG=$?\r\nIS_PKG=`echo "${IS_PKG}" | sed 's\/ \/\/g' | sed 's\/\\t\/\/g' | tr -d '\\n'`\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bRuby\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306eRuby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\necho "***Ruby***"\r\necho "[Released]"\r\nRES=`curl -sS https:\/\/www.ruby-lang.org\/en\/downloads\/ | grep "Ruby" | grep '\\.tar' | grep -v '\\-rc' | grep -v 'preview' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$' | tail -n 1`\r\necho "Ruby: ${RES}"\r\necho "[Local]"\r\nif [ "${IS_PKG}" = "0" ]; then\r\n ruby -v\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n#node\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002\r\nwhich node > \/dev\/null 2>&1\r\nIS_PKG=$?\r\nIS_PKG=`echo "${IS_PKG}" | sed 's\/ \/\/g' | sed 's\/\\t\/\/g' | tr -d '\\n'`\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bNode.js\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306eNode.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\n#Node.js\u306b\u3064\u3044\u3066\u306fCurrent\u30d0\u30fc\u30b8\u30e7\u30f3\u3001LTS\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53d6\u5f97\u3059\u308b\u3002\r\necho "***Node.js***"\r\necho "[Released]"\r\nRES=`curl -sS https:\/\/nodejs.org\/en\/download\/current\/ | grep "Version" | grep "Latest" | grep "Current" | sed 's\/ \/\/g' | sed 's\/<strong>\/ \/g' | sed 's\/<\\\/strong>\/ \/g' | awk '{print $2}'`\r\necho "Node.js Current: ${RES}"\r\nRES=`curl -sS https:\/\/nodejs.org\/en\/download\/ | grep "Version" | grep "Latest" | grep "LTS" | sed 's\/ \/\/g' | sed 's\/<strong>\/ \/g' | sed 's\/<\\\/strong>\/ \/g' | awk '{print $2}'`\r\necho "Node.js LTS: ${RES}"\r\necho "[Local]"\r\nif [ "${IS_PKG}" = "0" ]; then\r\n node -v\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n#php\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002\r\nwhich php > \/dev\/null 2>&1\r\nIS_PKG=$?\r\nIS_PKG=`echo "${IS_PKG}" | sed 's\/ \/\/g' | sed 's\/\\t\/\/g' | tr -d '\\n'`\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bPHP\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306ePHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\necho "***PHP***"\r\necho "[Released]"\r\nRES=`curl -sS https:\/\/github.com\/php\/php-src\/ | grep 'href' | grep '\/php\/php-src\/tree\/php-[0-9]*\\.[0-9]*\\.[0-9]*"' | grep -v 'RC' | grep -v 'beta' | grep -v 'alpha' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$' | tail -n 1`\r\necho "PHP: ${RES}"\r\necho "[Local]"\r\nif [ "${IS_PKG}" = "0" ]; then\r\n php -v\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n#HTTPD, APR\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30c8\u3092\u6307\u5b9a\u3059\u308b\u3002\r\n#\u597d\u307f\u306b\u3088\u3063\u3066\u30df\u30e9\u30fc\u30b5\u30a4\u30c8\u3092\u5909\u66f4\u3059\u308b\u3002\r\nHTTPD_REPO=https:\/\/ftp.jaist.ac.jp\/pub\/apache\/httpd\r\nAPR_REPO=https:\/\/ftp.jaist.ac.jp\/pub\/apache\/apr\r\n\r\n#apachectl\u30b3\u30de\u30f3\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002\r\nwhich apachectl > \/dev\/null 2>&1\r\nIS_PKG=$?\r\nIS_PKG=`echo "${IS_PKG}" | sed 's\/ \/\/g' | sed 's\/\\t\/\/g' | tr -d '\\n'`\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bApache\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306eApache\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\n#Apache\u306b\u3064\u3044\u3066\u306fHTTPD, APR, APR-UTIL, APR-ICONV\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3059\u308b\u3002\r\necho "***Apache***"\r\necho "[Released]"\r\nRES=`curl -sS ${HTTPD_REPO}\/ | grep tar.gz | grep href | grep httpd-2.4 | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "HTTPD: ${RES}"\r\nRES=`curl -sS ${APR_REPO}\/ | grep tar.gz | grep href | grep apr-[0-9] | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "APR: ${RES}"\r\nRES=`curl -sS ${APR_REPO}\/ | grep tar.gz | grep href | grep apr-util-[0-9] | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "APR-UTIL: ${RES}"\r\nRES=`curl -sS ${APR_REPO}\/ | grep tar.gz | grep href | grep apr-iconv-[0-9] | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "APR-ICONV: ${RES}"\r\necho "[Local]"\r\nif [ "${IS_PKG}" = "0" ]; then\r\n apachectl -V | grep ":"\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n#WordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3002\r\n#\u74b0\u5883\u306b\u5fdc\u3058\u3066\u30d1\u30b9\u3092\u5909\u66f4\u3059\u308b\u3002\r\nWORDPRESS_PATH=\/var\/www\/html\/wp-includes\/version.php\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bWordPress\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306eWordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\necho "***WordPress***"\r\necho "[Released]"\r\nRES=`curl -sS https:\/\/wordpress.org\/download\/ | grep "Version" | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep -e '^[0-9]*\\.[0-9]*\\.[0-9]*$' -e '^[0-9]*\\.[0-9]*$' | tail -n 1`\r\necho "WordPress: ${RES}"\r\necho "[Local]"\r\nif [ -f ${WORDPRESS_PATH} ]; then\r\n cat ${WORDPRESS_PATH} | grep '\\$wp_version' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep -e '^[0-9]*\\.[0-9]*\\.[0-9]*$' -e '^[0-9]*\\.[0-9]*$'\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n#jQuery\u306e\u30d1\u30b9\u3002\r\n#\u74b0\u5883\u306b\u5fdc\u3058\u3066\u30d1\u30b9\u3092\u5909\u66f4\u3059\u308b\u3002\r\nJQUERY_PATH=\/var\/www\/html\/js\/jquery.min.js\r\n\r\n#\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bjQuery\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3001\u30ed\u30fc\u30ab\u30eb\u306ejQuery\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53d6\u5f97\u3092\u3057\u3066\u8868\u793a\u3059\u308b\u3002\r\n#jQuery\u306b\u3064\u3044\u3066\u306f\u30d0\u30fc\u30b8\u30e7\u30f31\u3001\u30d0\u30fc\u30f3\u30b8\u30e7\u30f32\u3001\u30d0\u30fc\u30b8\u30e7\u30f33\u3092\u8868\u793a\u3059\u308b\u3002\r\necho "***jQuery***"\r\necho "[Released]"\r\nRES=`curl -sS https:\/\/code.jquery.com\/ | grep 'jquery-3.' | grep '.min.js' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "jQuery 3.x: ${RES}"\r\nRES=`curl -sS https:\/\/code.jquery.com\/ | grep 'jquery-2.' | grep '.min.js' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "jQuery 2.x: ${RES}"\r\nRES=`curl -sS https:\/\/code.jquery.com\/ | grep 'jquery-1.' | grep '.min.js' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep '^[0-9]*\\.[0-9]*\\.[0-9]*$'`\r\necho "jQuery 1.x: ${RES}"\r\necho "[Local]"\r\nif [ -f ${JQUERY_PATH} ]; then\r\n cat ${JQUERY_PATH} | awk 'NR==1 {print}' | sed 's\/[^0-9.]\/'"$LF"'\/g' | grep '^[0-9]' | sed 's\/^\\.\/\/g' | sed 's\/\\.$\/\/g' | sort -n | uniq | grep -e '^[0-9]*\\.[0-9]*\\.[0-9]*$' -e '^[0-9]*\\.[0-9]*$'\r\nelse\r\n echo ""\r\nfi\r\necho ""\r\n\r\n<\/pre>\nLinux, macOS\u3067Python, Ruby, Node.js, PHP, Apache, WordPress, jQuery\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u30fb\u30ed\u30fc\u30ab\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u30fb\u78ba\u8a8d\u30fb\u6bd4\u8f03\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)\u306e\u5b9f\u884c\u4f8b<\/h3>\n\r\n[magtranetwork@localhost ~]# chmod 755 check_new_version.sh\r\n[magtranetwork@localhost ~]# .\/check_new_version.sh\r\n***Python***\r\n[Released]\r\nPython3: 3.6.0\r\nPython2: 2.7.13\r\n[Local]\r\nPython 3.6.0\r\n\r\n***Ruby***\r\n[Released]\r\nRuby: 2.4.0\r\n[Local]\r\nruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]\r\n\r\n***Node.js***\r\n[Released]\r\nNode.js Current: v7.5.0\r\nNode.js LTS: v6.9.5\r\n[Local]\r\nv7.5.0\r\n\r\n***PHP***\r\n[Released]\r\nPHP: 7.1.1\r\n[Local]\r\nPHP 7.1.1 (cli) (built: Jan 1 2017 00:00:00) ( ZTS )\r\nCopyright (c) 1997-2017 The PHP Group\r\nZend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies\r\n\r\n***Apache***\r\n[Released]\r\nHTTPD: 2.4.25\r\nAPR: 1.5.2\r\nAPR-UTIL: 1.5.4\r\nAPR-ICONV: 1.2.1\r\n[Local]\r\nServer version: Apache\/2.4.25 (Unix)\r\nServer built: Jan 1 2017 00:00:00\r\nServer's Module Magic Number: 20120211:67\r\nServer loaded: APR 1.5.2, APR-UTIL 1.5.4\r\nCompiled using: APR 1.5.2, APR-UTIL 1.5.4\r\nArchitecture: 64-bit\r\nServer MPM: event\r\n threaded: yes (fixed thread count)\r\n forked: yes (variable process count)\r\n\r\n***WordPress***\r\n[Released]\r\nWordPress: 4.7.2\r\n[Local]\r\n4.7.2\r\n\r\n***jQuery***\r\n[Released]\r\njQuery 3.x: 3.1.1\r\njQuery 2.x: 2.2.4\r\njQuery 1.x: 1.12.4\r\n[Local]\r\n3.1.1\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"\u4ee5\u524d\u306e\u8a18\u4e8b\u3067Python, Ruby, Node.js\u3092pyenv\u3001rbenv\u3001ndenv\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3068\u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u30d0\u30c3\u30c1\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0)\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002 \u53c2\u8003\u8a18\u4e8b\uff1a […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3,22,184,90,183,79,80,89,82],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts\/5226"}],"collection":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/comments?post=5226"}],"version-history":[{"count":9,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts\/5226\/revisions"}],"predecessor-version":[{"id":5314,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts\/5226\/revisions\/5314"}],"wp:attachment":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/media?parent=5226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/categories?post=5226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/tags?post=5226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}