...
| Bloc de code |
|---|
cd ~ wget http://sourcesup.cru.fr/frs/download.php/2874/esupdev-3.1.2-esup-0.5-RC1RC3.tar.gz wget http://sourcesup.cru.fr/frs/download.php/2875/esup-3.1.2-esup-0.5-RC1RC3.tar.gz |
Évidemment, la version peut avoir changé au moment où vous lisez ce How-To...
...
| Bloc de code |
|---|
cd ~ cp esup-3.1.2-esup-0.5-RC1RC3.tar.gz /home/esup/. cp esupdev-3.1.2-esup-0.5-RC1RC3.tar.gz /home/esup/. |
Positionnement des droits:
| Bloc de code |
|---|
cd /home/esup/ chgrp -R apache .bash_logout .bash_profile .bashrc .mozilla chown esup:tomcat esup-3.1.2-esup-0.5-RC1RC3.tar.gz esupdev-3.1.2-esup-0.5-RC1RC3.tar.gz |
2.8/ Mysql
2.8.1/ Authentification et autorisations
...
| Bloc de code |
|---|
cd gunzip esup-3.1.2-esup-0.5-RC1RC3.tar.gz tar xvf esup-3.1.2-esup-0.5-RC1RC3.tar mkdir Archive gzip -9 esup-3.1.2-esup-0.5-RC1RC3.tar mv esup-3.1.2-esup-0.5-RC1RC3.tar.gz Archive/. |
4.2/ Configuration
| Bloc de code |
|---|
cd esup-3.1.2-esup-0.5-RC1RC3 cp config.sample.properties config.properties cp build.sample.properties build.properties |
...
| Bloc de code |
|---|
cd ~/esup-3.1.2-esup-0.5-RC1RC3 ant getcomponents ant unzip |
...
| Bloc de code |
|---|
cd /home/esup/esup-3.1.2-esup-0.5-RC1RC3/Portail/uPortal-3.1.1 vi build.properties cd ../.. |
...
| Bloc de code |
|---|
cd /home/esup/esup-3.1.2-esup-0.5-RC1RC3/resources/ gunzip apache-ant-1.7.1-bin.tar.gz tar xvf apache-ant-1.7.1-bin.tar rm apache-ant-1.7.1-bin.tar cp ant.sample.sh ant.sh vi ant.sh ---- #!/bin/sh export LANG=fr_FR # export JAVA_HOME=/usr/java/jdk1.6 export JAVA_HOME=/usr/lib/jvm/java export ANT_HOME=./resources/apache-ant-1.7.1 # chmod 755 $ANT_HOME/bin/ant $ANT_HOME/bin/ant $@ ---- chmod u+x ant.sh dos2unix ant.sh |
...
| Bloc de code |
|---|
cd /home/esup/esup-3.1.2-esup-0.5-RC1RC3 ./ant.sh init ./ant.sh getcomponents ./ant.sh unzip |
...
| Bloc de code |
|---|
vi ~/restart_esup.sh ---- #!/bin/bash # /usr/bin/sudo /etc/init.d/tomcat6 stop cd ~/esup-3.1.2-esup-0.5-RC1RC3 ./ant.sh init ./ant.sh db.import -Dchannel=all ./ant.sh db.import -Dusername=monuser-lo ./ant.sh deploy /usr/bin/sudo /etc/init.d/tomcat6 start cd vi /etc/sudoers chmod u+x restart_esup.sh ~/restart_esup.sh ---- |