个人工具

UbuntuHelp:MythTV/Install/Server/Feisty+/Frontend config common

来自Ubuntu中文

跳转至: 导航, 搜索

The next page is for configuring connection to the backend server:

5> Frontend_config_common?action=AttachFile&do=get&target=FE_2.png Host name is the network address of the backend server
Database is mythconverg by default- do not change
User is mythtv by default- do not change
Password is the password for the mythconverg database
Database type is MySQL by default- do not change
  • If you are unsure of the settings and you setup the backend using Ubuntu, you can get both the network address and the mysql password by opening a terminal on (or ssh session to) the backend machine and:
$ ifconfig

to get the network address, and:

$ more /etc/mythtv/mysql.txt

You will see something like:

DBHostName=localhost
DBUserName=mythtv
DBName=mythconverg
DBPassword=bsbmcdar

DBPassword is your mysql password. Enter the value following = in the frontend setup.

  • If you didn't install the backend with Ubuntu and you are unsure of the correct settings, you can get them by running ~+`mythtv-setup`+~ on the backend.
    • You can safely ignore the warning about the backend being running as long as you do not make any changes.
    • The settings you need are under 1. General, when you have them written down, ~+`ESC`+~ twice and then ~+`OK`+~ to exit.
  • The default for the backend's mysql database is to only be accessible from the local machine. To connect to it from a frontend running on another machine, you will need to comment out the "bind-address=107.0.0.1" in the backend machine's /etc/mysql/my.cnf and restart mysql with "/etc/init.d/mysql restart".

The last screen you may or not need to change:

2> Frontend_config_common?action=AttachFile&do=get&target=FE_3.png Do not check this box unless you know exactly what you are doing. It will cause errors if used incorrectly. You have been warned.
Wake-on-LAN is an advanced setting and beyond the scope of this guide. If you know how to use this setting, feel free. If not, leave it for later. Default is off.

Watch some TV

When you are finished configuring the frontend, it will restart. If your backend machine is up and running, you can watch LiveTV- or continue configuring your frontend by adding themes, etc.

~+ENJOY!+~