$ luarocks install luafan
full coroutine apis: http/httpd tcp/tcpd udp/udpd mariadb fifo.
Dependency:
libevent
openssl
libcurl
mariadb
ubuntu14.04 + luajit
===============
apt-get update
apt-get install -y wget lua5.1-dev lua5.1 luajit make gcc libc-dev libcurl4-openssl-dev libevent-dev git libevent-2.0-5 libevent-core-2.0-5 libevent-extra-2.0-5 libevent-openssl-2.0-5 libcurl3 cmake g++ bison libncurses5-dev libssl-dev
wget https://github.com/MariaDB/server/archive/mariadb-5.5.48.tar.gz
tar xzf mariadb-5.5.48.tar.gz
cd server-mariadb-5.5.48
cmake .
cd libmysql
make install
cd ../include
make install
cd
rm -rf mariadb-5.5.48.tar.gz server-mariadb-5.5.48
luarocks install luafan MARIADB_DIR=/usr/local/mysql
Versions
Dependencies
lua >= 5.1