Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
8824e337
Commit
8824e337
authored
Aug 29, 2014
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server script
parent
fdc127a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
0 deletions
+110
-0
server/centos-6.sh
server/centos-6.sh
+68
-0
server/sle-11-sp3.sh
server/sle-11-sp3.sh
+42
-0
No files found.
server/centos-6.sh
0 → 100644
View file @
8824e337
sudo
yum
install
nodejs gcc gcc-c++ mesa-libGL-devel mesa-libGLU-devel git freetype-devel readline-devel sqlite-devel wget p7zip npm
-y
sudo
yum update
-y
wget http://mirrors.ustc.edu.cn/gnu/gcc/gcc-4.9.1/gcc-4.9.1.tar.bz2
tar
vfx gcc-4.9.1.tar.bz2
cd
gcc-4.9.1
./contrib/download_prerequisites
mkdir
build
cd
build
../configure
--enable-checking
=
release
--enable-languages
=
c,c++
--disable-multilib
make
-j2
sudo
make
install
cd
../../
wget http://www.lua.org/ftp/lua-5.2.3.tar.gz
tar
vfx lua-5.2.3.tar.gz
cd
lua-5.2.3
make linux
-j2
sudo
make
install
cd
..
wget
'http://downloads.sourceforge.net/project/irrlicht/Irrlicht%20SDK/1.8/1.8.1/irrlicht-1.8.1.zip?r=&ts=1405566830&use_mirror=superb-dca3'
-O
irrlicht-1.8.1.zip
unzip irrlicht-1.8.1.zip
cd
irrlicht-1.8.1
cd source
/Irrlicht
make sharedlib
-j2
sudo
make
install
cd
../../../
wget
'http://downloads.sourceforge.net/project/premake/Premake/4.4/premake-4.4-beta5-src.zip?r=http%3A%2F%2Findustriousone.com%2Fpremake%2Fdownload&ts=1405567840&use_mirror=iweb'
-O
premake-4.4-beta5-src.zip
unzip premake-4.4-beta5-src.zip
cd
premake-4.4-beta5/build/gmake.unix/
make
-j2
cd
../../bin/release
sudo cp
premake4 /usr/local/bin/
cd
../../../
curl
'https://cloud.github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz'
-o
libevent-2.0.21-stable.tar.gz
tar
vfx libevent-2.0.21-stable.tar.gz
cd
libevent-2.0.21-stable
./configure
make
-j2
sudo
make
install
cd
..
git clone https://github.com/mycard/ygopro.git
-b
server
cd
ygopro/
premake4 gmake
cd
build/
sed
-i
's/-I\/usr\/include\/irrlicht/-I\/usr\/local\/include\/irrlicht/g'
ygopro.make
make
config
=
release ygopro
-j2
cd
..
ln
-s
bin/release/ygopro ./
strip ygopro
cd
..
#ygopro lastest data
wget
--user-agent
=
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
https://my-card.in/mycard/download
-O
mycard.7z
7za x mycard.7z mycard-
$mycard_version
/ygocore
-y
yes
|
cp
-rf
mycard-
$mycard_version
/ygocore/
*
ygopro/
rm
-rf
mycard-
$mycard_version
mycard.7z
#ygopro-server
git clone https://github.com/mycard/ygopro-server.git
cd
ygopro-server
npm
install
sudo
npm
install
-g
coffee-script forever bunyan
ln
-s
../ygopro ygocore
\ No newline at end of file
server/sle-11-sp3.sh
0 → 100644
View file @
8824e337
sudo
zypper mr
-e
susecloud:SLE11-SDK-SP3-Pool
sudo
zypper mr
-e
susecloud:SLE11-SDK-SP3-Updates
sudo
zypper addrepo http://download.opensuse.org/repositories/devel:languages:nodejs/SLE_11_SP3/devel:languages:nodejs.repo
sudo
zypper addrepo http://download.opensuse.org/repositories/devel:tools:building/SLE_11_SP3/devel:tools:building.repo
sudo
zypper addrepo http://download.opensuse.org/repositories/games/SLE_11_SP3/games.repo
sudo
zypper addrepo http://download.opensuse.org/repositories/home:kukuk:sles/SLE_11_SP3/home:kukuk:sles.repo
sudo
zypper addrepo http://download.opensuse.org/repositories/home:draht/SLE_11_SP3_Update/home:draht.repo
sudo
zypper addrepo http://download.opensuse.org/repositories/home:PerryWerneck/SLE_11_SP3/home:PerryWerneck.repo
sudo
zypper
--gpg-auto-import-keys
--non-interactive
install
gcc47 gcc47-c++ git premake4 freetype2-devel readline-devel sqlite3-devel p7zip glu-devel irrlicht-devel libevent-devel nodejs nodejs-devel
wget http://www.lua.org/ftp/lua-5.2.3.tar.gz
tar
vfx lua-5.2.3.tar.gz
cd
lua-5.2.3
make linux
-j2
CC
=
gcc-4.7
sudo
make
install
cd
..
git clone https://github.com/mycard/ygopro.git
-b
server
cd
ygopro/
premake4 gmake
cd
build/
make
config
=
release ygopro
-j2
CXX
=
g++-4.7
CC
=
gcc-4.7
cd
..
ln
-s
bin/release/ygopro ./
strip ygopro
cd
..
#ygopro lastest data
wget
--no-check-certificate
--user-agent
=
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
https://my-card.in/mycard/download
-O
mycard.7z
7za x mycard.7z mycard-
$mycard_version
/ygocore
-y
yes
|
cp
-rf
mycard-
$mycard_version
/ygocore/
*
ygopro/
rm
-rf
mycard-
$mycard_version
mycard.7z
#ygopro-server
git clone https://github.com/mycard/ygopro-server.git
cd
ygopro-server
npm
install
sudo
npm
install
-g
coffee-script forever bunyan
ln
-s
../ygopro ygocore
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment