summaryrefslogtreecommitdiff
path: root/DEV
diff options
context:
space:
mode:
authorichdasich <ichdasich@29ba0400-6e00-0410-a75a-ca02368028f8>2008-04-12 21:18:43 +0000
committerichdasich <ichdasich@29ba0400-6e00-0410-a75a-ca02368028f8>2008-04-12 21:18:43 +0000
commit50b903a96cdb285009b6cfc690ce99ab9337720a (patch)
treee78a3cec5f513e96bf864fa2663c2340415c459d /DEV
parent8a9d8463030255380dba158fdb5a8d178d73878f (diff)
script update
git-svn-id: svn://svn.cccv.de/engel-system@272 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'DEV')
-rw-r--r--DEV/install.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/DEV/install.sh b/DEV/install.sh
index f97a1342..eac4ae0e 100644
--- a/DEV/install.sh
+++ b/DEV/install.sh
@@ -43,7 +43,11 @@ echo "setting sources in place"
cp -r `pwd`/engel-system/default-conf/www-ssl/inc/* /var/www/https/inc/
rm /var/www/https/inc/config.php
- cat `pwd`/engel-system/default-conf/www-ssl/inc/config.php|sed s/SEDENGELURL/`cat /etc/hostname`.`dnsdomainname`/ >> /var/www/https/inc/config.php
+ #cat `pwd`/engel-system/default-conf/www-ssl/inc/config.php|sed s/SEDENGELURL/`cat /etc/hostname`.`dnsdomainname`/ >> /var/www/https/inc/config.php
+ cat `pwd`/engel-system/default-conf/www-ssl/inc/config.php|sed s/SEDENGELURL/`cat /etc/hostname`.`dnsdomainname`/ |sed s/MD5SED/`openssl x509 -noout -fingerprint -md5 -in /etc/apache2/ssl/apache.pem|sed s/MD5\ Fingerprint\=//`/|sed s/SHA1SED/`openssl x509 -noout -fingerprint -sha1 -in /etc/apache2/ssl/apache.pem|sed s/SHA1\ Fingerprint\=//`/ >> /var/www/https/inc/config.php
+ #openssl x509 -noout -fingerprint -sha1 -in /etc/apache2/ssl/apache.pem|sed s/SHA1\ Fingerprint\=//
+
+ #openssl x509 -noout -fingerprint -md5 -in /etc/apache2/ssl/apache.pem|sed s/MD5\ Fingerprint\=//
mysql tabel -u root < `pwd`/engel-system/DB/ChangeLog.sql
mysql tabel -u root < `pwd`/engel-system/DB/Himmel.sql
@@ -53,7 +57,6 @@ echo "setting sources in place"
mysql tabel -u root < `pwd`/engel-system/DB/UserCVS.sql
mysql tabel -u root < `pwd`/engel-system/DB/UserPicture.sql
-# commands to run:
echo "cleaning up"
rm -rf `pwd`/engel-system/
mysql -u root mysql -e "UPDATE user SET Password=PASSWORD('changeme') WHERE user='root';"
@@ -64,6 +67,5 @@ echo "-reset passwort for sqluser, don't forget to change /var/www/https/inc/con
echo "-change the adminpassword in the webfrontend"
echo "-the webfrontend user/pass combo is: admin:admin"
echo "-the sql-server uses root:changeme"
-echo "-make sure $url in /var/www/https/inc/config.php is correct"
+echo "-make sure \$url in /var/www/https/inc/config.php is correct"
-# mysql -u root mysql -e "UPDATE user SET Password=PASSWORD('changeme') WHERE user='root';"