Tag: vps

  • compile install mysql 5.6.10 and optimize for low memory VPS on debian 6

    compile # download mysql-5.6.10 from https://dev.mysql.com/downloads/mysql/ tar zxf mysql-5.6.10 cd mysql-5.6.10 # set default charset to utf8 cmake -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci # install to /usr/local/mysql make && make install initialize database # create user mysql and change owner of /usr/local/mysql to mysql groupadd mysql useradd mysql -g mysql chown -R mysql:mysql /usr/local/mysql # still in mysql-5.6.10…