Subversion Repositories ALCASAR

Rev

Rev 1412 | Rev 1418 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1412 Rev 1413
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1412 2014-07-15 07:01:53Z richard $ 
2
#  $Id: alcasar.sh 1413 2014-07-16 07:14:44Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1379... Line 1379...
1379
# expire delay for the profile "live"
1379
# expire delay for the profile "live"
1380
	systemctl start nfsen
1380
	systemctl start nfsen
1381
	/bin/nfsen -m live -e 62d 2>/dev/null
1381
	/bin/nfsen -m live -e 62d 2>/dev/null
1382
# add SURFmap plugin
1382
# add SURFmap plugin
1383
	tar xzf $DIR_CONF/nfsen/SURFmap_v3.3b1.tar.gz -C /tmp/
1383
	tar xzf $DIR_CONF/nfsen/SURFmap_v3.3b1.tar.gz -C /tmp/
-
 
1384
	cp $DIR_CONF/nfsen/install-surfmap.sh /tmp/SURFmap/install.sh
1384
	cd /tmp/SURFmap
1385
	cd /tmp/SURFmap
1385
	/usr/bin/sh install.sh
1386
	/usr/bin/sh install.sh
-
 
1387
	tar xzf $DIR_CONF/nfsen/GeoLiteCityv4_v6.tar.gz /var/www/nfsen/plugins/SURFmap/lib/MaxMind
-
 
1388
	chown -R apache:apache /var/www/nfsen/plugins/SURFmap/lib/MaxMind/GeoLiteCity*
1386
# clear the installation
1389
# clear the installation
1387
	cd $DirTmp
1390
	cd $DirTmp
1388
	rm -rf /tmp/nfsen-1.3.6p1/
1391
	rm -rf /tmp/nfsen-1.3.6p1/
1389
	rm -rf /tmp/SURFmap/
1392
	rm -rf /tmp/SURFmap/
1390
} # End of nfsen ()
1393
} # End of nfsen ()