<commit_before>pro setup
---------

    apt-get update
    apt-get dist-upgrade
    apt-get install -y aptitude build-essential automake autoconf autotools-dev libc-dev g++ libcurl4-openssl-dev ftp unzip sysv-rc-conf curl git cmake libssl-dev lbzip2 libbz2-dev luajit-5.1-dev luajit supervisor python-software-properties openssh-server

remove no need
--------------

    aptitude remove bind9 samba

update apt-get source list
----------------

http://mirrors.163.com/.help/ubuntu.html

locale
-------------

**cn**

    echo "zh_CN.UTF-8 UTF-8" > /var/lib/locales/supported.d/zh
    echo "en_US.UTF-8 UTF-8" > /var/lib/locales/supported.d/enus
    locale-gen
    update-locale LANG=zh_CN.UTF-8 LC_MESSAGES=POSIX

**en**

    echo "en_US.UTF-8 UTF-8" > /var/lib/locales/supported.d/enus
    locale-gen
    update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX

add user
--------

    groupadd siko
    useradd -g siko -d /home/siko -s /bin/bash -m siko
    visudo

set up service
--------------

    sysv-rc-conf

simple install apache mysql & php
---------------------------------

    apt-get install libapache2-mod-php5 mysql-server php-pear slapd php5-ldap php5-mysql php5-gd php5-curl php5-cli php5 php5-imap php5-mcrypt libgd-tools ldap-utils apache2-suexec apache2-doc mcrypt cronolog
    apt-get install php5-cgi php5-mysql php5-fpm php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
    service php5-fpm restart

php configure
-----------------

    sed "/^;error_log = syslog/s/^;//" -i php.ini
<commit_msg>add the vim keybinding<commit_after>pro setup
---------

    apt-get update
    apt-get dist-upgrade
    apt-get install -y aptitude build-essential automake autoconf autotools-dev libc-dev g++ libcurl4-openssl-dev ftp unzip sysv-rc-conf curl git cmake libssl-dev lbzip2 libbz2-dev luajit-5.1-dev luajit supervisor python-software-properties openssh-server

remove no need
--------------

    aptitude remove bind9 samba

update apt-get source list
----------------

http://mirrors.163.com/.help/ubuntu.html

locale
-------------

**cn**

    echo "zh_CN.UTF-8 UTF-8" > /var/lib/locales/supported.d/zh
    echo "en_US.UTF-8 UTF-8" > /var/lib/locales/supported.d/enus
    locale-gen
    update-locale LANG=zh_CN.UTF-8 LC_MESSAGES=POSIX

**en**

    echo "en_US.UTF-8 UTF-8" > /var/lib/locales/supported.d/enus
    locale-gen
    update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX
oooojj

add user
--------

    groupadd siko
    useradd -g siko -d /home/siko -s /bin/bash -m siko
    visudo

set up service
--------------

    sysv-rc-conf

simple install apache mysql & php
---------------------------------

    apt-get install libapache2-mod-php5 mysql-server php-pear slapd php5-ldap php5-mysql php5-gd php5-curl php5-cli php5 php5-imap php5-mcrypt libgd-tools ldap-utils apache2-suexec apache2-doc mcrypt cronolog
    apt-get install php5-cgi php5-mysql php5-fpm php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
    service php5-fpm restart

php configure
-----------------

    sed "/^;error_log = syslog/s/^;//" -i php.ini

{'fraction_non_alphanumeric': 0.16817906836055657, 'fraction_numerical': 0.029643073200241985, 'mean_word_length': 2.3505572441742655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '798007', 'n_tokens_mistral': 1341, 'n_tokens_neox': 1192, 'n_words': 286}