The -r option instructs the daemon process to supervise and automatically restart its child process after a one second delay if it is terminated. The modified teamspeak rc.d startup script (below) adds -r to the daemon startup command line. When executing service teamspeak start the rc.d script /usr/local/etc/rc.d/teamspeak executes FreeBSD's builtin daemon(8) utility to start and daemonize the ts3server process. The usual service teamspeak start|stop|restart commands work as intended. The examples in this section are entirely optional. Stopping and Restarting Teamspeak 3 Server If for any reason this was not displayed then the password can be set by temporarily adding the following command line parameter to ts3server.ini: serveradmin_password='password' ![]() Loginname= “serveradmin”, password= “BAIPwM8X” Is started a ServerQuery password is printed to the console output: Server Query Admin Acccount created To gain global administration permissions for ServerQuery access, the first time the server instance ![]() Token=ppEa0Wp6hopKBzKhH5RiUtb5Ggve5aI8J7ifu+/P View the contents of the /var/log/teamspeak/ts3server_1.log file to obtain the ServerAdmin token used to gain administrative control of the Teamspeak server: ServerAdmin token created, please use the line below Other optional rc.conf configuration variables are available with their default values shown: teamspeak_pidfile="/var/db/teamspeak/teamspeak_server.pid"Ī synopsis of server_quickstart.txt - Section 8. To enable the teamspeak server add the following to /etc/rc.conf teamspeak_enable="YES" NOTE: When using sockets host= must be localhost for sockets to work. If the Teamspeak server daemon will be running on the same system as the MySQL server then you can optionally take advantage of MySQL sockets by replacing port=3306 with socket=/tmp/mysql.sock Use single quotes around the password to ensure that special characters are used correctly. Specify the MySQL username, password, and database name that was used when creating the TeamSpeak database. Only command line options that need to be altered from the defaults need be specified in ts3server.ini.Ĭreate a new database for the TeamSpeak 3 server on your MySQL server.Ĭreate a new MySQL user account with a mysql_native_password and grant it full rights to the Teamspeak 3 server database.Ĭreate the configuration file for the MySQL server connection /var/db/teamspeak/mysql.ini the filename is specified with dbpluginparameter= in ts3server.ini. ![]() Refer to /usr/local/share/doc/teamspeak3-server/server_quickstart.txt for the complete list including default values for each. Many other command line configuration options exist, such as changing the voice, query, or file transfer ports. Also note that the actual plugin filename(s) begin with lib but this is deliberately omitted when specifying dbplugin=ĭbsqlcreatepath= create_mariadb/ is only needed when starting the server instance for the first time and can be removed from configuration anytime thereafter. NOTE: As per Teamspeak documentation, the ts3db_mariadb plugin is used to connect to MySQL as well as MariaDB database servers. ![]() There is no pre-built package for teamspeak3-server due to the requirement to accept the license.Ĭreate a new server ini file /usr/local/etc/teamspeak/ts3server.ini with the following configuration: dbplugin=ts3db_mariadb To prevent build failures in Poudriere and Synth also add the following to /etc/nf as well as the port management's respective nf: DISABLE_LICENSES= yes If enabled, ensure your desired MySQL server version is specified in /etc/nf prior to installing teamspeak3-server. Enable the option only if you intend to install MySQL server, or if it is already installed on the local system. The database plugins the teamspeak3-server needs to connect to a MySQL database server are always installed in /usr/local/lib/teamspeak/server/ irrespective of this setting. It is not required to enable this as It will only add MySQL server as a required installation and runtime dependency of teamspeak3-server on the local system. The configuration dialog has an option to enable MySQL database support. TeamSpeak 3 Server will connect to a MySQL Server for its database and works with MySQL 5.5 or higher. This article will detail the installation and configuration of TeamSpeak 3 Server from ports - audio/teamspeak3-server TeamSpeak 3 Server with MySQL Database - audio/teamspeak3-server
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |