- extract archive
tar xvzf renetcol-0.0.14.tar.gz
- we recommand you to create a directory to log your config file:
mkdir CONF_RENETCOL
cp renetcol-0.0.14/conf/routers.txt CONF_RENETCOL/
cp renetcol-0.0.14/src/renetcolParam.h CONF_RENETCOL/
- go to the directory
cd renetcol-0.0.14
- configuration of renetcol renetcol configuration
- syslog section: add renetcol log in /etc/rsyslog.conf (last line below)
###############
#### RULES ####
###############
#
# First some standard log files. Log by facility.
#
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none -/var/log/syslog
#cron.* /var/log/cron.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
lpr.* -/var/log/lpr.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
local7.* -/var/log/renetcol.log
- configure step
./configure --help
- make
make all
- change the path in the launcher script
vim tool/check.sh
- and run it
/bin/sh /home/andreu/renetcol-0.0.14/tool/check.sh /home/andreu/renetcol-0.0.14
- First ps output:
root 14876 1 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcol
root 14878 1 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
root 14879 14878 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
root 14881 1 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolAgg
- ps output after a renetcolGUI client request:
root 14876 1 0 15:32 ? 00:00:02 /home/andreu/renetcol-0.0.14/src/renetcol
root 14878 1 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
root 14879 14878 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolSender /home/andreu/renetcol-0.0.14/src/renetcol 1
root 14881 1 0 15:32 ? 00:00:00 /home/andreu/renetcol-0.0.14/src/renetcolAgg
root 14884 14879 0 15:36 ? 00:00:00 [renetcolSender] <defunct>
- web site
- create a renetcol directory in /var/www/, mkdir /var/www/renetcol/, copy web directory cp -r web /var/www/renetcol/ then chown -R www-data:www-data /var/www/renetcol
- edit var.php and change paths.