In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "the use of rz and sz commands in RHEL5 installation and configuration". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
It is convenient to use the rz and sz commands on the rhel linux system to transfer files from windows's machine to the local. in order to use these two commands, we need to manually install the rzsz command package and configure it. All right, let's see the details below.
First, install the rzsz command package
After unzipping using the tar command, notice that the generated directory file is src, and then use make to compile and install. It is found that it is not possible. You need to select parameters to install. Here we choose posix.
Second, configure rz and sz
After installation, copy the rz and sz files to the directory / usr/bin.
The command is cp rz sz / usr/bin
And set the environment variable export RZSZLINE=/dev/modem. If you do not set this environment variable, you will be prompted for "rz ready. Type" sz file. "> when you execute the command rz.
5. Upload files to test the rzsz command. Connect to the remote linux server through securecrt under windows, and then execute the command rz in LINUX, which will pop up the following dialog box and select the corresponding file in WINDOWS to upload.
All right, it's more convenient, give it a try!
Add:
1. If there is a permission error in switching to another user, please refer to the following modification
[root@test125 bin] # su-test
[test@test125] $rz-y
/ dev/pts/3: Permission denied
[root@test125 bin] # cd / dev/pts
[root@test125 pts] # ll
Total 0
Crw--w---- 1 root tty 136,1 12-13 12:00 1
Crw--w---- 1 root tty 136,2 12-13 10:55 2
Crw--w---- 1 root tty 136,3 12-13 11:10 3
[root@test125 pts] # chmod 777 1 # similarly give weight to other virtual terminals
[root@test125 pts] # ll
Total 0
Crwxrwxrwx 1 root tty 136,1 12-13 12:27 1
Crwxrwxrwx 1 root tty 136,2 12-13 10:59 2
Crwxrwxrwx 1 root tty 136,3 12-13 11:27 3
2. When compiling, if you cannot find it in cc, you can change the cc in Makefile to gcc.
3. When compiling, if size cannot find it, you can add / usr/ccs/bin/ to $PATH.
This is the end of the content of "RHEL5 installation and configuration of rz and sz commands". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.