You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
641 B

<?php
echo "\n\n\nAFTER!!\n\n\n";
$CMD = `cp -f /srv/etc/ag_nginx/argus_nginx.service /etc/systemd/system/argus_nginx.service`;
$CMD = `systemctl daemon-reload`;
$CMD = `cp -f /srv/etc/nginx/default /etc/nginx/sites-available/default`;
copy( '/srv/www/web/lib/controller/data/mysqlitedb.db', '/srv/www/distro/lib/data/mysqlitedb.db' );
$CMD = `echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts`;
$CMD = `echo "192.168.200.121 MERSYS" >> /etc/hosts`;
$CMD = `systemctl start argus_nginx`;
$CMD = `systemctl enable argus_nginx`;
$CMD = `systemctl start nginx`;
$CMD = `reboot`;
?>