nginx直接安装方法
groupadd nginx useradd -g nginx -s /sbin/nologin nginx ##cp libsodium.so.23.3.0 /usr/local/lj2/lib/ ##ln -s /usr/local/lj2/lib/libsodium.so.23.3.0 /lib64/libsodium.so.23.3.0 ##ln -s /usr/local/lj2/lib/libsodium.so.23.3.0 /lib64/libsodium.so.23 yum install libsodium libsodium-devel apt install -y libsodium23 libsodium-dev libcurl4-openssl-dev cat /etc/ld.so.conf 增加 /usr/local/lua/lib 生效 ldconfig cp libluajit-5.1.so.2 /usr/local/lua/lib/libluajit-5.1.so.2 或者 tar zxvf LuaJIT-2.1.0-beta3.tar.gz cd LuaJIT-2.1.0-beta3 make make install PREFIX=/usr/local/lua ln -s /usr/local/lua/lib/libluajit-5.1.so.2 /lib64/ export LUAJIT_LIB=/usr/local/lua/lib/ export LUAJIT_INC=/usr/local/lua/include/luajit-2.1/ echo 'export LUAJIT_LIB=/usr/local/lua/lib/' >> /etc/profile echo 'export LUAJIT_INC=/usr/local/lua/include/luajit-2.1/' >> /etc/profile source /etc/profile yum install libsodium libsodium-devel
请登录之后再进行评论