yum install VirtualBox-4.2 -y
其他依赖包都没问题了,就是这virtual box自己太大,网速不给力,下一会儿就断掉了。如:
Install 55 Package(s)
Total size: 112 M
Total download size: 71 M
Installed size: 275 M
Downloading Packages:
http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm: [Errno 12] Timeout on http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
Error Downloading Packages:
VirtualBox-4.2-4.2.26_95022_el6-1.x86_64: failure: VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm from virtualbox: [Errno 256] No more mirrors to try.
我可以不可以在另一台网速快的电脑上下载好放到服务器上,再来安装?
You can download it first, copy it to this computer through other methods, and put it in a certain directory
Then yum install + file name
You want:
rpm -ivh xxx.rpm
?
You can do this. But wouldn't it be better to change the source?
You can change the software source, such as the 163 source. There are many such sources online, you can check them
During installation, the system disk has multiple CDs, and multiple CDs can be installed. The other disks are class libraries. Debian is like this, I don’t know if the RedHat source is the same