Mudanças entre as edições de "PJI-2014-1: diário de bordo da Equipe 3"

De MediaWiki do Campus São José
Ir para navegação Ir para pesquisar
 
Linha 74: Linha 74:
 
If you wish to use supported system libraries do this instead.
 
If you wish to use supported system libraries do this instead.
  
 +
<syntaxhighlight lang=bash>
 
./configure
 
./configure
 +
</syntaxhighlight>
  
 
In either case, with the above installed packages this should go smoothly.
 
In either case, with the above installed packages this should go smoothly.

Edição atual tal como às 16h30min de 11 de junho de 2014

Estrutura de uma rede para casa (telefonia e media center) =

30/05/2014

SOFTWARE:

  • Asterisk (PABX baseado em código livre )
  • Snep:(ambiente gráfico para o Asterisk)
  • XBMC: (media center)

HARDWARE:

  • Cabos de redes(3 und)
  • Cabos telefônicos (2 und)
  • Filtro de linhas (1 und)
  • Moldem (1 und)
  • Roteador ( com portas de saida e wi-fi) (1 und)
  • Computador(1und)
  • Monitor(1 und)

Configuração de Modem, Roteador, e PC

04/06/2014

  • Conectamos Modem no Servidor.
  • Conferimos se o modem estava em modo BRIDGE (mudamos a faixa de ip do PC para 10.1.1.2 para conseguir acessar o modem que está na faixa de 10.1.1.1. depois mudamos o ip novamente para 192.168.2.36 ( ifconfig etho "ip necessário)).
  • Ativação do NAT no Roteador e deixar campo de AC Name em branco.
  • Mudamos a mascara para a padrão (final 240).


Como Instalar XBMC no Debian Squeeze

sudo su
echo 'deb http://www.deb-multimedia.org squeeze main non-free' >> /etc/apt/sources.list
echo 'deb-src http://www.deb-multimedia.org sid main' >> /etc/apt/sources.list
apt-get update
apt-get install deb-multimedia-keyring
apt-get install libmad0
apt-get install xvmc

2ª opção

Fonte: http://wiki.xbmc.org/index.php?title=HOW-TO:Compile_XBMC_on_Debian_or_Ubuntu

1 Checkout with Git

Development has moved to git, rather than subversion. You will need git installed to do this.

sudo apt-get install git
git clone git://github.com/xbmc/xbmc.git

2 Install Packages

You'll have to install the necessary dependencies. First do this.

sudo apt-get update

Then:

sudo apt-get install automake autopoint bison build-essential ccache cmake curl cvs default-jre fp-compiler gawk gdc gettext git-core gperf libasound2-dev libass-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbluetooth-dev libbluray-dev libbluray1 libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev libcec-dev libcec1 libcrystalhd-dev libcrystalhd3 libcurl3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libdbus-1-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libglew-dev libiso9660-dev libjasper-dev libjpeg-dev libltdl-dev liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpostproc-dev libpulse-dev libsamplerate-dev libsdl-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libshairport-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libswscale-dev libtiff-dev libtinyxml-dev libtool libudev-dev libusb-dev libva-dev libva-egl1 libva-tpi1 libvdpau-dev libvorbisenc2 libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount python-dev python-imaging python-sqlite swig unzip yasm zip zlib1g-dev -y
</bash>
3 code

<syntaxhighlight lang=bash>
cd xbmc
./bootstrap
./configure

If you wish to use supported system libraries do this instead.

./configure

In either case, with the above installed packages this should go smoothly. 4 Build

make

5 Install

sudo make install

When this completes you are done!


You may either go into a terminal session or press Alt+F2. Then type

xvmc

.

NOTE: On certain versions of Ubuntu, you may get a segmentation fault due to libcurl. This is resolved by creating a symbolic link in /usr/lib

cd /usr/lib
sudo ln -s libcurl-gnutls.so.4 libcurl.so.4