Talk:Ubuntu Dapper Installation

From MythTV Official Wiki
Revision as of 05:26, 2 November 2006 by Fuzzywuzzy (talk | contribs) (sudo)

Jump to: navigation, search

Discussion and comments on Ubuntu Dapper Installation

Please put any comments, suggestions, or questions regarding the HOWTO in this WIKI entry, and not in the HOWTO's entry.

Cowmix asked, in the entry

/usr/bin/ratpoison& <=== What is this?

ratpoison is a window manager


FYI.. Not Familiar with Rat but don't you need an xserver.. gdm xdm?? I had installed xdm and it works great!

Here are some Deps for Myth 2.0

deb http://home.eng.iastate.edu/~superm1 dapper main deb-src http://home.eng.iastate.edu/~superm1 dapper main

So far they work ok.. For some reason dvd_setting.xml never gets installed. I had to use the one from my other mythbox.

MySQL questions

  1. In Section 5 (MySQL setup) the instructions create a root password but the note says not to create a password until after the installation. Does anyone know which way is right? Also, I never see when mc.sql is imported into mysql. Is it not necessary?

MySQL Answers

  1. The pre-compiled packages ask you for the root MySQL password during installation. They then load mc.sql automatically.

sudo

Since the howto is preceeded by the instruction to run all commands as root (either sudo -i or other means), is there a reason that some commands are preceeded by 'sudo'? Were we really supposed to run some commands as a restricted user?

sudo fixed

Cleaned up some of the SUDO commands. The ones I left in make sense to me.

Installing MythTV section question

Section 7 is a little confusing. There isn't ever an explanation of what's going on. Section 7.1 and the 'apt-get install mythtv...' part of section 7.5 seem to be alternatives, not sequential steps. Is that right? Should the user get a 'go to section 7.1 for an installation using SVN and the latest source or go to section 7.xx to install from the repositories'?

Watch out for previous installations

In section 7.1.3 is this a warning based only on the steps above in the howto? In my experience of a fresh install none of the packages were found - should they have been? Or is it a reference to if you are upgrading your system from a previous version?

After Installation

There is a reference in the intro of section 7.1.4 that says 'password defined in ~mythtv/.mythtv/mysql.txt'. This implies that there is a mythtv user, doesn't it? Yet a mythtv user was never created and this file is actually in '/root/.mythtv/mysql.txt'

Why backup database question

There is a statement in section 7.1.2 that says:

If the compilation went smoothly, you're almost ready to install. Firstly, you'll need to backup your database.

mysqldump -u root mythconverg -c > mythconverg.dmp

Why is this needed? Is this only for an upgrade? Is this step necessary for a fresh install?

Why backup database answer

You're right, you only need to do this for an upgrade, not a fresh install. The MySQL database stores your viewing history, channel list, whether or not you have the Swiss Army Knife with the USB memory stick ;) etc...

It's a very good idea to back this up any time you're upgrading, and at least once a week once you're up and running. In fact, I think I'll do it now ...

QSqlDatabase: QMYSQL3 driver not loaded

I got this error (QSqlDatabase: QMYSQL3 driver not loaded) in section 7.1.4 when I tried to run 'mythbackend'. A bit of googling and I found this page: http://ubuntuforums.org/archive/index.php/t-75963.html Which suggests running 'sudo apt-get install libqt3-mt-mysql'. This worked for me.

can't connect mythfrontend to xserver if run as root

In section 7.1.4 a command is given as 'sudo mythfrontend'. When I run this, I get a cannot connect to Xserver. Some googling shows that this a security thing related to not allowing root to connect. Should this test be done as a normal user? If so, please see the previous comment about running all the commands as root and the question as to why this section has references to using sudo.

Kernel headers and source

Can someone clear up for me, or point me to a page that can why it is necessary to bring in the whole kernel source and prepare it in addition to the headers in order to compile ivtv? Everything worked just fine, I would just like to know to know why I'm doing what I'm doing.

Question: MythArchive crashes on AMD64

Has anyone else had a problem with MythArchive causing the frontend to crash? I've been using the pre-compiled 0.20 packages at http://home.eng.iastate.edu/~superm1