【生意多】-免费发布分类信息
当前位置: 首页 » 新闻 » 网络营销 » 正文

centos7.5下载,cenOS

放大字体  缩小字体 发布日期:2022-07-22 23:08:20    浏览次数:14

01 sudo vim /etc/yum.repos.d/CentOS-base.repo代码:# CentOS-base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manually picking other mirrors.## If the mirrorlist= does not work for you, as a fall back you can try the# remarked out baseurl= line instead.##[base]name=CentOS-$releasever - base#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=osbaseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6#released updates[updates]name=CentOS-$releasever - Updates#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updatesbaseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6#additional packages that may be useful[extras]name=CentOS-$releasever - Extras#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extrasbaseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6#additional packages that extend functionality of existing packages[centosplus]name=CentOS-$releasever - Plus#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplusbaseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/gpgcheck=1enabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6#contrib - packages by Centos Users[contrib]name=CentOS-$releasever - Contrib#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contribbaseurl=http://mirrors.163.com/centos/$releasever/contrib/$basearch/gpgcheck=1enabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6接下来里面更新:sudo yum update更新完后,下载几个字体,wqy-microhei.ttc,YaHeiConsolas,Microsoft_YaHei等,然后在系统设置->外观里面修改默认字体。———RPMforge repository—————有时候有些软件可能在中心的repo里面的没有,这时候最好使用RPMforge repository,但是这样来的话升级的时候会有version冲突,于是可以这样子设置:先下载RPMForge的repo:wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm安装:rpm -ivh rpmforge-release-0.5.2-1.el6.rf.x86_64.rpmyou’ll get a warning, but it will proceed based on the flags that you set. warning: rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm : Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEYPreparing... ########################################### [100%]1:rpmforge-release ########################################### [100%]接下来最最重要的就是设置优先级了:Now you need to edit /etc/yum.repos.d/CentOS-base.repo and add these priorities to the bottoms of each of the following repo sections:[base]priority=1[updates]priority=1[extras]priority=1Save your changes on this file and edit the rpmforge.repo file. You’ll only need to edit the one repository section.[rpmforge]priority=5Save your changes and you’re finished.-----------开始更新浏览器版本至firefox18-------------参考文章:http://www.if-not-true-then-false.com/2011/install-firefox-on-fedora-centos-red-hat-rhel/备份下先:tar -cvzf $HOME/mozilla-firefox-profiles-backup.tar.gz $HOME/.mozilla/firefox/su -## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm## CentOS 6 and Red Hat (RHEL) 6 ##rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm检查有用的版本:yum --enablerepo=remi list firefox# 更新或者安装 Mozilla Firefox 18/10yum --enablerepo=remi update firefox# 启动 Firefox 18/10firefoxfirefox安装那个flash插件:去adobe的官网上去下载,选择tar.gz包,解压,得到libflashplayer.so, 把这个文件复制到 /home/username/.mozilla/plugins目录下,重启firefox就行了。要注意的是,libflashplayer.so必须属于指定普通用户。-------------install google chrome 24------------sudo vim /etc/yum.repos.d/CentOS-base.repogoogle64]name=Google – x86_64baseurl=http://dl.google.com/linux/rpm/stable/x86_64enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub安装稳定版本:sudo yum install google-chrome-stable

 
(文/小编)
打赏
免责声明
• 
本文为小编原创作品,作者: 小编。欢迎转载,转载请注明原文出处:https://www.31duo.com/news/show-3820935.html 。本文仅代表作者个人观点,本站未对其内容进行核实,请读者仅做参考,如若文中涉及有违公德、触犯法律的内容,一经发现,立即删除,作者需自行承担相应责任。涉及到版权或其他问题,请及时联系我们。
 

(c)2016-2019 31DUO.COM All Rights Reserved浙ICP备19001410号-4

浙ICP备19001410号-4