Dimdim em Debian Lenny - simplicado

De MochilaWiki
Revisão de 21h09min de 1 de maio de 2010 por Rafael Gomes (discussão | contribs)
Ir para navegaçãoIr para pesquisar
apt-get install sun-java6-jre gawk python-uno python2.5-dev libssh2-1-dev \
openoffice.org-java-common openoffice.org-headless binutils build-essential \
libssl-dev psmisc
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


wget -c http://pub.quijaua.com.br/dimdim/dimdim_lenny4.5_i386.deb
dpkg -i dimdim_lenny4.5_i386.deb


DIMDIMSRC=/usr/src/dimdim/ThirdPartyPackages
cd $DIMDIMSRC/CherryPy-3.1.0
chmod +x *
python2.5 setup.py install
cd $DIMDIMSRC/flup-1.0
chmod +x *
python2.5 ez_setup.py -U setuptools
python2.5 setup.py install
cd $DIMDIMSRC/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 $DIMDIMSRC/demjson-1.3
chmod +x *
python2.5 setup.py install


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


cd /usr/local/dimdim/
./Config-ipaddress.pl 192.168.56.105
./StartDimdim.sh


Acesse agora em

para trocar o ip mude o "192.168.0.10"

sed -i 's/192.168.56.103/192.168.56.105/g' /usr/local/dimdim/nginx/conf/nginx.conf

vi que tem uns redirecionamento pro google analytics, ai removi o grande irmão assim

cd $DIMDIMSRC
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/