In First, Confirm your Domain's Nameserver has been modified. NS1.AFRAID.ORG NS2.AFRAID.ORG NS3.AFRAID.ORG NS4.AFRAID.ORG step 1. Install ddClient from ports. $ sudo pkg install ddclient Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ddclient: 3.8.3_3 p5-IO-Socket-SSL: 2.051 p5-Mozilla-CA: 20160104 p5-Net-SSLeay: 1.81 Number of packages to be installed: 4 The process will require 2 MiB more space. 590 KiB to be downloaded. Proceed with this action? [y/N]: y [1/4] Fetching ddclient-3.8.3_3.txz: 100% 43 KiB 44.5kB/s 00:01 [2/4] Fetching p5-IO-Socket-SSL-2.051.txz: 100% 158 KiB 162.1kB/s 00:01 [3/4] Fetching p5-Mozilla-CA-20160104.txz: 100% 147 KiB 150.0kB/s 00:01 [4/4] Fetching p5-Net-SSLeay-1.81.txz: 100% 242 KiB 247.4kB/s 00:01 Checking integrity... done (0 conflicting) [1...
We can use nohup and send a long running command to background. We can continue while the command will keep on executing in background. After that We can safely log out. With nohup command we tell the process to ignore the SIGHUP signal which is sent by ssh session on termination, thus making the command persist even after session logout. On session logout the command is detched from controlling terminal and keeps on running in background as daemon process. Here, is a simple scenario wherein, we have run find command to search for files in background on ssh session using nohup, after which the task was sent to background with prompt returning immediately giving PID and job ID of the process # nohup find / -type f > files_in_system.out 2>&1 & Resuming the session to view if job is still running When we re-login again, we can check the status of command, bring it back to foreground using 'fg jobID' to monitor its progress and so on. Below, the out...
Comments
Post a Comment