Linux系統手動安裝rzsz軟體包

來源:互聯網
上載者:User

Linux系統手動安裝rzsz軟體包 1、下載軟體 rzsz-3.34.tar.gz。登入linux,用命令   www.2cto.com  wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz下載。  2、解壓 tar zxvf  rzsz-3.34.tar.gz  3、安裝  cd rzsz-3.34 ; make posix 。注意:這個軟體安裝與常規的GNU軟體不同—沒有configure(配置)及make install (安裝過程)。先執行命令make,將給出下面的提示:  [root@web1 rzsz]# make  Please study the #ifdef's in crctab.c, rbsb.c, rz.c and sz.c,  make any necessary hacks for oddball or merged SYSV/BSD systems,  then type 'make SYSTEM' where SYSTEM is one of:           posix   POSIX compliant systems          linux   LINUX systems          odt     SCO Open Desktop          icc     SCO Open Desktop, Intel compiler          sysvr4  SYSTEM 5.4 Unix, SCO Open Desktop          sysvr3  SYSTEM 5.3 Unix with mkdir(2), COHERENT 4.2          sysv    SYSTEM 3/5 Unix          xenix   Xenix          x386    386 Xenix          bsd     Berkeley 4.x BSD, Ultrix, V7          tandy   Tandy 6000 Xenix          dnix    DIAB Dnix 5.2          dnix5r3 DIAB Dnix 5.3          amiga   3000UX running SVR4          POSIX   POSIX compliant systems (SCO Open Desktop, strict)           doc     Format the man pages with nroff  根據自己的系統選擇make的位置參數,一般情況下,選posix或linux就可以了。執行命令make posix,我們從輸出部分可以很清楚的看見這個步驟所進行的工作:  [root@web1 rzsz]#  make posix  gcc -m486 -O2 -DLINUX -DHVM -DREGISTERED -s -DPOSIX -DMD=2 rz.c -o rz  size rz     text    data     bss     dec     hex filename    24847     636   10400   35883    8c2b rz  rm -f rb rx rc  ln rz rb  ln rz rx  ln rz rc  gcc -m486 -O2 -DLINUX -DHVM -DREGISTERED -s -DPOSIX sz.c -o sz  size sz     text    data     bss     dec     hex filename    29030     696   10208   39934    9bfe sz  rm -f sb sx zcommand zcommandi  ln sz sb  ln sz sx  ln sz zcommand  ln sz zcommandi   www.2cto.com  4、為了方便使用這個工具,把相關檔案複製到目錄/usr/bin下面。這裡只需要拷貝2個檔案rz及sz,命令為:cp rz sz  /usr/bin .  5、設定環境變數 export  RZSZLINE=/dev/modem。如果不設定這個環境變數,執行命令rz的時候,總是會提示你“Warning: Missing environment variable 'RZSZLINE' (Linux)  rz ready. Type "sz file ..." to your modem program”。  6、上傳檔案測試rzsz。在windows下通過securecrt串連遠程linux伺服器,然後執行命令rz。  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.