-
Notifications
You must be signed in to change notification settings - Fork 1
/
install
54 lines (54 loc) · 4.85 KB
/
install
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
53
54
#!/bin/bash
# Github: @ertugrulturan / T13R / L1nux-Dev
if ! [ $(id -u) = 0 ]; then
echo "sadece root kullanicida kurulum yapilir!"
exit 1
fi
if [ ! -f /bin/netstat ]; then
# Netstat centos/debian/ubuntu kurulumu + tüm os sistem güncelleme
yum -y install net-tools > /dev/null 2>/dev/null &
apt-get update > /dev/null 2>/dev/null &
apt-get -y install net-tools > /dev/null 2>/dev/null &
fi
if [ ! -f /usr/bin/sar ]; then
# Sysstat centos/debian/ubuntu kurulumu + tüm os sistem güncelleme
yum -y install sysstat > /dev/null 2>/dev/null &
apt-get update > /dev/null 2>/dev/null &
apt-get -y install sysstat > /dev/null 2>/dev/null &
fi
if [ ! -f /usr/bin/bc ]; then
# bc centos/debian/ubuntu kurulumu + tüm os sistem güncelleme
yum -y install bc > /dev/null 2>/dev/null &
apt-get update > /dev/null 2>/dev/null &
apt-get -y install bc > /dev/null 2>/dev/null &
fi
if [ ! -d /tmp ]; then
mkdir -p /tmp
fi
# t1looker olusturup calistirabilinir hale getirme
echo 'IyEvYmluL2Jhc2gKd2hpbGUgOgpkbwpDUFVnb3N0ZXI9YHNhciAtdSAgMSAxIHwgZ3JlcCBBdmVyYWdlOiB8IGF3ayAne3ByaW50ICQzfSdgCmJsb2NrPWBmZGlzayAtbHwgZ3JlcCBJL098ICBhd2sgJ3twcmludCAkN30nfCBoZWFkIC0xYApSQU1nb3N0ZXI9YHNhciAtciAgMSAxIHwgZ3JlcCBBdmVyYWdlOmAKdXNlZD1gZWNobyAiJFJBTWdvc3RlciIgfCBhd2sgJ3twcmludCAkM30nfCB0ciAuICcgJyB8IGF3ayAne3ByaW50ICQxfSdgCmJ1ZmZlcj1gZ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AgIyMgIyMgICMjICAgLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiAgICAjIyAgICAjIyMjIyMgIyMjIyMjIyMgICMjIyMjIyMgICAjIyMjIyMjICAjIyAgICAjIyBHaXRodWI6IEBlcnR1Z3J1bHR1cmFuCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgIC0tLT4gQmVzdCBMNC9MNyBBbnRpLUREb1MgSG9zdGluZyBCeSBERG9TVGVjaC5Db20gPC0tCgogIENQVSBrdWxsYW5pbWk6IH4nJENQVWdvc3RlciclIAlSQU0ga3VsbGFuaW1pOiB+JyRSQU1rdWxsYW5pbWknTUIKCiAgIDgwIHBvcnR1IGdpZGVuIHRvcGxhbSBpc3RlayBzYXnEsXPEsTogJyRwb3J0ODByZXF1ZXN0cycJKCckcG9ydDgwbnVtYmVyaXAnIElQIEFkcmVzaSBpc3RlZ2kpCSAKICAgNDQzIHBvcnR1IGdpZGVuIHRvcGxhbSBpc3RlayBzYXnEsXPEsTogJyRwb3J0NDQzcmVxdWVzdHMnCSgnJHBvcnQ0NDNudW1iZXJpcCcgSVAgQWRyZXNpIGlzdGVnaSkJCgkJCQkJCQkJCQkJCgkgTGF5ZXI3L1dlYiBpY2luIGt1cnVsYW4gdG9wbGFtIGJhZ2xhbnRpIHNheWlzaToJCSAgICAgICAgICAgIAkKCSBQb3J0IDgwOiAnJHBvcnQ4MHRoaWV0bGFwJyBCYWdsYW50aQkJICAgIAkJCgkgUG9ydCA0NDM6ICckcG9ydDQ0M3RoaWV0bGFwJyBCYWdsYW50aQkJCQkKCiciJGNvbHVtbiInJyAgCmRvbmU=' | base64 --decode > t1look
chmod +x t1look
mv t1look /usr/bin/
clear
echo "[# ] %5 Yukleniyor..."
sleep 2
clear
echo "[## ] %15 Yukleniyor..."
sleep 5
clear
echo "[#### ] %20 Yukleniyor..."
sleep 10
clear
echo "[##### ] %30 Yukleniyor..."
sleep 5
clear
echo "[######### ] %80 Yukleniyor..."
sleep 8
clear
echo "[########## ] %90 Yukleniyor..."
sleep 1
clear
echo "[###########] %100 Basariyla Kuruldu"
echo 't1look kuruldu!'
echo "$ t1look"
echo "Komutunu kullanarak yazılımı çalıştırabilir CTRL+C Yaparak durdurabilirsiniz.."