Keeping a process or command running after terminal has been closed

Open ssh terminal to remote server Begin scp transfer as usual Background the scp process (Ctrl+Z, then bg) Disown the backgrounded process (disown) Terminate the session (exit) and the process will continue to run on the remote machine.   http://unix.stackexchange.com/questions/65116/does-a-scp-transfer-close-when-i-close-the-shell http://unix.stackexchange.com/questions/89483/keeping-a-process-running-after-putty-or-terminal-has-been-closed http://unix.stackexchange.com/questions/103731/run-a-command-without-making-me-wait http://unix.stackexchange.com/questions/4004/how-can-i-close-a-terminal-without-killing-the-command-running-in-it

Agregar Directorio en Sentora o ZPanel

So, go to /etc/zpanel/configs/apache/ Edit httpd-vhosts.conf and check OpenBasedir directives in first <VirtualHost *:80> entry (first one should be panel’s vhost). If it’s not for some wierd reason, find it and remove line that looks like: php_admin_value open_basedir «/var/zpanel/hostdata/USER/public_html/DOMAIN:/var/zpanel/temp/ etc.» # service apache2 reload

Ionic Network Error

http://abou-kone.com/2015/04/25/ionic-there-was-a-network-error-when-running-on-genymotion/ Running Ionic with Genymotion, you might run into network issues when trying to run your application in your Genymotion device VM. The one I got was : 1 2 Application Error There was a network error (http://192.168.56.1) when trying to launch my app on the device. It wasn’t a firewall issue, i was successfuly able…

Leer más

Permitir CORS en Apache / Enable CORS on Apache

Fuente: http://enable-cors.org/server_apache.html   To add the CORS authorization to the header using Apache, simply add the following line inside either the <Directory>, <Location>, <Files> or <VirtualHost> sections of your server config (usually located in a *.conf file, such as httpd.conf or apache.conf), or within a .htaccess file: Header set Access-Control-Allow-Origin «*» To ensure that your…

Leer más