CentOS 的问题,一整天了,没搞定
装的一张光盘的server版,郁闷没有gcc等,什么都没有,想用up2date,公司是通过代理上网的,用户名我们都是 域\账号 这种形式的,在up2date-config里面加不加域,两个反斜杠,所有情况都试了一下,还是不行,提示都是代理验证失败,请教各位 域 怎么填,顺便yum怎么改 CentOS server一般安装完后最好要执行一下# yum install gcc gcc-c++ flex
为什么要用up2date
yum更新安装软件很方便,源非常的多,推荐使用。
# yum -y update CentOS server一般安装完后最好要执行一下
# yum install gcc gcc-c++ flex
为什么要用up2date
yum更新安装软件很方便,源非常的多,推荐使用。
# yum -y update
同理,yum也要设置代理,也有怎么设置这个 域 的问题 添加如下:
proxy=http://10.1.1.8:8080/
proxy_username=domain\\username
proxy_password=password
提示错误如下(账号密码没错):
http://mirror.centos.org/centos/4/updates/i386/repodata/repomd.xml: IOError: HTTP Error 407: Proxy authentication required
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: No more mirrors to try.
Error: failure: repodata/repomd.xml from update: No more mirrors to try. 搞定了,原来是密码中存在%这个特殊字符,在yum.conf中必须改为%%,比如密码为xyz%987,在yum.conf中必须填xyz%%9987,不知道为什么,如果你填xyz%%987,抓包你可以看到密码变成了xyz%87,所以只能用xyz%%9987
页:
[1]