標題:
【角色茶桌】——常用的Linux指令(怎样下载文件)
[打印本頁]
作者:
角色
時間:
2011-10-9 11:28
標題:
【角色茶桌】——常用的Linux指令(怎样下载文件)
本帖最後由 角色 於 2011-10-10 21:13 編輯
wget 下载网上文件
链接
su -l 转到root login
链接
角色
作者:
角色
時間:
2011-10-9 11:28
xxxxxxxxxxxxxxx
角色
作者:
角色
時間:
2011-10-9 11:29
xxxxxxxxxxxxxxx
角色
作者:
角色
時間:
2011-10-9 11:30
xxxxxxxxxxxxxxxxxxxxx
角色
作者:
角色
時間:
2011-10-9 11:31
xxxxxxxxxxxxxx
角色
作者:
角色
時間:
2011-10-9 11:32
Command: wget
Usage: download a file from a website
Example:
wget
http://packages.sw.be/rpmforge-r ... 2-2.el5.rf.i386.rpm
作者:
ckleea
時間:
2011-10-9 11:34
If you do wget in windows, sometimes antivirus will block you
作者:
角色
時間:
2011-10-9 11:54
回復
7#
ckleea
Thank you for your information but all the discussion in this thread is limited to the commands in Linux environment.
YH
作者:
角色
時間:
2011-10-9 12:06
I am able to find the wine rpm package.
[root@leo rpm]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5 .2-2.el5.rf.i386.rpm
--2011-10-09 09:45:38-- http://packages.sw.be/rpmforge-release/rpmforge-release -0.5.2-2.el5.rf.i386.rpm
Resolving packages.sw.be... 78.46.17.228
Connecting to packages.sw.be|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el 5.rf.i386.rpm [following]
--2011-10-09 09:45:40-- http://pkgs.repoforge.org/rpmforge-release/rpmforge-rel ease-0.5.2-2.el5.rf.i386.rpm
Resolving pkgs.repoforge.org... 78.46.17.228
Connecting to pkgs.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-releas e-0.5.2-2.el5.rf.i386.rpm [following]
--2011-10-09 09:45:41-- http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/ rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving rpmforge.sw.be... 78.46.17.228
Connecting to rpmforge.sw.be|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-re lease-0.5.2-2.el5.rf.i386.rpm [following]
--2011-10-09 09:45:42-- http://tree.repoforge.org/redhat/el5/en/i386/rpmforge/R PMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving tree.repoforge.org... 78.46.17.228
Connecting to tree.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5 .2-2.el5.rf.i386.rpm [following]
--2011-10-09 09:45:44-- http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmfo rge-release-0.5.2-2.el5.rf.i386.rpm
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12680 (12K) [application/x-redhat-package-manager]
Saving to: `rpmforge-release-0.5.2-2.el5.rf.i386.rpm'
100%[======================================>] 12,680 18.1K/s in 0.7s
2011-10-09 09:45:45 (18.1 KB/s) - `rpmforge-release-0.5.2-2.el5.rf.i386.rpm' sav ed [12680/12680]
[root@leo rpm]# ls
rpmforge-release-0.5.2-2.el5.rf.i386.rpm
[root@leo rpm]#
[root@leo rpm]# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
[root@leo rpm]# rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
rpmforge-release-0.5.2-2.el5.rf.i386.rpm: (sha1) dsa sha1 md5 gpg OK
[root@leo rpm]# rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
[root@leo rpm]# yum list | grep wine
wine.i386 1.2.3-1.el5.rf rpmforge
wine-capi.i386 1.2.3-1.el5.rf rpmforge
wine-cms.i386 1.2.3-1.el5.rf rpmforge
wine-core.i386 1.2.3-1.el5.rf rpmforge
wine-devel.i386 1.2.3-1.el5.rf rpmforge
wine-esd.i386 1.2.3-1.el5.rf rpmforge
wine-gecko.i386 1.0.0-1.nodist.rf rpmforge
wine-jack.i386 1.2.3-1.el5.rf rpmforge
wine-ldap.i386 1.2.3-1.el5.rf rpmforge
wine-nas.i386 1.2.3-1.el5.rf rpmforge
wine-twain.i386 1.2.3-1.el5.rf rpmforge
複製代碼
作者:
角色
時間:
2011-10-10 21:12
su -l 转到root的login
角色
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2