{"id":46443,"date":"2023-01-23T17:49:06","date_gmt":"2023-08-02T22:13:33","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/"},"modified":"2024-04-29T11:08:29","modified_gmt":"2024-04-29T03:08:29","slug":"46443-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/","title":{"rendered":""},"content":{"rendered":"<h1>\u524d\u632f\u308a<\/h1>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001python\u3082\u7d71\u8a08\u3082\u74b0\u5883\u6574\u5099\u3082\u30c9\u7d20\u4eba\u306e\u4eba\u9593\u304c\u3001\u4ee5\u4e0b\u306e3\u70b9(+1)\u306b\u3064\u3044\u3066\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>jupyter notebook\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308b\u3089\u3057\u3044<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u74b0\u5883\u69cb\u7bc9\u30e1\u30e2<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u6240\u611f<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u4eca\u56de\u4f5c\u3063\u305fnotebook(\u304a\u307e\u3051)<\/ol>\n<p>\u5c0f\u3055\u3044\u5b50\u4f9b\u304c\u3044\u308b\u305f\u3081\u5bb6\u3067\u6bce\u65e5\u5168\u529b\u306ePC\u4f5c\u696d\u3092\u3059\u308b\u3068\u3044\u3046\u308f\u3051\u306b\u3082\u3044\u304b\u305a\u3001<br \/>\n\u304b\u3064\u901a\u52e4\u6642\u9593\u304c\u9577\u304f\u96fb\u8eca\u5185\u304c\u30d2\u30de\u3001\u3053\u306e\u6642\u9593\u3067\u4f55\u304b\u52c9\u5f37\u304c\u3057\u3066\u307f\u305f\u3044\u3002\u7d71\u8a08\u3068\u304b\u6a5f\u68b0\u5b66\u7fd2\u3068\u304b\u3002<br \/>\n\u3067\u3082\u4f55\u3092\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u5168\u7136\u308f\u304b\u3089\u306a\u3044\u30fb\u30fb\u30fb<br \/>\n\u3068\u3044\u3046\u4eba\u306b\u3001\u4f55\u304b\u306e\u53c2\u8003\u306b\u306a\u308c\u3070\u826f\u3044\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>jupyter notebook\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308b\u3089\u3057\u3044<\/h1>\n<p>\u304a\u52c9\u5f37\u81ea\u4f53\u306f\u7d19\u3068\u925b\u7b46\u3055\u3048\u3042\u308c\u3070\u3069\u3053\u3067\u3082\u51fa\u6765\u307e\u3059\u304c\u3001\u3069\u3046\u305b\u306a\u3089\u6587\u660e\u306e\u5229\u5668\u3068\u5148\u4eba\u306e\u77e5\u6075\u3092\u53d6\u308a\u5165\u308c\u305f\u3044\u3002<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u79c1\u304c\u304a\u52c9\u5f37\u7528\u306e\u74b0\u5883\u306b\u6c42\u3081\u305f\u6761\u4ef6\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n\u7279\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u305f\u306e\u306f\u3001\u300c\u30cd\u30c3\u30c8\u306b\u7e4b\u304c\u3063\u3066\u3044\u3066\u3001\u304b\u3064\u30d6\u30e9\u30a6\u30b6\u3055\u3048\u3042\u308c\u3070\u4f5c\u696d\u51fa\u6765\u308b\u300d\u3068\u3044\u3046\u70b9\u3067\u3057\u305f\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u7d71\u8a08\u5b66\u306e\u304a\u52c9\u5f37\u304c\u3057\u305f\u3044\u3002\u6a5f\u68b0\u5b66\u7fd2\u306b\u3082\u4f7f\u3048\u308b\u3068\u5c1a\u826f\u3044\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>\u57fa\u672c<\/p>\n<p>\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u305f\u3044<\/p>\n<p>\u624b\u8a08\u7b97\u3082\u60aa\u304f\u306a\u3044\u3051\u3069\u3001\u3069\u3046\u305b\u306a\u3089\u3053\u306e\u6a5f\u4f1a\u306bpython\u3068\u3044\u3046\u5974\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044<\/p>\n<p>\u30cd\u30c3\u30c8\u306b\u7e4b\u304c\u3063\u3066\u3044\u3066\u3001\u304b\u3064\u30d6\u30e9\u30a6\u30b6\u3055\u3048\u3042\u308c\u3070\u4f5c\u696d\u51fa\u6765\u308b<\/p>\n<p>\u672c\u683c\u7684\u306a\u4f5c\u696d\u306fPC\u3067\u3084\u308b\u3068\u3057\u3066\u3001\u30b9\u30de\u30db\u3084\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u3082\u8efd\u3044\u4f5c\u696d\u306f\u3057\u305f\u3044<\/p>\n<p>\u7d50\u679c\u304c\u56f3\u8868\u3067\u898b\u308c\u308b\u3068\u7406\u89e3\u304c\u9032\u307f\u305d\u3046<\/p>\n<p>\u6587\u5b57\u3060\u3051\u7f85\u5217\u3055\u308c\u3066\u3082\u30fb\u30fb\u30fb\u30a4\u30e1\u30fc\u30b8\u306f\u5927\u4e8b\u3002<br \/>\n\u300c\u898b\u305f\u76ee\u300d\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u3001\u4e16\u306e\u4e2d\u306b\u306fMarkdown\u8a18\u6cd5\u306a\u308b\u30e2\u30ce\u3082\u3042\u308b\u3089\u3057\u3044<\/p>\n<p>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3084\u30b3\u30fc\u30c9\u304c\u3069\u3053\u304b\u306b\u3044\u3063\u3071\u3044\u8ee2\u304c\u3063\u3066\u308b\u3068\u5b09\u3057\u3044<\/p>\n<p>github\u3068\u304b<\/p>\n<p>\u901a\u52e4\u6642\u9593\u3092\u6709\u610f\u7fa9\u306b\u4f7f\u3044\u305f\u3044<\/p>\n<p>\u96fb\u8eca\u3067\u7247\u90531\u6642\u9593\u8d85<\/p>\n<p>\u4e0a\u8a18\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u74b0\u5883\u3092\u691c\u8a0e\u3057\u3001\u7d50\u679c\u300cVPS\u3092\u4f7f\u3063\u3066jupyter notebook\u3092\u52d5\u304b\u3059\u300d\u3068\u3044\u3046\u7d50\u8ad6\u306b<br \/>\n\u8fbf\u308a\u7740\u3044\u305f\u6b21\u7b2c\u3067\u3059\u3002<\/p>\n<h1>\u74b0\u5883\u69cb\u7bc9\u30e1\u30e2<\/h1>\n<p>\u73fe\u4ee3\u306b\u304a\u3044\u3066\u3001\u30c9\u7d20\u4eba\u304c\u906d\u9047\u3059\u308b\u6280\u8853\u7684\u8ab2\u984c\u3068\u3044\u3046\u306e\u306f\u91d1\u3068\u30b3\u30d4\u30da\u3067\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u5148\u4eba\u306e\u77e5\u6075\u306b\u611f\u8b1d\u3057\u3064\u3064\u3001\u4ee5\u4e0b\u306b\u74b0\u5883\u69cb\u7bc9\u4f5c\u696d\u3001\u53ca\u3073\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8\u30fb\u8a18\u4e8b\u3092\u7f85\u5217\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u30b4\u30fc\u30eb\u306f\u300cjupyter notebook\u3092\u30b9\u30de\u30db\u3067\u4f7f\u3046\u300d\u3067\u3059\u3002<\/p>\n<h2>0. \u5b8c\u5168\u7121\u6599\u3092\u76ee\u6307\u3059(\u304c\u3001\u65ad\u5ff5)<\/h2>\n<p>\u672c\u5f53\u306f\u300ccloud9\u300d\u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3063\u3066\u3001\u5b8c\u5168\u7121\u6599\uff06\u5b8c\u5168\u30af\u30e9\u30a6\u30c9\u3067\u9589\u3058\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u3002<br \/>\n\u3067\u3059\u304c\u3001\u7121\u6599\u67a0\u3067\u306f\u3084\u308a\u305f\u304b\u3063\u305f\u3053\u3068\u306b\u5bfe\u3057\u3066\u5bb9\u91cf\u304c\u53b3\u3057\u304f\u65ad\u5ff5\u3057\u307e\u3057\u305f\u3002<br \/>\n\u307e\u305f\u3001cloud9\u306e\u767b\u9332\u306b\u4eca\u306f\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306e\u756a\u53f7\u767b\u9332\u304c\u5fc5\u9808\u3068\u3044\u3046\u306e\u3082\u30c4\u30e9\u30a4\u3068\u3053\u308d\u3067\u3059\u3002<br \/>\n(\u305d\u3046\u306a\u308b\u524d\u306b\u767b\u9332\u3060\u3051\u306f\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u79c1\u81ea\u8eab\u306f\u30bb\u30fc\u30d5\u306a\u306e\u3067\u3059\u304c)<\/p>\n<p>\u305f\u3060\u3001\u300cjupyter notebook\u3092\u7acb\u3061\u4e0a\u3052\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u3060\u3051\u8003\u3048\u308c\u3070\u7279\u306b\u554f\u984c\u7121\u3044\u306e\u3067\u3001\u60c5\u5831\u306f\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\ncloud9\u81ea\u8eab\u3082\u3068\u3066\u3082\u4fbf\u5229\u306a\u306e\u3067\u3001\u3044\u308d\u3044\u308d\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>cloud9\u672c\u5bb6<br \/>\nCloud9\u3067\u7c21\u5358Jupyter\u74b0\u5883\u69cb\u7bc9<\/p>\n<h2>1. VPS\u306e\u5951\u7d04(\u6709\u6599)<\/h2>\n<p>\u5b8c\u5168\u7121\u6599\u306f\u65ad\u5ff5\u3057\u307e\u3057\u305f\u304c\u3001\u601d\u3048\u3070jupyter\u3060\u3051\u3092\u8a66\u3057\u305f\u3044\u3068\u3044\u3046\u308f\u3051\u3067\u3082\u7121\u304b\u3063\u305f\u305f\u3081\u3001\u601d\u3044\u5207\u3063\u3066<br \/>\n\u300c\u3055\u304f\u3089\u306eVPS\u300d\u3092\u5951\u7d04\u3057\u307e\u3057\u305f\u3002(\u6709\u6599)<br \/>\n\u3055\u304f\u3089\u306eVPS<\/p>\n<p>\u5951\u7d04\u306fweb\u4e0a\u3067\u5fc5\u8981\u4e8b\u9805\u3092\u8a18\u5165\u3057\u3066\u304a\u91d1\u3092\u652f\u6255\u3046\u3060\u3051\u3067\u3059\u3002<br \/>\n\u521d\u671f\u8a2d\u5b9a\u65b9\u6cd5\u306fqiita\u306b\u3082\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u3067\u3068\u308a\u3042\u3048\u305a\u5341\u5206\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3010\u3055\u304f\u3089\u306eVPS\u3011\u30b5\u30fc\u30d0\u306e\u521d\u671f\u8a2d\u5b9a\u30ac\u30a4\u30c9<\/p>\n<p>\u307e\u305f\u3001\u5f8c\u8ff0\u3059\u308bcloud9\u3084jupyter notebook\u3092\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3067\u7acb\u3061\u4e0a\u3052\u305f\u3044\u5834\u5408\u3001\u30c9\u30e1\u30a4\u30f3\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u3061\u3089\u306e\u5165\u624b\u306f\u300c\u3055\u304f\u3089\u306e\u30c9\u30e1\u30a4\u30f3\u300d\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002(\u6709\u6599)<br \/>\n\u53c2\u8003\u306b\u3057\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u60c5\u5831\u3002<br \/>\n\u30c9\u30e1\u30a4\u30f3\u3092\u5229\u7528 (\u3055\u304f\u3089\u3067\u53d6\u5f97\u30fb\u7ba1\u7406\u306e\u30c9\u30e1\u30a4\u30f3\uff09<br \/>\n\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u5229\u7528\u7533\u8acb\u65b9\u6cd5<\/p>\n<h2>2. cloud9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u672c\u5bb6cloud9\u3092\u4f7f\u3046\u3053\u3068\u306f\u65ad\u5ff5\u3057\u307e\u3057\u305f\u304c\u3001IDE\u3068\u3057\u3066\u306e\u6a5f\u80fd\u3084\u30d6\u30e9\u30a6\u30b6\u3067\u4f5c\u696d\u53ef\u80fd\u3068\u3044\u3046\u70b9\u3092\u8003\u3048\u3066<br \/>\ncloud9 SDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\nCloud9\u3092\u81ea\u30b5\u30fc\u30d0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3069\u3053\u3067\u3082\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u4e0a\u8a18\u306e\u8a18\u4e8b\u3092\u305d\u306e\u307e\u307e\u30b3\u30d4\u30da\u3057\u3066\u3044\u3051\u3070\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u74b0\u5883\u304cVPS\u3092\u5951\u7d04\u3057\u305f\u3066\u306e\u771f\u3063\u65b0\u306a\u5834\u5408\u306f<br \/>\n\u300ctmux\u300d\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002(\u5165\u308c\u306a\u3044\u3068\u3001\u8d77\u52d5\u753b\u9762\u304b\u3089\u5207\u308a\u66ff\u308f\u308a\u307e\u305b\u3093)<\/p>\n<pre class=\"post-pre\"><code>\r\nyum -y install tmux\r\n<\/code><\/pre>\n<p>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u300cNginx\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u5c1a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u306fstable\u3067\u3059\u3002(\u7279\u306b\u7406\u7531\u306f\u7121\u3057)<br \/>\nCentOS6 \u306b nginx \u3092 yum \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u6700\u5f8c\u306b\u6ce8\u610f\u4e8b\u9805\u3068\u3057\u3066\u3001\u300c1. VPS\u3092\u4f7f\u3046\u300d\u306b\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001<br \/>\ncloud9\u3092\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc\u306b\u306fsudo\u6a29\u9650\u306f\u4e0e\u3048\u3066\u3044\u307e\u305b\u3093\u3002(\u306a\u3093\u3068\u306a\u304f\u6050\u3044\u306e\u3067)<\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u30b9\u30de\u30db\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u3067\u3082\u74b0\u5883\u3092\u5f04\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>3. python\u74b0\u5883\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u304d\u307e\u3057\u305f\u3002<br \/>\n\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u3092\u76ee\u6307\u3059\u4eba\u306epython\u74b0\u5883\u69cb\u7bc9 2016<\/p>\n<p>conda\u306e\u30b3\u30de\u30f3\u30c9\u7b49\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\nAnaconda \u3067 Python \u74b0\u5883\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<p>\u3053\u3053\u3067\u4e00\u5fdc\u3001\u52d5\u4f5c\u78ba\u8a8d\u3082\u517c\u306d\u3066jupyter\u7528\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nconda create -n jupyter python=3.5 anaconda\r\n<\/code><\/pre>\n<h2>4. jupyter notebook\u3092\u4f7f\u3046<\/h2>\n<p>\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u898b\u306a\u304c\u3089\u9032\u3081\u307e\u3057\u305f\u3002<br \/>\n\u7279\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3084jupyter_notebook_config.py\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\njupyter notebook\u81ea\u4f53\u306e\u4f7f\u3044\u65b9\u306b\u3082\u8a73\u3057\u3044\u306e\u3067\u3001\u3068\u3066\u3082\u304a\u4e16\u8a71\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\nJupyter\u4e8b\u59cb\u3081<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u86c7\u8db3\u3067\u3059\u304c\u3001\u4e0a\u8a18\u306e\u8a18\u4e8b\u306b\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u60c5\u5831\u304c\u3042\u308a\u307e\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u305d\u308c\u306f\u300cChart\u3092\u4f5c\u6210\u3057\u3066\u307f\u308b\u300d\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u300c%matplotlib inline\u300d\u3067\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u6700\u521d\u3053\u308c\u3092\u5165\u308c\u3066\u304a\u3089\u305a\u3001\u4f55\u5ea6\u3084\u3063\u3066\u3082\u30b0\u30e9\u30d5\u304c\u8868\u793a\u3055\u308c\u305a\u30cf\u30de\u3063\u305f\u305f\u3081\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/ul>\n<p>jupyter notebook\u3092\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u3001\u300c\/etc\/nginx\/conf.d\/***.conf\u300d\u306b\u4ee5\u4e0b\u306e\u69d8\u306a<br \/>\n\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n(&#8220;ju.example.jp&#8221;\u3068\u30dd\u30fc\u30c8\u8a2d\u5b9a&#8221;9999&#8243;\u306f\u8a2d\u5b9a\u3057\u305f\u901a\u308a\u306b\u8aad\u307f\u66ff\u3048\u3066\u4e0b\u3055\u3044)<\/p>\n<pre class=\"post-pre\"><code>\r\nserver {\r\n    listen       80;\r\n    server_name  ju.example.jp;\r\n    location \/ {\r\n        proxy_set_header Upgrade $http_upgrade;\r\n        proxy_set_header Connection \"upgrade\";\r\n        proxy_set_header Origin \"\";\r\n        proxy_pass   http:\/\/127.0.0.1:9999;\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u3053\u307e\u3067\u6765\u308c\u3070\u3001\u30b9\u30de\u30db\u304b\u3089\u3067\u3082jupyter notebook\u3092\u5f04\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u52ff\u8ad6\u3001\u3069\u306ePC\u304b\u3089\u3067\u3082\u30d6\u30e9\u30a6\u30b6\u3055\u3048\u3042\u308c\u3070\u540c\u3058\u74b0\u5883\u306b\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>5. \u305d\u306e\u4ed6(\u30e1\u30e2)<\/h2>\n<p>\u79c1\u306f\u8a66\u3057\u3066\u3044\u307e\u305b\u3093\u304c\u3001docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u74b0\u5883\u69cb\u7bc9\u3057\u305f\u65b9\u304c\u3001\u7c21\u5358\u3067\u4eca\u98a8\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5834\u5408\u3001\u300c2. cloud9\u3092\u5165\u308c\u308b\u300d\u307e\u3067\u884c\u3044\u3001\u305d\u306e\u5f8c\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3059\u308c\u3070\u826f\u3044\u30cf\u30ba\u3067\u3059\u3002<br \/>\n\u307e\u305f\u3001jupyter notebook\u306e\u5f8c\u7d99\u3067jupyter lab\u3068\u3044\u3046\u306e\u304c\u3042\u308b\u305d\u3046\u3067\u3001\u305d\u3061\u3089\u306e\u8d77\u52d5\u306fdocker\u3092\u4f7f\u3044\u305f\u304f\u3001<br \/>\n\u672a\u6765\u306e\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>Docker\u3092\u5c0e\u5165\u3059\u308b\uff08CentOS\u7248\uff09<br \/>\nDocker\u3067Jupyter Notebook\u74b0\u5883\u3092\u304a\u624b\u8efd\u306b\u6e96\u5099\u3059\u308b(Tensorflow\u3084Graphviz\u3082\u3042\u308b\u3088\uff09<\/p>\n<p>\u5c1a\u3001\u6700\u65b0\u306edocker\u306fCentOS6\u3092\u6b63\u5f0f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u3001docker\u3092\u4f7f\u3046\u74b0\u5883\u306b\u3059\u308b\u5834\u5408\u306f<br \/>\nVPS\u306eOS\u306fCentOS7\u7cfb\u3001\u3082\u3057\u304f\u306f\u6b63\u5f0f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30e2\u30ce\u306b\u3059\u308b\u306e\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h1>\u6240\u611f<\/h1>\n<h2>\u74b0\u5883\u69cb\u7bc9\u306b\u3064\u3044\u3066<\/h2>\n<p>\u4ed5\u4e8b\u306e\u95a2\u4fc2\u3067unix\u306e\u30b3\u30de\u30f3\u30c9\u64cd\u4f5c\u304c\u591a\u5c11\u308f\u304b\u308b\u7a0b\u5ea6\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u77e5\u8b58\u306f0\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fb\u30fb\u30fb\uff1f<br \/>\n\u3053\u306e\u30ec\u30d9\u30eb\u306e\u4eba\u9593\u304c\u3053\u306e\u74b0\u5883\u3092\u4f5c\u308b\u306e\u306b\u30011\u65e51\uff5e2H\u4f5c\u696d(\u4f11\u65e5\u306f0H)\u3067\u5927\u4f53\u4e00\u304b\u6708\u639b\u304b\u308a\u307e\u3057\u305f\u3002<br \/>\n\u30cf\u30de\u308a\u30dd\u30a4\u30f3\u30c8\u3084\u95a2\u4fc2\u7121\u3044\u3053\u3068\u3092\u3057\u3066\u3044\u305f\u6642\u671f\u3082\u3042\u3063\u305f\u306e\u3067\u3001\u305d\u308c\u3092\u5dee\u3057\u5f15\u304f\u30682\u9031\u9593\u5f31\u3002<br \/>\n\u7dad\u6301\u306b\u304b\u304b\u308b\u30ea\u30a2\u30eb\u30de\u30cd\u30fc\u306f\u5e74\u959315000\u5186\u7a0b\u5ea6\u3002<br \/>\n\u5f97\u3089\u308c\u308b\u3082\u306e\u306f\u81ea\u5206\u6b21\u7b2c\u3067\u3059\u304c\u3001\u500b\u4eba\u7684\u306b\u306f\u3044\u308d\u3044\u308d\u3084\u3063\u3066\u3044\u304f\u30d9\u30fc\u30b9\u306f\u6574\u3063\u305f\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>jupyter notebook\u3092\u30b9\u30de\u30db\u3067\u4f7f\u3063\u3066\u307f\u308b<\/h2>\n<h3>\u30b3\u30fc\u30c9\u5b9f\u884c\u306b\u3064\u3044\u3066<\/h3>\n<p>\u79c1\u306fiphone6 plus\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u306a\u306e\u3067\u591a\u5c11\u753b\u9762\u306f\u5927\u304d\u76ee\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u308c\u3067\u3082\u3053\u306e\u753b\u9762\u3067\u672c\u683c\u4f5c\u696d\u306f\u53b3\u3057\u3044\u3067\u3059\u3002<br \/>\n\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u304c\u4e0d\u53ef\u80fd\u3068\u306f\u8a00\u3044\u307e\u305b\u3093\u304c\u3001\u5b9f\u7528\u7684\u306b\u306f\u305b\u3081\u3066\u30bf\u30d6\u30ec\u30c3\u30c8\u304c\u5fc5\u9808\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u52d5\u304f\u306e\u306f\u9593\u9055\u3044\u306a\u3044\u306e\u3067\u3001\u4e00\u90e8\u306e\u6570\u5b57\u3092\u5909\u3048\u3066\u52d5\u4f5c\u3092\u8a66\u3057\u3066\u307f\u308b\u7a0b\u5ea6\u3067\u3042\u308c\u3070\u51fa\u6765\u306a\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u4f8b\u3048\u3070\u300cIT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305f\u3081\u306e\u6a5f\u68b0\u5b66\u7fd2\u7406\u8ad6\u5165\u9580\u300d\u306fgithub\u306bjupyter notebook\u304c\u4e0a\u304c\u3063\u3066\u3044\u308b\u306e\u3067<br \/>\n\u96fb\u8eca\u306e\u4e2d\u3067\u6c17\u306b\u306a\u3063\u305f\u3068\u3053\u308d\u3092\u3061\u3087\u3053\u3063\u3068\u5909\u3048\u3066\u8a66\u884c\u3059\u308b\u7a0b\u5ea6\u306a\u3089\u30a4\u30b1\u305d\u3046\u3060\u306a\u3068\u611f\u3058\u307e\u3057\u305f\u3002<\/p>\n<p>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305f\u3081\u306e\u6a5f\u68b0\u5b66\u7fd2\u7406\u8ad6\u5165\u9580 Kindle\u7248<\/p>\n<h3>\u8aad\u307f\u7269\u3068\u3057\u3066<\/h3>\n<p>\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u306f\u3082\u3061\u308d\u3093\u5927\u4e8b\u306a\u306e\u3067\u3059\u304c\u3001Mackdown\u3067\u66f8\u304b\u308c\u305f\u30b3\u30e1\u30f3\u30c8\u3082\u898b\u6804\u3048\u304c\u826f\u3044\u3067\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001\u66f8\u304b\u308c\u305f\u30e2\u30ce\u306f\u8aad\u3080\u3060\u3051\u3067\u3082\u52c9\u5f37\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n(\u3080\u3057\u308d\u3001\u96fb\u8eca\u306e\u4e2d\u3067\u306f\u300c\u8aad\u307f\u7269\u300d\u3068\u3057\u3066\u306e\u5f79\u5272\u306e\u65b9\u304c\u5927\u304d\u3044)<\/p>\n<p>\u30b3\u30e1\u30f3\u30c8\u3092\u898b\u6804\u3048\u3088\u304f\u6b8b\u305b\u308b\u3068\u3044\u3046\u306e\u3082jupyter notebook\u306e\u7d20\u6674\u3089\u3057\u3044\u3068\u3053\u308d\u3060\u3068\u601d\u3046\u306e\u3067\u3001<br \/>\n\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u4eba\u306f\u662f\u975e\u305d\u3053\u3089\u8fba\u3082\u8003\u616e\u3057\u3066\u4f5c\u696d\u3057\u3066\u9802\u3051\u308c\u3070\u3068\u3002<\/p>\n<h1>\u4eca\u56de\u4f5c\u3063\u305fnotebook(\u304a\u307e\u3051)<\/h1>\n<p>\u74b0\u5883\u3060\u3051\u4f5c\u3063\u3066\u6e80\u8db3\u3059\u308b\u306e\u3082\u30a2\u30ec\u306a\u306e\u3067\u3001\u8a66\u3057\u306bnotebook\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u304a\u984c\u306f\u3001\u304b\u306e\u6709\u540d\u306f\u300c\u30cf\u30f3\u30d0\u30fc\u30ac\u30fc\u7d71\u8a08\u5b66\u300d\u3067\u3059\u3002<br \/>\n\u30cf\u30f3\u30d0\u30fc\u30ac\u30fc\u7d71\u8a08\u5b66\u306b\u3088\u3046\u3053\u305d\uff01<\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30e2\u30ce\u306f\u4ee5\u4e0b\u306b\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u6d41\u77f3\u306bPC\u3067\u4f5c\u308a\u307e\u3057\u305f\u304c\u3001\u4eca\u5f8c\u306f\u30bf\u30d6\u30ec\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u3084\u3063\u3066\u3044\u3051\u306a\u3044\u304b\u8a66\u3059\u4e88\u5b9a\u3067\u3059\u3002<br \/>\nhttps:\/\/github.com\/harataira0301\/hamburger_statistics_jupyter<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u632f\u308a \u3053\u306e\u8a18\u4e8b\u306f\u3001python\u3082\u7d71\u8a08\u3082\u74b0\u5883\u6574\u5099\u3082\u30c9\u7d20\u4eba\u306e\u4eba\u9593\u304c\u3001\u4ee5\u4e0b\u306e3\u70b9(+1)\u306b\u3064\u3044\u3066\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-46443","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>- Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"\u524d\u632f\u308a \u3053\u306e\u8a18\u4e8b\u306f\u3001python\u3082\u7d71\u8a08\u3082\u74b0\u5883\u6574\u5099\u3082\u30c9\u7d20\u4eba\u306e\u4eba\u9593\u304c\u3001\u4ee5\u4e0b\u306e3\u70b9(+1)\u306b\u3064\u3044\u3066\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-02T22:13:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T03:08:29+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-02T22:13:33+00:00\",\"dateModified\":\"2024-04-29T03:08:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"- Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/","og_locale":"zh_CN","og_type":"article","og_description":"\u524d\u632f\u308a \u3053\u306e\u8a18\u4e8b\u306f\u3001python\u3082\u7d71\u8a08\u3082\u74b0\u5883\u6574\u5099\u3082\u30c9\u7d20\u4eba\u306e\u4eba\u9593\u304c\u3001\u4ee5\u4e0b\u306e3\u70b9(+1)\u306b\u3064\u3044\u3066\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-02T22:13:33+00:00","article_modified_time":"2024-04-29T03:08:29+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-02T22:13:33+00:00","dateModified":"2024-04-29T03:08:29+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46443-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=46443"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46443\/revisions"}],"predecessor-version":[{"id":84911,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46443\/revisions\/84911"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}