search
LoginSignup
0
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

Organization

Elastic Beanstalkにmecabをインストール

ebextensionsに以下の設定ファイルを追加します。

.ebextensions/mecab.config
commands:
  000_install_mecab:
    test: test ! -d mecab-0.996
    command: |
        wget 'https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE' -O mecab-0.996.tar.gz
        tar xzf mecab-0.996.tar.gz
        cd mecab-0.996
        ./configure
        make
        make check
        sudo make install
        cd ~
  001_install_mecab_dic:
    test: test ! -d mecab-ipadic-2.7.0-20070801.tar.gz
    command: |
        wget -O mecab-ipadic-2.7.0-20070801.tar.gz "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM"
        tar zxvf mecab-ipadic-2.7.0-20070801.tar.gz
        cd mecab-ipadic-2.7.0-20070801
        ./configure --with-charset=utf8
        make
        sudo make install
        cd ~

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
0
Help us understand the problem. What are the problem?