Tuesday, July 18, 2006

Herpes Outbreaks During Bootcamp

Tutorial: Teamspeak on Linux

Toturial This deals with the installation / configuration of a TeamSpeak server on Linux.

---------------------------------------------- -------
Author: Michael Weishaar
Homepage: HowTo DB.net

Content:


Installation:
- 1.0 - Prepare
system - 1.1 - Download / Install files
- 1.2 - Start Teamspeak

configuration:
- 1.3 - The web interface
- 1.4 - The server.ini
- 1.5 - The server.log
- 1.6 - The server.dbs
- 2.0 - Router configuration
- 3.0 - Create backup
- 4.0 - Install a Banner

- FAQ (Frequently Asked Questions) FAQ Official and / or TeamSpeak access
(At this point time thanks to the complete TSE team especially at Ch'ih-Yu, who made the effort to the home page including the FAQ system is set up!)
------------------------ ----------------------------- -------------------

---------------------------------------
1.0 System prepare
- -------------------------------------------------- ------
We open the console or log us via SSH.

We will root with: su



First we create a new user, so that we can later run TeamSpeak with him

useradd ts


Now we have added a new user.
We create the user "ts" a directory with:

mkdir / home / ts


Now we must assign to the user "ts" a home directory, run in which he all necessary rights for the for TeamSpeak will possess:

chown-R ts / home / ts


The user now requires only a password with which they can log in via SSH:

passwd ts


Now we must enter the password.
We change to the user "ts with:

su ts


Now we can move with the user in our home directory:

cd / home / ts


---- -------------------------------------------------- ----
1.1 File Download / Install
----------------------------------- -----------------------
So, now's it. We invite our team to speak to our computers:
(Gentoo users can simply "emerge teamspeak2-server-bin" in the console and then continue with the same item 1.2)

wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/
releases/ts2_server_rc2_20201.tar.bz2


(current links on the homepage offliziellen : http://www.goteamspeak.com ) Depending upon the connection of the computer, the download may take some time. can


tar jxvf ts2_server_rc2_20201.tar.bz2

Depending on performance this may take some time to complete:
We unpack the archive with.

------------------------------------------------ start ----------
1.2 TeamSpeak
------------------------------- ---------------------------
Now we go with:

cd tss2_rc2

just unpacked in our directory.
Since TeamSpeak a startup script included requires only a:

./teamspeak2-server_startscript start


to start the server. If a:

TeamSpeak Server Daemon started with PID ****


appears, he has started successfully. The whole thing we can add: Check

./teamspeak2-server_startscript status


lot again. Other Commands:

• ./teamspeak2-server_startscript stop - Stops the server

./teamspeak2-server_startscript • restart - Restarts the server

• ./teamspeak2-server_startscript passwords - Is the Super Admin and Admin password from - Which brings us to the next point. We write:

./teamspeak2-server_startscript passwords


in the console to the super admin password to get. (This is not a standard but a password-generated, it does not have to be changed!)

------------------------------- ---------------------------
1.3 WebInterface
-------------- --------------------------------------------
Now we can on the browser with


http://ip.des.servers:14534


or


http://localhost:14534


log into the web interface. The interface itself is self-explanatory.

Back to the shell: In
teamspeak directory we find the server.ini, that: mcedit

server.ini


can be opened.

------------------------------------------------ -------
If that does not mcedit, the mc-editor will only Installed:

Debian: Easy Enter "apt-get install mc".
Gentoo: Just type "emerge mc".
All other distributions: click

The package is then installed with "rpm-ivh PACKAGE" (Under Debian and Gentoo, this step is not necessary)
-------------- ----------------------------------------- -------

-------------------------------------------------- -
1.4 server.ini
-------------------------------------- --------------------
[Main Config]
BoundToIp1 - values 0.0.0.1 through 255.255.255.255 - Default: empty - If the server has multiple IP addresses "owned" can Teamspeak assigned an IP be.
ExternalIPDetection - values 0 or 1 - Default: 1 - This function should remain at 1, as the TeamSpeak server will even referring to the server IP "concerned."
HTTPServer Port - values: 1 through 65535 - standard value: 14534 - This is the port for web interface of TeamSpeak.
HTTPServer Enabled - values: 0 or 1 - standard value: 1 - This function determines if the web interface or should be turned off.
DateTimeFormat - values: any changed - Default: nn:: dd-mm-yyyy hh ss - The time for Teamspeak
TCPQueryPort - values: 1 through 65535 - standard value: 51234 - Specifies the port to access the server via Telnet (advanced).
AllowedClientNameChars - values: AZ + special characters - default: empty - The permitted letters / characters in the nickname of clients to the server connect (makes more sense to the next setting).
DisAllowedClientNameChars - values: AZ + special symbol - standard values: ()[]{} - may occur The letters / symbols which are not the nickname of the client.

[Debug]
message types - values? - Default: This setting LMTALL best LMTALL
MessageDepths - values? - Default: LMDALL - This setting is best LMTALL

[WebPost]
These settings can be comfortably managed in the web interface (Global Settings).

[Log]
access_r - values 0 or 1 Default: 0 - Logs the action registered (If a user registers or joins the server)
access_u - values 0 or 1 Default: 0 - Logs the action registered (If a person registers or joins the server)
channel_registered - values 0 or 1 Default: 0 - Logs the Action registered channel (If a channel is registered or erased)
channel_unregistered - values 0 or 1 Default: 0 - Logs the action unregistered channel (If a unregistered channel is created)
Sat - values 0 or 1 Default: 0 - Logs the action server admin (If a server admin joins the server / get someone ServerAdmin / somebody ServerAdmin taken away from)
chat - values 0 or 1 Default: 0 - Logs the action Chat (If User / admin / registered under via chat)
kick_server - values 0 or 1 Default: 0 - Logs the action server (If somebody kicked from the server) is
kick_channel - values 0 or 1 Default: 0 - Logs the action channel (If somebody is kicked from a channel)

[Spam]
These settings can be managed comfortably in the web interface (Global Settings ).


----------------------------------------------- -----------
1.5 The server.log
---------------------------- ------------------------------
be in her


• The results of the log settings for the server.ini stored. •
saved configuration changes. (Start the server / start a virtual server etc..)
• Any errors stored. (Useful here in the forum!)

----------------------------------------- -----------------
1.6 server.dbs
---------------------- ------------------------------------
• In server.dbs all information about the virtual servers stored. (Among other things, the channel, server name, etc..)


------------------------------------ ----------------------
2.0 Router configuration
--------------------
-------------------------------------- If you use a router on the internal network, it must be configuration settings on the router make, before other users with your TeamSpeak server outside the internal network, so they can connect to the Internet. You yourself have up with the internal IP to connect 192.168.xx So, if you installed the server on your private network.
because there are countless models of routers, it is very difficult to explain this as simply as possible. You have to think for yourself a little. Normally all routers

have its own "home page" can be made in the various settings.
So open the browser and enter http://192.168.0.1



one. If appear a window with a password prompt, the user typically

admin


and password

1234

If you are sure that you user name and password you entered correctly, and weather the access is denied => read the manual of the router.
If the window does not appear, so you can try it with

http://192.168.1.1


. If the window still does not appear => read the manual of the router.

I assume that we are now on the home page of the Router Homepage " . Are Please do not change any settings unless you know what it means.
As I said, there are many different models of routers, so you must own the "home page" to "Port Forwarding" Search "Port Sharing", "Virtual Server", "ports" or something similar.
There should be at least 2 text fields:
The text box in the required port is entered and the text box in your local IP address must be entered (192.168.xx). TeamSpeak uses the following ports:

- 8767 would be the standard UDP port. (Only the latter is necessary in order to connect to the server from outside. If a new virtual server is started on port 8768, then the port-sharing must also be configured for this)

- 14534 would be the TCP WebInterfaceport. (The Administration)

- 51234 would be the TCP Telnet port. (Advanced)

After entering the desired port on the button "Save", "commit" or something similar, otherwise the settings are not saved!

------------------------------------------------ create ----------
3.0 Backup
------------------------------- ---------------------------
Sometimes it makes sense, in between making a backup (backup) of the TeamSpeak server. In the event of a takeover of the server or through stupidity it can happen soon, that is with empty hands. Just in this section, we want to prevent that (There are also other ways to create a backup of files, however, are the scripts which require more knowledge of Linux as a beginner, you can damage both the system's why we will do it on the ".. simple way.)

For us, that is, the server.dbs (in which the information for all servers, channels etc. are included) and the server.ini (contained in the complete information about the settings of the TeamSpeak server) important.
Since we are lazy and have no desire to copy the files to another PC / server, we will pack the two files into a. Tar.gz archive. So we go into our teamspeak directory and type: tar-

cvzf backup.tar.gz server.dbs server.ini


And already we have every two files in the archive.
Now we have several ways to get the archive from the server. We take one of the easiest: WinSCP
The program is actually self-explanatory. As simply log with a SSH client. From there you can, as in Explorer just download the file on the local PC.

And already we're done!

If we want to work back up again, we copy the file with WinSCP from your PC to the server (the teamspeak directory) and type:

tar-zxvf backup.tar.gz


------------------------------ Install ----------------------------
4.0 Banner
------------- ---------------------------------------------
the final release of TeamSpeak 2 is it possible to install a banner in TeamSpeak. This is in the client in there, showing where in the channel information. Currently, there is unfortunately only possible to configure a banner for the whole server and not for the individual virtual. Another problem: If the client changes its window size, the banner is in the same proportions.

. IMPORTANT: The banner must be in jpg format, otherwise it will not be displayed!

We have to log in as usual with the SSH client, to the teamspeak directory and the command mcedit

server.ini


(or other editors such as nano, pico, vi ...) the configuration file teamspeak open.
There we find the entry

ISPLinkURL =


we modify as follows

ISPLinkURL = http://www.deinedomain.de/


This setting is the banner with the specified URL link. The client deinedomain.de will be redirected to when they click on the banner. If you want to not do that, then just leave this setting blank.

very bottom of the server.ini we enter the following:

[ISP] GFX URL = http://www.deinedomain.de/images/banner.jpg


What you see is there now is the absolute path to the banner.
If you used the mceditor to end with "F10" again (But do not forget to save). That just made our
settings are also recognized by the server, we need the TeamSpeak server with

./teamspeak2-server_startscript restart


just reboot.

(The banner is stored in the imagecache.ini the client. Unfortunately, the banner is not updated when you change the banner again. The user will most likely still have the banner until he re-formatted whatsoever. Through the image cache. ini (the file is hidden - C: \\ Documents and Settings \\ your name \\ Application Data \\ teamspeak2 \\), the banner will be updated again)

0 comments:

Post a Comment