Jump to content

Instalarea Teamspeak 3 Server + Script De Autopornire


Recommended Posts

Salutare fratilor, astazi vin cu un tutorial de instalare a unui server de TeamSpeak 3 + script de autopornire, ce poate fi instalat pe un sistem de operare "LINUX" nu Windows
Acest material a fost testat de mine pe diferite sisteme de operare precum Centos si Ubuntu.
Primul pas este conectarea la VPS prin Putty, urmat de urmatoarele comenzi in consola linux:
1. Creaza nou user
adduser ts3user                 
2. Selecteaza user pentru acordarea parolei
passwd ts3user
3. Tastati parola pentru user
(enter the pass)                 
4. Mergem in:
cd /home
5. Dam permisiile necesare folderului ts3user 
chmod 755 ts3user
6. Descarcam fisierul tar.gz 
wget http://dl.4players.de/ts/releases/        
7. Dezarhivam fisierului tar.gz
tar -zxvf teamspeak3-server_linux-x86-               
8. Schimbam numelui folderului de baza   
mv teamspeak3-server_linux-x86 ts3server                       
9. Pornim serverul pentru prima oara pentru crearea fisierul ts3server.ini
./ts3server_minimal_runscript.sh createinifile=1                    
10. In caz ca nu avem nano instalat, il vom instala
yum install nano
11. Deschidem fisierul ts3server si adaugam ip la urmatoarele linii:
voice_ip=, filetransfer_ip=, query_ip=
nano ts3server.ini
12. Si cel mai importanta este deschiderea porturilor necesare:
iptables -A INPUT -p udp --dport 9987 -j ACCEPT
iptables -A INPUT -p tcp --dport 30033 -j ACCEPT
iptables -A INPUT -p tcp --dport 10011 -j ACCEPT
Comenzi de pornire, stop si restart server ts3
./ts3server_startscript.sh start   
./ts3server_startscript.sh stop
./ts3server_startscript.sh restart

# chkconfig: 2345 99 10
cd $TS3
case "$1" in
su $USER -c "$STARTSCRIPT start"
su $USER -c "$STARTSCRIPT stop"
su $USER -c "$STARTSCRIPT restart"
su $USER -c "$STARTSCRIPT status"
echo "Usage $0 start|stop|restart|status"

1. Modificam linia care contine cale catre serverul ts3 
(ex. /home/ts3user/ts3server) si userul  
nano /etc/init.d/teamspeak
2. Urcam scriptul prin FTP in:
3. Dam permisiunile necesare pentru rulare script
chmod 755 /etc/init.d/teamspeak
4. Adaugam comenzile pentru autopornirea scriptului teamspeak
chkconfig --add teamspeak
chkconfig --level 2345 teamspeak on
In cazul in care s-a comis o greseala stergem userul si folderul aces userdel -r ts3user
Acesta a fost tutorialul meu de instalare a unui server de teamspeak 3 pe un vps cu sistem de operare linux cu autopornire.
Succes pe viitor ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.