1.安装依赖 $ yum -y install gcc gcc-c++ kernel-devel make 2.下载安装包 $ wget http://luajit.org/download/LuaJIT-2.0.4.tar.gz 3.解压 $ tar zxvf LuaJIT-2.0.4.tar.gz 4.编译安装 $ cd LuaJIT-2.0.4 $ make $ make install