- At least 6-8GB of RAM (of those 4GB will be used for a virtual machine)
- About 1GB of diskspace
- 1-2 hours of time (depends on your network speed)
- MacOSX 10.11.6
- VirtualBox 5.1.10
- Vagrant 1.8.7
Vagrant_provision.sh
below)Vagrant_provision.sh
below)# Change Desktop item's language to English | |
LANG=C xdg-user-dirs-gtk-update | |
# Update package list | |
sudo apt-get update | |
# Install required libraries | |
sudo apt-get install make git build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils | |
# Install pyenv script |
This is an instruction specifically designed to host a Wikipedia dump on mysql. Be aware the reserved spec for the VM below.
$ sudo apt-get -y install mecab libmecab-dev mecab-ipadic-utf8 git make curl xz-utils file
$ git clone --depth 1 https://github.com/neologd/mecab-ipadic-neologd.git
$ cd mecab-ipadic-neologd
$ ./bin/install-mecab-ipadic-neologd -n
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
exec $SHELL -l