<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>【笔记】YGOPro Server搭建脚本</title> <link>https://ygobbs2.com/t/%E3%80%90%E7%AC%94%E8%AE%B0%E3%80%91ygopro-server%E6%90%AD%E5%BB%BA%E8%84%9A%E6%9C%AC/89814</link> <description> sudo systemctl stop firewalld sudo yum update -y sudo yum install epel-release yum-utils -y sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos7/ curl --silent --location https://rpm.nodesource.com/setup_4.x | sudo bash - sudo yum install nodejs git gcc gcc-c++ sqlite-devel readline-devel openssl-devel wget unzip mono-complete -y sudo npm install pm2 -g mkdir lib cd lib wget http://download.redis.io/releases/redis-4.0.7.tar.gz tar xzfv redis-4.0.7.tar.gz cd redis-4.0.7 make sudo make install cp -rf src/redis-server .. cd .. pm2 start redis-server wget 'http://www.lua.org/ftp/lua-5.3.4.tar.gz' tar zxf lua-5.3.4.tar.gz cd lua-5.3.4 make linux test sudo make 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 unzip premake-4.4-beta5-src.zip cd premake-4.4-beta5/build/gmake.unix/ make cd ../../bin/release/ sudo 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 tar xf libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable/ ./configure make sudo make install sudo ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5 sudo ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 sudo ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5 sudo ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5 cd .. cd .. git clone --depth=1 https://github.com/purerosefallen/ygopro-server ygopro-server cd ygopro-server npm install cp -rf config_build config mkdir decks decks_save replays git clone --depth=1 https://github.com/purerosefallen/ygopro-7210srv ygopro cd ygopro premake4 gmake cd build make config=release cd .. ln -s bin/release/ygopro . strip ygopro mkdir replay git clone --depth=1 https://github.com/Smile-DK/ygopro-scripts script cd ../.. git clone --depth=1 https://github.com/purerosefallen/windbot cd windbot echo y | xbuild /property:Configuration=Release ln -s bin/Release/WindBot.exe . ln -s ../ygopro/cards.cdb . pm2 start pm2.json cd .. pm2 start ygopro-server.js</description> <language>zh-CN</language> <lastBuildDate>Sun, 18 Mar 2018 07:01:50 +0000</lastBuildDate> <category>游戏相关</category> <atom:link href="https://ygobbs2.com/t/%E3%80%90%E7%AC%94%E8%AE%B0%E3%80%91ygopro-server%E6%90%AD%E5%BB%BA%E8%84%9A%E6%9C%AC/89814.rss" rel="self" type="application/rss+xml" /> <item> <title>【笔记】YGOPro Server搭建脚本</title> <dc:creator><![CDATA[Nanahira]]></dc:creator> <description><![CDATA[ <pre><code>sudo systemctl stop firewalld sudo yum update -y sudo yum install epel-release yum-utils -y sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos7/ curl --silent --location https://rpm.nodesource.com/setup_4.x | sudo bash - sudo yum install nodejs git gcc gcc-c++ sqlite-devel readline-devel openssl-devel wget unzip mono-complete -y sudo npm install pm2 -g mkdir lib cd lib wget http://download.redis.io/releases/redis-4.0.7.tar.gz tar xzfv redis-4.0.7.tar.gz cd redis-4.0.7 make sudo make install cp -rf src/redis-server .. cd .. pm2 start redis-server wget 'http://www.lua.org/ftp/lua-5.3.4.tar.gz' tar zxf lua-5.3.4.tar.gz cd lua-5.3.4 make linux test sudo make 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 unzip premake-4.4-beta5-src.zip cd premake-4.4-beta5/build/gmake.unix/ make cd ../../bin/release/ sudo 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 tar xf libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable/ ./configure make sudo make install sudo ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5 sudo ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 sudo ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5 sudo ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5 cd .. cd .. git clone --depth=1 https://github.com/purerosefallen/ygopro-server ygopro-server cd ygopro-server npm install cp -rf config_build config mkdir decks decks_save replays git clone --depth=1 https://github.com/purerosefallen/ygopro-7210srv ygopro cd ygopro premake4 gmake cd build make config=release cd .. ln -s bin/release/ygopro . strip ygopro mkdir replay git clone --depth=1 https://github.com/Smile-DK/ygopro-scripts script cd ../.. git clone --depth=1 https://github.com/purerosefallen/windbot cd windbot echo y | xbuild /property:Configuration=Release ln -s bin/Release/WindBot.exe . ln -s ../ygopro/cards.cdb . pm2 start pm2.json cd .. pm2 start ygopro-server.js</code></pre> <p><a href="https://ygobbs2.com/t/%E3%80%90%E7%AC%94%E8%AE%B0%E3%80%91ygopro-server%E6%90%AD%E5%BB%BA%E8%84%9A%E6%9C%AC/89814/1">阅读整个主题</a></p> ]]></description> <link>https://ygobbs2.com/t/%E3%80%90%E7%AC%94%E8%AE%B0%E3%80%91ygopro-server%E6%90%AD%E5%BB%BA%E8%84%9A%E6%9C%AC/89814/1</link> <pubDate>Sun, 18 Mar 2018 07:01:50 +0000</pubDate> <guid isPermaLink="false">ygobbs2.com-post-89814-1</guid> <source url="https://ygobbs2.com/t/%E3%80%90%E7%AC%94%E8%AE%B0%E3%80%91ygopro-server%E6%90%AD%E5%BB%BA%E8%84%9A%E6%9C%AC/89814.rss">【笔记】YGOPro Server搭建脚本</source> </item> </channel> </rss>