1、给firefox装adobe插件:
1 下载install_flash_player_10_linux.tar.zip,解压tar -zxvf install_flash_player_10_linux.tar.zip得到libflashplayer.so
2 将libflashplayer.so拷贝到/usr/lib64/firefox/plugins这个目录下(我的系统是64位)
3 重启firefox即可
2、centos7装StarDict
1 下载RPM包:http://pkgs.org/centos-6-rhel-6/naulinux-school-x86_64/stardict-3.0.2-1.el6.x86_64.rpm/download/
2 yum localinstall stardict-3.0.2-1.el6.x86_64.rpm
3 下载并安装支持StarDict的简体中文词典(http://abloz.com/huzheng/stardict-dic/zh_CN/)并将解压文件放在/usr/share/stardict/dic/下。
3 、epel yum源安装
[epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 [epel-debuginfo] name=Extra Packages for Enterprise Linux 6 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel-debug-6&arch=$basearch failovermethod=priority enabled=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 [epel- source ] name=Extra Packages for Enterprise Linux 6 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel- source -6&arch=$basearch failovermethod=priority enabled=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 |
[epel]
name=Extra Packages
for
Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https:
//mirrors
.fedoraproject.org
/metalink
?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[epel-debuginfo]
name=Extra Packages
for
Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https:
//mirrors
.fedoraproject.org
/metalink
?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[epel-
source
]
name=Extra Packages
for
Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https:
//mirrors
.fedoraproject.org
/metalink
?repo=epel-
source
-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
===============================================================================================
vmware下安装vmware-tool
1、检查系统是否安装了kernel-devel、gcc(非图形界面还有perl),如果没有安装就要先安装这些工具。具体如下:
首先挂载安装光盘mount /dev/cdrom /mnt,再执行cd /etc/yum.repos.d,rm -rf * ,vim my.repos 在my.repos中编辑如下内容:
name=my
baseurl=file:///mnt
enable=1
gpgcheck=0
配置好yum源后就可以yum install kernrl-devel gcc 了
2、点击虚拟机上的vm-install vm-tool。再挂载光盘,解压缩里面的VMw*-gz到/opt文件中
3、cd到/opt/vm*下,执行里面的*.pl文件,再一路回车即可.