forked from BadDeathclaw/bad-deathclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server-setup.txt
44 lines (41 loc) · 1.21 KB
/
server-setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//BYOND\\
cd /var
mkdir www
cd www
wget http://www.byond.com/download/build/511/511.1385_byond_linux.zip
wget http://www.byond.com/download/build/gcc/libstdc++-libc6.2-2.so.3
wget http://www.byond.com/download/build/gcc/libstdc++.so.5
cp libstdc++-libc6.2-2.so.3 /usr/local/lib/
cp libstdc++.so.5 /usr/local/lib/
dpkg --add-architecture i386
apt-get install make
apt-get install unzip
apt-get install lib32z1
apt-get install lib32stdc++6
ufw allow 1942
unzip 511.1385_byond_linux.zip
cd byond
make install
DreamDaemon -version
cd ..
//CODE\\
git clone https://[email protected]/Digdugxx/bad-deathclaw.git
cd bad-deathclaw
//DATABASE\\
find . -maxdepth 1 -iregex ".*libmysql.*" -exec cp {} /usr/lib32/ \;
find . -maxdepth 1 -iregex ".*libmaria.*" -exec cp {} /usr/lib32/ \;
apt-get install mariadb-server
mysql_secure_installation
systemctl start mysql
systemctl enable mysql
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
mysql -u root
CREATE DATABASE feedback;
source SQL/tgstation_schema_prefixed.sql
exit
// Default port: 3306
nano config/dbconfig.txt
// Enable SQL, set ADDRESS to localhost (NOT 127.0.0.1), enter password, user is root
//SERVER\\
DreamMaker fallout13.dme
DreamDaemon fallout13.dmb 1942 -trusted -private