View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Frontend Question
PostPosted: Sun Jun 11, 2006 11:13 am 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
This may be a stupid question (so if it is sorry) but I need some help in installing a frontend system. I have my FE/BE knoppmyth server up and running and am now looking to setup some just frontend boxes for around the house. I picked the option of frontend from the menu but that just seems to run the frontend off of the cd. I would like to run it off of the harddrive. I have looked in the wikki and didn't really find anything.

Can someone help me either point me to an article or tell what how I should be installing a frontend system. Should I just pick the auto install and then change the ip address for the backend, I thought about this option but seem like a waste to install all the other stuff I don't need on there.

Help

Thanks for any advice anyone can give me.

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 12:06 pm 
Offline
Joined: Wed Jun 30, 2004 4:08 pm
Posts: 31
http://www.knoppmythwiki.org/index.php? ... nlyInstall


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 11:19 pm 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
Great thanks that is just what I was looking for. I was just looking in the wrong wikki I was looking in the myth on not the knoppmyth one. I just my frontend system up and going, but if you would not mind I have one follow up question.

I am able to watch live tv and watch recordings but cann't seem to get dvd's to start or have there cover art show up. I am using Xine and it gives some kinda of error but it goes by so fast I can't see it. Is there something else I need to enable

I am so close to being done I can taste it. LOL

Thanks again for the advice.

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 11:40 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Did you set it up so that your frontend NFS mounted /myth/video from the backend?

Here is the relevant extract from the script that I run after installing to tweak everything the way I need it. My backend hostname is "mythtv":
Code:
if [ $HOSTNAME = "mythtv" ] ; then

  # Enable mysql networking on the master backend.

  if grep -q ^skip-networking /etc/mysql/my.cnf ; then
    echo "Commenting out skip-networking."
    cp /etc/mysql/my.cnf /etc/mysql/my.cnf~
    cat /etc/mysql/my.cnf~ | sed 's/skip-networking/#skip-networking/g' > \
      /etc/mysql/my.cnf
  else
    echo "Already commented out skip-networking."
  fi

  # Enable NFS so that the /myth/video fiolder can be shared to the frontends.

  if [ ! -e /etc/rc5.d/S20nfs-common ] ; then
    echo "Enabling nfs-common."
    update-rc.d nfs-common defaults
    /etc/init.d/nfs-common start
  else
    echo "Already enabled nfs-common."
  fi

  if [ ! -e /etc/rc5.d/S20nfs-kernel-server ] ; then
    echo "Enabling nfs-kernel-server."
    update-rc.d nfs-kernel-server defaults
    /etc/init.d/nfs-kernel-server start
  else
    echo "Already enabled nfs-kernel-server."
  fi
else

  # Do the forntend specific stuff.

  if grep -q DBHostName=localhost /usr/share/mythtv/mysql.txt ; then
    echo Setting database host.
    cp /usr/share/mythtv/mysql.txt /usr/share/mythtv/mysql.txt.orig
    cat /usr/share/mythtv/mysql.txt.orig |
      sed 's/DBHostName=localhost/DBHostName=10.1.1.6/g' > \
        /usr/share/mythtv/mysql.txt
  else
    echo Already set Database host.
  fi

  if ! grep -q 10.1.1.6 /etc/fstab ; then
    echo Setting up /myth/video nfs mount.
    cp /etc/fstab /etc/fstab.orig
    cat /etc/fstab.orig |
      awk '/^proc/{print \
        "10.1.1.6:/myth/video /myth/video nfs defaults,auto,noatime 0 0"}\
        {print $0}' > /etc/fstab
    mount -a -t nfs
  else
    echo Already setup /myth/video nfs mount.
  fi

fi


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 12:35 am 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
that did it. I had not tried to mount the video directory I had just mounted /myth. So you are running a script to do all of the little twits for you. Is there a good place the I could read up on that to do that also.


Thanks again for the help.

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu