Dimdim em Debian Lenny
De MochilaWiki
Revisão de 21h05min de 1 de maio de 2010 por Rafael Gomes (discussão | contribs)
Dimdim em Debian Lenny - simplicado
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 psmisc
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
vi que tem uns redirecionamento pro google analytics, ai removi o grande irmão assim
wget http://pub.quijaua.com.br/dimdim/bigbrother.tar tar xvf bigbrother.tar cp bigbrother/WelcomePage.html ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/ cp bigbrother/AdminLogin.jsp ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/jsp/admin/ cp bigbrother/api_sample_form.html ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/ cp bigbrother/share_wait.html ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/share_wait/ cp bigbrother/NewConsole.jsp ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/html/layout2/ cp bigbrother/envcheck_jsp.java ConferenceServer/apache-tomcat-5.5.17/work/Catalina/localhost/dimdim/org/apache/jsp/html/envcheck/ cp bigbrother/envcheck.jsp ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/html/envcheck/ cp bigbrother/WorkspacePopout.jsp ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/html/popout/
referências:
- http://niteshrijal.com.np/installing-dimdim-in-debian-lenny-stable/
- http://anderson1029.pixnet.net/blog/post/25269249
- http://forums.dimdim.com/forum/showthread.php?p=6385
- http://st.free-lance.ru/projects/upload/f_4b5aa85902ea8.txt
- http://orlandocarcamo.com/como_instalar_dimdim_open_source_en_un_servidor_linux.html
- http://ubuntuforums.org/showthread.php?t=554870
- http://sourceforge.net/projects/dimdim/files/