Mudanças entre as edições de "Dimdim em Debian Lenny"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
(Nova página: Broffice.org mais recente tar zxvf BrOOo_3.1.0_LinuxIntel_install_pt-BR_deb.tar.gz cd OOO310_m11_native_packed-3_pt-BR.9399/DEBS/ dpkg -i *.deb deps via apt apt-get install sun-j...)
 
Linha 1: Linha 1:
Broffice.org mais recente
 
tar zxvf BrOOo_3.1.0_LinuxIntel_install_pt-BR_deb.tar.gz
 
cd OOO310_m11_native_packed-3_pt-BR.9399/DEBS/
 
dpkg -i *.deb
 
 
 
deps via apt
 
deps via apt
 
  apt-get install sun-java6-plugin gawk python-uno python2.5-dev unzip \
 
  apt-get install sun-java6-plugin gawk python-uno python2.5-dev unzip \
 
  openoffice.org-java-common openoffice.org-headless binutils build-essential \
 
  openoffice.org-java-common openoffice.org-headless binutils build-essential \
 
  libssl-dev libssh2-1-dev
 
  libssl-dev libssh2-1-dev
 +
 +
Broffice.org mais recente
 +
wget -c http://ftp.unicamp.br/pub/broffice/stable/3.2.0/BrOOo_3.2.0_LinuxIntel_install_pt-BR_deb.tar.gz
 +
tar zxvf BrOOo_3.2.0_LinuxIntel_install_pt-BR_deb.tar.gz
 +
cd OOO320_m12_native_packed-1_pt-BR.9483/DEBS/
 +
dpkg -i *.deb
  
 
path para java
 
path para java

Edição das 18h38min de 28 de abril de 2010

deps via apt

apt-get install sun-java6-plugin gawk python-uno python2.5-dev unzip \
openoffice.org-java-common openoffice.org-headless binutils build-essential \
libssl-dev libssh2-1-dev

Broffice.org mais recente

wget -c http://ftp.unicamp.br/pub/broffice/stable/3.2.0/BrOOo_3.2.0_LinuxIntel_install_pt-BR_deb.tar.gz
tar zxvf BrOOo_3.2.0_LinuxIntel_install_pt-BR_deb.tar.gz
cd OOO320_m12_native_packed-1_pt-BR.9483/DEBS/
dpkg -i *.deb

path para java

echo "JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.12" >> /root/.bashrc
echo "export JAVA_HOME" >> /root/.bashrc
echo "PATH=$JAVA_HOME/bin:$PATH" >> /root/.bashrc
echo "export PATH" >> /root/.bashrc

download

cd /usr/src/
wget -c http://download.cherrypy.org/cherrypy/3.1.0/CherryPy-3.1.0.zip
wget -c http://www.saddi.com/software/flup/dist/flup-1.0.tar.gz
wget -c http://curl.haxx.se/download/curl-7.19.0.tar.gz
wget -c http://deron.meranda.us/python/demjson/dist/demjson-1.3.tar.gz
wget -c http://pub.quijaua.com.br/dimdim/dimdim_4.5-2_i386.deb

módulos para python

unzip CherryPy-3.1.0.zip
cd CherryPy-3.1.0
chmod +x *
python2.5 setup.py install
cd /usr/src/
tar xvf flup-1.0.tar.gz
cd flup-1.0
chmod +x *
python2.5 ez_setup.py -U setuptools
python2.5 setup.py install
cd /usr/src/
tar xvf curl-7.19.0.tar.gz
cd curl-7.19.0
./configure --prefix=/usr
make
make install
ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.0
easy_install-2.5 pycurl
cd /usr/src/
tar xvf demjson-1.3.tar.gz
cd demjson-1.3
chmod +x *
python2.5 setup.py install


python2.5
>>>import cherrypy
>>>import flup
>>>import pycurl
>>>import demjson
>>>
Ctrl+D

desempacotando dimdim

cd /usr/src/
dpkg -i dimdim_4.5-2_i386.deb
mv /usr/local/dimdim-4.5/ /usr/local/dimdim
cd /usr/local/dimdim/
tar xvf CobrowsingManager.tar.gz

permissões

chmod +x ConferenceServer/apache-tomcat-5.5.17/bin/*
chmod +x red5/*
chmod +x red5/conf/*
chmod +x nginx/sbin/*
chmod +x DTP3/Reflector/*
chmod +x Mediaserver/mods/*
chmod +x Mediaserver/www/pages/*
chmod +x /usr/bin/*
chmod +x /usr/lib/*
chmod +x /usr/local/share/*
chmod +x CobrowsingManager/cob/*
chmod +x StartDimdim.sh
chmod +x StopDimdim.sh
chmod +x Config-ipaddress.pl

deps e ln

ln -s /usr/lib/libpcre.so.3 /usr/lib/libpcre.so.0
cp Mediaserver/mods/spawn-fcgi DTP3/Reflector/spawn-fcgi
rm /usr/bin/soffice
ln -s /opt/broffice.org3/program/soffice.bin /usr/bin/soffice.bin
cd /usr/local/dimdim/ThirdPartyPackages/
tar xvf swftools.tar.gz
cp swftools/pdf2swf /usr/bin/
cp swftools/libs/* /usr/lib/
cp swftools/swfdump /usr/bin/
cp swftools/swfextract /usr/bin/
cp -r swftools/swffonts/fonts/ /usr/local/share/swftools/
cd ..

custom confs

sed -i 's/openoffice.org2.4/broffice.org3/g' Mediaserver/mods/toolkit/osconfig.py

sed -i 's/\DIMDIM_JAVA_HOME\/bin\/java/\/usr\/lib\/jvm\/java-6-sun-1.6.0.12\/bin\/java/g' \
ConferenceServer/apache-tomcat-5.5.17/conf/wrapper.conf

sed -i 's/local\/bin/bin/g' CobrowsingManager/cob/startCobServer.sh

sed -i 's/python2/python2.5/g' Mediaserver/mods/interface.py

sed -i 's/dimdim-4.5/dimdim/g' StartDimdim.sh

sed -i 's/dimdim-4.5/dimdim/g' StopDimdim.sh

sed -i 's/port\="DIMDIM_PORT_NUMBER"/address\="127.0.0.1"\ port\="40000"/g' \
ConferenceServer/apache-tomcat-5.5.17/conf/server.xml

sed -i 's/192.168.1.144/192.168.56.103/g' nginx/conf/nginx.conf

iniciando

./Config-ipaddress.pl 192.168.56.103
./StartDimdim.sh


Acesse agora em

referências: