佳木斯湛栽影视文化发展公司

主頁 > 知識庫 > cenos 6.3 安裝使用筆記分享

cenos 6.3 安裝使用筆記分享

熱門標簽:記事本 客戶服務(wù) 分布式呼叫中心 客服熱線 外呼系統(tǒng) 銀行業(yè)務(wù) 回撥系統(tǒng) 電銷行業(yè)

sudo vim /etc/yum.repos.d/CentOS-Base.repo

復(fù)制代碼
代碼如下:

# 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=$releaseverarch=$basearchrepo=os
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=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=$releaseverarch=$basearchrepo=extras
baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=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=$releaseverarch=$basearchrepo=centosplus
baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=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=$releaseverarch=$basearchrepo=contrib
baseurl=http://mirrors.163.com/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6


接下來里面更新:sudo yum update

更新完后,下載幾個字體,wqy-microhei.ttc,YaHeiConsolas,Microsoft_YaHei等,然后在系統(tǒng)設(shè)置->外觀里面修改默認字體。

———RPMforge repository—————

有時候有些軟件可能在中心的repo里面的沒有,這時候最好使用RPMforge repository,但是這樣來的話升級的時候會有version沖突,于是可以這樣子設(shè)置:

先下載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.rpm

you’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: NOKEY
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]

接下來最最重要的就是設(shè)置優(yōu)先級了:

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:

復(fù)制代碼
代碼如下:

[base]
priority=1
[updates]
priority=1
[extras]
priority=1


Save your changes on this file and edit the rpmforge.repo file. You’ll only need to edit the one repository section.


[rpmforge]
priority=5

Save 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/10
yum --enablerepo=remi update firefox

# 啟動 Firefox 18/10
firefox

firefox安裝那個flash插件:

去adobe的官網(wǎng)上去下載,選擇tar.gz包,解壓,得到libflashplayer.so, 把這個文件復(fù)制到 /home/username/.mozilla/plugins目錄下,重啟firefox就行了。要注意的是,libflashplayer.so必須屬于指定普通用戶。

-------------install google chrome 24------------

sudo vim /etc/yum.repos.d/CentOS-Base.repo

復(fù)制代碼
代碼如下:

[google64]
name=Google – x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


安裝穩(wěn)定版本:sudo yum install google-chrome-stable

標簽:綿陽 阿里 濱州 拉薩 阜陽 廣東 德州 公主嶺

巨人網(wǎng)絡(luò)通訊聲明:本文標題《cenos 6.3 安裝使用筆記分享》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    临西县| 南溪县| 溧阳市| 介休市| 伊金霍洛旗| 五家渠市| 东源县| 新田县| 措勤县| 新巴尔虎左旗| 武定县| 乌恰县| 兴安盟| 赞皇县| 扬中市| 峨边| 宁明县| 新津县| 当雄县| 介休市| 兰州市| 巨鹿县| 沈阳市| 黎城县| 沧源| 黎平县| 镇宁| 陵水| 浮梁县| 伽师县| 乐昌市| 深水埗区| 马关县| 时尚| 襄樊市| 平陆县| 农安县| 信宜市| 布尔津县| 安龙县| 双流县|