Difference between revisions of "CLI - Updating system"

 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
</pre>
 
</pre>
  
If your system can not access the imRAD update server, you must request a update file and save it into your ftp server.  
+
If your system can not access the imRAD update server, you must request a update file and save it into your ftp server.
{{note|Note that you should not change the name of a update file. The following is an example that updates via an FTP server.}}
 
 
<pre>
 
<pre>
 
LYSH@MyHostName# system update 1.2.3 <nowiki>ftp://username@your.ftp.server/userpassword</nowiki>
 
LYSH@MyHostName# system update 1.2.3 <nowiki>ftp://username@your.ftp.server/userpassword</nowiki>
 
</pre>
 
</pre>
 +
{{note|Note that you should not change the name of a update file.}}
  
 
If your FTP server uses another port, try like this.
 
If your FTP server uses another port, try like this.

Latest revision as of 10:56, 18 May 2021

If you want to update a system, type the system update command.

LYSH@MyHostName# system update -h
usage: system update [-h] [-d] [release key] [url/path]

positional arguments:
  [release key]  enter specific release key number
  [url/path]     url or path

optional arguments:
  -h, --help   show this help message and exit
  -d, --debug  debug
LYSH@MyHostName# system update		// searches a new update package from the imRAD update server and updates.
LYSH@MyHostName# system update 1.2.3	// immediately update with the package version(i.e. 1.2.3)

If your system can not access the imRAD update server, you must request a update file and save it into your ftp server.

LYSH@MyHostName# system update 1.2.3 ftp://username@your.ftp.server/userpassword

Note that you should not change the name of a update file.

If your FTP server uses another port, try like this.

LYSH@MyHostName# system update 1.2.3 ftp://username@your.ftp.server:222/userpassword