前言
最近在玩KDE,一些安装后的系统设置记录。
CentOS7中文支持
代码语言:javascript复制sudo yum install -y kde-l10n-Chinese.noarch
然后在系统设置的语言中选择加入简体中文,重启系统。
Install Yum Fastest Mirror Plugin
以最优方式选择YUM源
代码语言:javascript复制 sudo yum install yum-plugin-fastestmirror
Install Flash Player
代码语言:javascript复制sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
sudo yum install flash-plugin
Install NTFS-3G
代码语言:javascript复制sudo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
sudo yum install -y ntfs-3g
sudo fdisk -l
sudo mkdir /mnt/ntfs
sudo mount -t ntfs-3g /dev/sdb1 /mnt/ntfs/
Install VMWare
代码语言:javascript复制sudo chmod a x VMware-Workstation-Full-11.0.0-2305329.x86_64.bundle
sudo ./VMware-Workstation-Full-11.0.0-2305329.x86_64.bundle
搭建本地YUM源
代码语言:javascript复制sudo yum install createrepo -y
sudo mkdir /media/CentOS7-LocalSource
sudo mount -t iso9660 -o loop /image/CentOS-7.0-1406-x86_64-Everything.iso /media/CentOS7-LocalSource
vim /etc/fstab
代码语言:javascript复制/image/CentOS-7.0-1406-x86_64-Everything.iso /media/CentOS7-LocalSource defaults,ro,loop 0 0
代码语言:javascript复制sudo mkdir /media/CentOS7-LocalServer
cd /media/
sudo createrepo -v CentOS7-LocalServer
vim /etc/yum.repos.d/CentOS7-LocalServer.repo
代码语言:javascript复制[CentOS7-LocalServer]
name=LocalServer
baseurl=file:///media/CentOS7-LocalServer
enable=1
gpgcheck=0
代码语言:javascript复制yum clean all
yum makecache
添加rpmforge源
Download:http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
代码语言:javascript复制sudo rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
添加elrepo源
Download:http://elrepo.reloumirrors.net/elrepo/el7/x86_64/RPMS/elrepo-release-7.0-1.el7.elrepo.noarch.rpm
代码语言:javascript复制sudo rpm -ivh elrepo-release-7.0-1.el7.elrepo.noarch.rpm
添加epel源
vim /etc/yum.repo.d/epel.repo
代码语言:javascript复制 [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
添加mosquito源
sudo vim mosquito-myrepo-epel-7.repo
代码语言:javascript复制[mosquito-myrepo]
name=Copr repo for myrepo owned by mosquito
baseurl=http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo/epel-7-$basearch/
skip_if_unavailable=True
gpgcheck=0
enabled=1
在安装完需要的软件后,建议和关闭这个源enabled=0
添加nux-dextop源
Download:http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
代码语言:javascript复制sudo rpm -ivh nux-dextop-release-0-1.el7.nux.noarch.rpm
Install Google Chrome
代码语言:javascript复制sudo yum localinstall --nogpgcheck https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Install .zip & .rar Plugin
代码语言:javascript复制sudo yum install unzip unrar
Install VLC Player
代码语言:javascript复制 sudo yum install vlc -y
更新系统
代码语言:javascript复制sudo yum update
更新完成后充气电脑
安装yum-axelget
yum-axelget是EPEL提供的一个yum插件。使用该插件后用yum安装软件时可以并行下载
代码语言:javascript复制sudo yum install yum-axelget
Install google 浏览器
代码语言:javascript复制sudo wget http://repo.fdzh.org/chrome/google-chrome-mirrors.repo -P /etc/yum.repos.d/
sudo yum install google-chrome-stable
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/109151.html原文链接:https://javaforall.cn