Difference between revisions of "CLI - Updating system"

Line 20: Line 20:
  
 
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 that you should not change the name of a update file. The following is an example that updates via an 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>

Revision as of 14:19, 14 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.

Note that you should not change the name of a update file. The following is an example that updates via an FTP server.

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

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

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