LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2061|回复: 19

关于yum ,不得不发贴了

[复制链接]
发表于 2006-12-21 16:24:04 | 显示全部楼层 |阅读模式
首先声明,本人刚开始用linux,所有牢骚只是心里郁闷,毫无说linux不好的道理,我也说了我的问题我能看到看懂得贴都试过了
/*安装fc5以来的牢骚,纯属废话,大大们可以直接看后面的问题
最近装了fc5 内核是2.6.15-1.2054_fcsmp,之前也想过用linux的困难,不过没想到一个add/remove software 把我拒之千里
自带的词典没有词库,忍了!音乐播放器不能放mp3,也忍了,可是装个软件也这么头疼,搞得我不想提问都不行。
论坛上很多关于yum的贴,我能看的,看的懂的都看过了
*/

我是在vmware workstation 5.5.3 build 34685 上装的fc5 dvd 镜像
题如下
1。挂载iso镜像我搞定了,不过我是将iso文件从host机xp传到fc5里面的,然后挂在镜像到/mnt/fc5下,这样用的,我想问的可不可以把关盘直接放光驱里面(一个iso3.02G,我虚拟机才分了8g),然后挂载到/mnt/fc5下用呢?我试过,每次用mount -t iso9660 /dev/cdrom /mnt/fc5 都会报mount :block device /dev/cdrom is write-protected,mounting read-only,并且add/remove software也总是停在获取软件包信息不到后报unable to retrieve software information
/*大家看我打这么多字的面上,忍忍往下看吧*/
2。最关键的问题,那个yum源实在搞得我火大,先说说我网络情况,vm连得公司网,代理用得192.168.7.12/8080 那些yum源我用浏览器都能打开,甚至试过下xmms*.rpm得包来安装,关于代理我也把/etc/yum.conf文件加过
export http_proxy="http://user:password@ip:port"
export ftp_proxy="http://user:password@ip:port"
我尝试过http://rpm.livna.org/livna-release-5-rpm
还有就是freshrpm得yum源,都连不上,报错error:skipping http://rpm.livna.org/livna-release-5.rpm-transfer failed -unknown or unexported error

3.vmware那个vmtools 我挂载了vmware 目录下的linux镜像后(那个应该就是tools),里面有tar。gz和 rpm 2个文件,我用rpm -ivh 安装过那个VMware Tools*.rpm的文件,也显示安装100%了,可是虚拟机还是显示没有安装tools,why?那个tar.gz的包。我tar过之后./运行那个.pl文件,一路回车下去结果说我没有gcc的头文件,天地良心,我定制软件包的时候有gcc符号的我都装了,请问gcc的includ文件夹在哪里?

这些问题烦我好几天了,小弟跪求解答,另外有没有能提供下命令大全的,最好要命令参数解释全面清楚的,有命令例子的最好,那个man 简直扼杀我等e文菜鸟
 楼主| 发表于 2006-12-21 16:32:21 | 显示全部楼层
有没有什么好去处可以直接下载rpm安装包的?
回复 支持 反对

使用道具 举报

发表于 2006-12-21 17:36:09 | 显示全部楼层
我也是个新手,试着回复你的问题。如有不对的,请各位多多指教。
1. mount :block device /dev/cdrom is write-protected,mounting read-only应属正常(具体的英文提示是什么样子,我得回去后确定确定)。直接访问/mnt/fc5即可。
2. yum源:抱歉。我还没解决。
3. vmtools 安装:如果你确定自己装了gcc(好象是在administration tool里面,记得不是很清楚),rpm -ivh *.rpm之后,输入vm,按两次Tab健,选择扩展名为pl的包,一路回车后应该就可以装上了。当然,你得重启后才生效。
4.命令大全我有。发邮件给我,我附给你philhu2000@tom.com
回复 支持 反对

使用道具 举报

发表于 2006-12-21 17:46:04 | 显示全部楼层
哦。直接装到硬盘上没什么事的。这样比较好点。关于装什么XMMS
#yum -y install xmms
#yum -y install xmms-mp3
#yum -y install xmms-wma
你以为你装是WINDOWS啊。这个东西不要钱的。当然得付出点什么东西...
回复 支持 反对

使用道具 举报

发表于 2006-12-21 18:42:08 | 显示全部楼层
楼上的头像是moon么?
最近他状态不错,好喜欢他啊
回复 支持 反对

使用道具 举报

发表于 2006-12-21 19:17:19 | 显示全部楼层
有没有什么好去处可以直接下载rpm安装包的?
http://rpm.pbone.net
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-22 10:23:34 | 显示全部楼层
Post by philhu2000
我也是个新手,试着回复你的问题。如有不对的,请各位多多指教。
1. mount :block device /dev/cdrom is write-protected,mounting read-only应属正常(具体的英文提示是什么样子,我得回去后确定确定)。直接访问/mnt/fc5即可。
2. yum源:抱歉。我还没解决。
3. vmtools 安装:如果你确定自己装了gcc(好象是在administration tool里面,记得不是很清楚),rpm -ivh *.rpm之后,输入vm,按两次Tab健,选择扩展名为pl的包,一路回车后应该就可以装上了。当然,你得重启后才生效。
4.命令大全我有。发邮件给我,我附给你philhu2000@tom.com



谢谢了,我试试按你的搞搞,那个yum源我猜测是单位给封了
马上给你发邮件,呵呵,高兴有人回贴
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-22 10:30:48 | 显示全部楼层
Post by chinabiue
哦。直接装到硬盘上没什么事的。这样比较好点。关于装什么XMMS
#yum -y install xmms
#yum -y install xmms-mp3
#yum -y install xmms-wma
你以为你装是WINDOWS啊。这个东西不要钱的。当然得付出点什么东西...



我也知道不要钱撒,昨天去下了个xxms的rpm包,放到fc里面装了快一个多小时,不停的解压包,下载package,搞了半天最后完了居然安装部成功,郁闷死了,有没现成的xxmsrpm包,发一个给我好不,邮箱是binhu20@126.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-22 10:50:40 | 显示全部楼层
[QUOTE=philhu2000]我也是个新手,试着回复你的问题。如有不对的,请各位多多指教。
1. mount :block device /dev/cdrom is write-protected,mounting read-only应属正常(具体的英文提示是什么样子,我得回去后确定确定)。直接访问/mnt/fc5即可。
2. yum源:抱歉。我还没解决。
3. vmtools 安装:如果你确定自己装了gcc(好象是在administration tool里面,记得不是很清楚),rpm -ivh *.rpm之后,输入vm,按两次Tab健,选择扩展名为pl的包,一路回车后应该就可以装上了。当然,你得重启后才生效。
4.命令大全我有。发邮件给我,我附给你philhu2000@tom.com[/QUOTE

我想知道的是挂在iso镜像和挂在光驱里面的光盘为什么前者可以用add/remove software 后者则报unable to retrieving software information?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-22 11:38:30 | 显示全部楼层
philhu2000:
我运行过rpm -ivh 运行vmtools的rpm包,结果我说已经安装了,可是虚拟机右下方还是说未安装
下面是安装tar。gz里面的。pl文件,一直都说我gcc的头文件路径不对,我也不知道在那里/src/include?

[root@hu_fedora vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware software has been detected.

The previous installation was made by the rpm installer (version 3).

Converting the rpm3 installer database format
        to the tar3 installer database format.


Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]


In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 5.5.3 build-34685 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [确定]
Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表