Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

it:smveinrichtung [26.09.2014 01:34] (aktuell)
Christoph Giesel angelegt
Zeile 1: Zeile 1:
 +unkommentiert erst einmal:
  
 +<code bash>$ aptitude install lua5.2 postgresql build-essential libpq-dev liblua5.2-dev lighttpd ghc libghc6-parsec3-dev imagemagick sendmail
 +$ su - postgres
 +$ createuser
 +Enter name of role to add: www-data
 +Shall the new role be a superuser? (y/n) n
 +Shall the new role be allowed to create databases? (y/n) y
 +Shall the new role be allowed to create more new roles? (y/n) n
 +$ exit
 +
 +$ cd /opt
 +$ git clone git@github.com:​PiratenLSA/​LQFB-PP-LSA-Config.git /​opt/​lqfbconf
 +$ cd /​opt/​lqfbconf
 +$ git checkout -b smvlsa
 +
 +$ cd /opt
 +$ export NEU_CORE=v3.0.4
 +$ wget http://​www.public-software-group.org/​pub/​projects/​liquid_feedback/​backend/​${NEU_CORE}/​liquid_feedback_core-${NEU_CORE}.tar.gz
 +$ tar xfz liquid_feedback_core-${NEU_CORE}.tar.gz
 +$ ln -s liquid_feedback_core-${NEU_CORE} liquid_feedback_core
 +$ cd liquid_feedback_core
 +$ make
 +$ su - www-data
 +$ createdb liquid_feedback_smv
 +$ psql -v ON_ERROR_STOP=1 -f lsa_core.sql liquid_feedback_smv
 +# folgt noch
 +$ exit
 +
 +$ cd /opt
 +$ wget http://​www.public-software-group.org/​pub/​projects/​webmcp/​v1.2.6/​webmcp-v1.2.6.tar.gz
 +$ tar xfz webmcp-v1.2.6.tar.gz
 +$ ln -s webmcp-v1.2.6 webmcp
 +$ cd /opt/webmcp
 +$ nano Makefile.options
 +# append ​ -I /​usr/​include/​lua5.1 ​ at end of CFLAGS line
 +# append ​ -I /​usr/​include/​postgresql ​  at end of CFLAGS_PGSQL line
 +$ make
 +
 +$ cd /opt
 +$ export NEU_FRONTEND=v3.0.2
 +$ wget http://​www.public-software-group.org/​pub/​projects/​liquid_feedback/​frontend/​${NEU_FRONTEND}/​liquid_feedback_frontend-${NEU_FRONTEND}.tar.gz
 +$ tar xfz liquid_feedback_frontend-${NEU_FRONTEND}.tar.gz
 +$ ln -s liquid_feedback_frontend-${NEU_FRONTEND} liquid_feedback_frontend
 +$ cd /​opt/​liquid_feedback_frontend/​config
 +$ ln -s /​opt/​lqfbconf/​conf/​default.lua default.lua
 +$ ln -s /​opt/​lqfbconf/​conf/​smv.lua smv.lua
 +$ cd ../fastpath
 +$ mkdir smv
 +$ patch -p0 < /​opt/​lqfbconf/​patches/​fastpath.patch
 +$ make
 +$ mv getpic smv
 +$ cd ../static
 +$ ln -s /​opt/​lqfbconf/​logo.png logo.png
 +$ ln -s /​opt/​lqfbconf/​doc doc
 +
 +$ aptitude install python3-pip
 +$ pip-3.2 install markdown2
 +
 +$ cd /etc/ssl
 +$ mkdir public$ aptitude install lua5.2 postgresql build-essential libpq-dev liblua5.2-dev lighttpd ghc libghc6-parsec3-dev imagemagick sendmail
 +$ su - postgres
 +$ createuser
 +Enter name of role to add: www-data
 +Shall the new role be a superuser? (y/n) n
 +Shall the new role be allowed to create databases? (y/n) y
 +Shall the new role be allowed to create more new roles? (y/n) n
 +$ exit
 +
 +$ cd /opt
 +$ git clone git@github.com:​PiratenLSA/​LQFB-PP-LSA-Config.git /​opt/​lqfbconf
 +$ cd /​opt/​lqfbconf
 +$ git checkout -b smvlsa
 +
 +$ cd /opt
 +$ export NEU_CORE=v3.0.4
 +$ wget http://​www.public-software-group.org/​pub/​projects/​liquid_feedback/​backend/​${NEU_CORE}/​liquid_feedback_core-${NEU_CORE}.tar.gz
 +$ tar xfz liquid_feedback_core-${NEU_CORE}.tar.gz
 +$ ln -s liquid_feedback_core-${NEU_CORE} liquid_feedback_core
 +$ cd liquid_feedback_core
 +$ make
 +$ su - www-data
 +$ createdb liquid_feedback_smv
 +$ psql -v ON_ERROR_STOP=1 -f lsa_core.sql liquid_feedback_smv
 +# folgt noch
 +$ exit
 +
 +$ cd /opt
 +$ wget http://​www.public-software-group.org/​pub/​projects/​webmcp/​v1.2.6/​webmcp-v1.2.6.tar.gz
 +$ tar xfz webmcp-v1.2.6.tar.gz
 +$ ln -s webmcp-v1.2.6 webmcp
 +$ cd /opt/webmcp
 +$ nano Makefile.options
 +# append ​ -I /​usr/​include/​lua5.1 ​ at end of CFLAGS line
 +# append ​ -I /​usr/​include/​postgresql ​  at end of CFLAGS_PGSQL line
 +$ make
 +
 +$ cd /opt
 +$ export NEU_FRONTEND=v3.0.2
 +$ wget http://​www.public-software-group.org/​pub/​projects/​liquid_feedback/​frontend/​${NEU_FRONTEND}/​liquid_feedback_frontend-${NEU_FRONTEND}.tar.gz
 +$ tar xfz liquid_feedback_frontend-${NEU_FRONTEND}.tar.gz
 +$ ln -s liquid_feedback_frontend-${NEU_FRONTEND} liquid_feedback_frontend
 +$ cd /​opt/​liquid_feedback_frontend/​config
 +$ ln -s /​opt/​lqfbconf/​conf/​default.lua default.lua
 +$ ln -s /​opt/​lqfbconf/​conf/​smv.lua smv.lua
 +$ cd ../fastpath
 +$ mkdir smv
 +$ patch -p0 < /​opt/​lqfbconf/​patches/​fastpath.patch
 +$ make
 +$ mv getpic smv
 +$ cd ../static
 +$ ln -s /​opt/​lqfbconf/​logo.png logo.png
 +$ ln -s /​opt/​lqfbconf/​doc doc
 +
 +$ aptitude install python3-pip
 +$ pip-3.2 install markdown2
 +
 +$ cd /etc/ssl
 +$ mkdir public
 +$ openssl genrsa -out private/​smvcacert.pem 4096
 +$ chmod 600 private/​smvcacert.pem
 +# openssl req -new -key private/​smvcacert.pem -out private/​smvcacert.csr
 +# nano public/​smvcacert.pe
 +# cat private/​smvcacert.pem public/​smvcacert.pem > private/​smvcacert-keycrt.pem
 +# wget -O public/​cacert.pem http://​secure.cacert.org/​certs/​class3.crt
 +$ nano /​etc/​lighttpd/​conf-available/​10-ssl.conf
 +
 +$ ln -s /​opt/​lqfbconf/​80-lqfb.conf /​etc/​lighttpd/​conf-available/​80-lqfb.conf
 +$ lighty-enable-mod lqfb
 +$ lighty-enable-mod ssl
 +$ nano /​etc/​lighttpd/​lighttpd.conf
 +$ service lighttpd restart
 +
 +$ ln -s /​opt/​lqfbconf/​init.d/​lf_updated /​etc/​init.d/​lf_updated
 +$ ln -s /​opt/​lqfbconf/​init.d/​lf_notification /​etc/​init.d/​lf_notication
 +$ service lf_updated start
 +$ service lf_notication start
 +
 +
 +$ openssl genrsa -out private/​smvcacert.pem 4096
 +$ chmod 600 private/​smvcacert.pem
 +# openssl req -new -key private/​smvcacert.pem -out private/​smvcacert.csr
 +# nano public/​smvcacert.pe
 +# cat private/​smvcacert.pem public/​smvcacert.pem > private/​smvcacert-keycrt.pem
 +# wget -O public/​cacert.pem http://​secure.cacert.org/​certs/​class3.crt
 +$ nano /​etc/​lighttpd/​conf-available/​10-ssl.conf
 +
 +$ ln -s /​opt/​lqfbconf/​80-lqfb.conf /​etc/​lighttpd/​conf-available/​80-lqfb.conf
 +$ lighty-enable-mod lqfb
 +$ lighty-enable-mod ssl
 +$ nano /​etc/​lighttpd/​lighttpd.conf
 +$ service lighttpd restart
 +
 +$ ln -s /​opt/​lqfbconf/​init.d/​lf_updated /​etc/​init.d/​lf_updated
 +$ ln -s /​opt/​lqfbconf/​init.d/​lf_notification /​etc/​init.d/​lf_notication
 +$ service lf_updated start
 +$ service lf_notication start</​code>​
it/smveinrichtung.txt · Zuletzt geändert: 26.09.2014 01:34 von Christoph Giesel
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki