` sudo -E yum update -y sudo -E yum install epel-release yum-utils -y sudo -E rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" curl https://download.mono-project.com/repo/centos7-stable.repo | sudo -E tee /etc/yum.repos.d/mono-centos7-stable.repo curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo -E bash - sudo -E yum install nodejs git gcc gcc-c++ sqlite-devel readline-devel openssl-devel wget mono-complete -y sudo -E npm install pm2 -g
mkdir lib cd lib
wget https://nchc.dl.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 --no-check-certificate tar jxvf p7zip_16.02_src_all.tar.bz2 cd p7zip_16.02 sudo -E make all3 install cd ..
wget http://download.redis.io/releases/redis-4.0.9.tar.gz --no-check-certificate tar xzfv redis-4.0.9.tar.gz cd redis-4.0.9 make sudo -E make install sudo -E cp -rf src/redis-server /usr/bin/ cd .. pm2 start redis-server
wget 'http://www.lua.org/ftp/lua-5.3.4.tar.gz' --no-check-certificate tar zxf lua-5.3.4.tar.gz cd lua-5.3.4 sudo -E make linux test install cd ..
wget 'http://downloads.sourceforge.net/project/premake/Premake/4.4/premake-4.4-beta5-src.zip?r=&ts=1457170593&use_mirror=nchc' -O premake-4.4-beta5-src.zip --no-check-certificate 7z x -y premake-4.4-beta5-src.zip cd premake-4.4-beta5/build/gmake.unix/ make cd ../../bin/release/ sudo -E cp premake4 /usr/bin/ cd ../../../
wget 'https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz' -O libevent-2.0.22-stable.tar.gz --no-check-certificate tar xf libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable/ ./configure make sudo -E make install sudo -E ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5 sudo -E ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 sudo -E ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5 sudo -E ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5 cd ..
cd ..
git clone https://github.com/moecube/srvpro ygopro-server cd ygopro-server npm install
git clone https://github.com/moecube/ygopro --branch=server --recursive cd ygopro/ git submodule foreach git checkout master premake4 gmake cd build/ make config=release cd .. ln -s bin/release/ygopro ./ strip ygopro cd ..
git clone --depth=1 https://github.com/IceYGO/windbot cd windbot yes | xbuild /property:Configuration=Release ln -s bin/Release/WindBot.exe . ln -s ../ygopro/cards.cdb . cd .. `