Menu

Install How-to

poilou

Installation summary on Debian 6+ / Ubuntu 12.04+ (please adapt to your configuration) :

Enable Universe repository (if necessary)

Install a mysql server 5.1+ and php5.4+, php extension for apache, apache2 web server, libssh2 library, (optionnaly ldap) :

~
apt-get install php5 mysql-server apache2 libssh2-1 libssh2-php php5-mysql openssl libssl-dev php5-dev php5-ldap php5-cli
~

Untar the remotescript_v2.X.tar.gz into your apache2 directory

~
tar -xvf remotescript_v2.Xx.tar.gz && mv remotescript /var/www/remotescript
~

Move into your remotescript directory

~
cd /var/www/remotescript
~

Create the mysql database and full it up :

~
mysql -h localhost -umysql_user -pmysql_password < remotescript_v2[.Xx].sql
~

Copy the remote_script_path/include/config_default.php file to remote_script_path/include/config.php

Edit the remote_script_path/include/config.php to fit to your configuration.

Run it by http://mywebserver/remotescript (eventually clear your browser cache & restart your apache server)

The default user is admin and the default password is admin

Add your hosts and scripts, and --IMPORTANT-- test them first on your favorites test hosts !

New in v2 ! Add a line in your crontab, for example, to run the tasks every 10 min (restart your cron daemon after editing crontab) :
~
*/10 * * * * root php /var/www/remotescript/cron.php >> /var/www/remotescript/cron.log
~

Then your script will be executed since the host becomes up.

You're done !


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.