-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
52 lines (48 loc) · 2.38 KB
/
setup.sh
File metadata and controls
52 lines (48 loc) · 2.38 KB
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
45
46
47
48
49
50
51
52
apt update
apt install -y wget
#
mkdir -p /scripts/sh
#
wget -O /scripts/sh/setup.mysql.sh 'https://raw.githubusercontent.com/Altherneum/server/main/scripts/sh/setup.mysql.sh'
#
mkdir -p /DiscordBot/data
wget -O /DiscordBot/data/tokens.yml 'https://raw.githubusercontent.com/Altherneum/server/main/DiscordBot/data/tokens.yml'
#
mkdir -p /Serveurs/DataFolder
wget -O /Serveurs/DataFolder/tokens.yml 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/DataFolder/tokens.yml'
#
mkdir -p /Serveurs/Anarchie
wget -O /Serveurs/Anarchie/server.properties 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/Anarchie/server.properties'
#
mkdir -p /Serveurs/Creatif
wget -O /Serveurs/Creatif/server.properties 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/Creatif/server.properties'
#
mkdir -p /Serveurs/Hub
wget -O /Serveurs/Hub/server.properties 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/Hub/server.properties'
#
mkdir -p /Serveurs/RPG
wget -O /Serveurs/RPG/server.properties 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/RPG/server.properties'
#
mkdir -p /Serveurs/SkyBlock
wget -O /Serveurs/SkyBlock/server.properties 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/SkyBlock/server.properties'
#
mkdir -p /Serveurs/Survie
wget -O /Serveurs/Survie/server.properties 'https://raw.githubusercontent.com/Altherneum/server/main/Serveurs/Survie/server.properties'
#
wget -O /install.sh 'https://raw.githubusercontent.com/Altherneum/server/main/install.sh'
chmod +x /install.sh
#
wget -O /scripts/sh/setup.system.user.sh 'https://raw.githubusercontent.com/Altherneum/server/main/scripts/sh/setup.system.user.sh'
chmod +x /scripts/sh/setup.system.user.sh
# SSH WebHook
wget -O /etc/ssh/sshrc 'https://raw.githubusercontent.com/Altherneum/server/main/etc/ssh/sshrc'
chmod +x /etc/ssh/sshrc
# profile.d Discord WebHook
wget -O /etc/profile.d/discord-webhook.sh 'https://raw.githubusercontent.com/Altherneum/server/main/etc/profile.d/discord-webhook.sh'
chmod +x /etc/profile.d/discord-webhook.sh
# profile.d mail hook
wget -O /etc/profile.d/mail-hook.sh 'https://raw.githubusercontent.com/Altherneum/server/main/etc/profile.d/mail-hook.sh'
chmod +x /etc/profile.d/mail-hook.sh
# apache logging
wget -O /etc/logRedirect.sh 'https://raw.githubusercontent.com/Altherneum/server/main/etc/logRedirect.sh'
chmod +x /etc/logRedirect.sh