用windows远程linux服务器安装jre,linux只有ssh协议,并且rz/sz命令不可用。求详细歩骤不要百度复制粘贴?
可以的话,可以试着用wscp协议上传JRE安装文件到Linux服务器上,然后编辑相应环境变量来安装JRE
Linux中rz和sz命令用法详解?
linux的rz/ sz 指令是上传、下载文件指令。一般需要服务器先安装好响应的包才能用。
1、安装lrzsz的包:yum install lrzsz ;如果没有yum,可以到安装盘的pakage里找到lrzsz的包,放到服务器里进行安装。
2、安装好后,运行 rz 进行上传文件测试;sz 文件名 进行下载测试。 学习linux基本命令,推荐《linux就该这么学》!
linux sz命令详解?
sz命令会将选定的文件发送到本地机器
要使用sz命令首先要安装他
执行yum install lrzsz安装
然后执行命令sz filename就可以将文件从服务端发送到客户端
更详细的命令参数如下
Usage: sz file …
or: sz -{c|i} COMMAND
Send file(s) with ZMODEM/YMODEM/XMODEM protocol
(X) = option applies to XMODEM only
(Y) = option applies to YMODEM only
(Z) = option applies to ZMODEM only
-+, –append append to existing destination file (Z)
-2, –twostop use 2 stop bits
-4, –try-4k go up to 4K blocksize
–start-4k start with 4K blocksize (doesn't try 8)
-8, –try-8k go up to 8K blocksize
–start-8k start with 8K blocksize
-a, –ascii ASCII transfer (change CR/LF to LF)
-b, –binary binary transfer
-B, –bufsize N buffer N bytes (N==auto: buffer whole file)
-c, –command COMMAND execute remote command COMMAND (Z)
-C, –command-tries N try N times to execute a command (Z)
-d, –dot-to-slash change '.' to '/' in pathnames (Y/Z)
–delay-startup N sleep N seconds before doing anything
-e, –escape escape all control characters (Z)
-E, –rename force receiver to rename files it already has
-f, –full-path send full pathname (Y/Z)
-i, –immediate-command CMD send remote CMD, return immediately (Z)
-h, –help print this usage message
-k, –1k send 1024 byte packets (X)
-L, –packetlen N limit subpacket length to N bytes (Z)
-l, –framelen N limit frame length to N bytes (l>=L) (Z)
-m, –min-bps N stop transmission if BPS below N
-M, –min-bps-time N for at least N seconds (default: 120)
-n, –newer send file if source newer (Z)
-N, –newer-or-longer send file if source newer or longer (Z)
-o, –16-bit-crc use 16 bit CRC instead of 32 bit CRC (Z)
-O, –disable-timeouts disable timeout code, wait forever
-p, –protect protect existing destination file (Z)
-r, –resume resume interrupted file transfer (Z)
-R, –restricted restricted, more secure mode
-q, –quiet quiet (no progress reports)
-s, –stop-at {HH:MM|+N} stop transmission at HH:MM or in N seconds
–tcp build a TCP connection to transmit files
–tcp-server open socket, wait for connection
-u, –unlink unlink file after transmission
-U, –unrestrict turn off restricted mode (if allowed to)
-v, –verbose be verbose, provide debugging information
-w, –windowsize N Window is N bytes (Z)
-X, –xmodem use XMODEM protocol
-y, –overwrite overwrite existing files
-Y, –overwrite-or-skip overwrite existing files, else skip
–ymodem use YMODEM protocol
-Z, –zmodem use ZMODEM protocol
Linux下rz命令怎么使用?
linux的rz/ sz 指令是上传、下载文件指令。
一般需要服务器先安装好响应的包才能用。
1、安装lrzsz的包:yum install lrzsz ;如果没有yum,可以到安装盘的pakage里找到lrzsz的包,放到服务器里进行安装。
2、安装好后,运行 rz 进行上传文件测试…
Linux进程状态(psstat)之R、S、D、T、Z、X?
S处于休眠状态,静止状态;s进程的领导者(在它之下有子进程);+位于后台的进程组R正在运行,在可中断队列中D无法中断的休眠状态(通常io的进程)