云社区 博客 博客详情

cent7.7安装完成后的工具准备

男篮必胜 发表于 2019-12-21 20:37:01 2019-12-21
0
0

【摘要】 【推荐】2019Java开发者跳槽指南.pdf(吐血整理)>>>一、安装无线WIFI网卡(comfast的CF-939AC,芯片型号:RTL8814AU)linux采用8812的驱动也可以,下载地址:https://elrepo.org/linux/elrepo/el7/x86_64/RPMS/kmod-rtl8812au-5.3.4-1.el7_7.elrepo.x86_64...

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

一、安装无线WIFI网卡(comfast 的CF-939AC,芯片型号:RTL8814AU)

linux采用8812的驱动也可以,下载地址:https://elrepo.org/linux/elrepo/el7/x86_64/RPMS/kmod-rtl8812au-5.3.4-1.el7_7.elrepo.x86_64.rpm

window下载地址:http://www.comfast.cn/uploadfile/%E8%BD%AF%E4%BB%B6%E9%A9%B1%E5%8A%A8/%E7%BD%91%E5%8D%A1%E7%B1%BB/CF-939AC.zip

二、换国内源:

首先备份 CentOS-Base.repo sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.org

之后启用 TUNA 软件仓库, 将以下内容写入 /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
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

添加epel源

sudo vi /etc/yum.repos.d/epel.repo

[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=https://mirrors.tuna.tsinghua.edu.cn/epel/7/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl=https://mirrors.tuna.tsinghua.edu.cn/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=https://mirrors.tuna.tsinghua.edu.cn/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

sudo wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 https://mirrors.tuna.tsinghua.edu.cn/epel/RPM-GPG-KEY-EPEL-7

更新软件包缓存

sudo yum makecache

三、谷歌浏览器:

1. 下载 rpm 包
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
2. 安装依赖包
yum install   libXScrnSaver  libappindicator-gtk3  libdbusmenu libdbusmenu-gtk3  libindicator-gtk3
3. 安装chrome
rpm -ivh google-chrome-stable_current_x86_64.rpm
4. 将chrome浏览器快捷方式放到桌面上
将 /usr/share/application/ 目录下的 Google Chrome 图片右键-->复制到桌面即可,如下图中所示:

sudo cp /usr/share/applications/google-chrome.desktop /root/Desktop

5.重启

6.解决google-chrome无法启动的问题

# 修改:Exec=/usr/bin/google-chrome-stable %U 为:Exec=/usr/bin/google-chrome-stable %U --no-sandbox
vi /usr/share/applications/google-chrome.desktop
	
cp  /usr/share/applications/google-chrome.desktop  /root/Desktop

四、汉字输入法:

yum install ibus ibus-libpinyin

然后重启。

最后在Settings -> Region & Language那里的Input Sources增加 Chinese (China) -> Chinese (Intelligent Pinyin)即可。

五、谷歌输入法:

1.下载软件:

wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libgooglepinyin/ibus-googlepinyin-0.1.2.tar.bz2

wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libgooglepinyin/libgooglepinyin-0.1.2.tar.bz2

其他下载地址:https://www.archlinux.org/packages/community/x86_64/libgooglepinyin/

2.安装依赖包

yum install -y libpinyin.x86_64 libpinyin-data.x86_64 libpinyin-devel.x86_64
yum install -y ibus-devel.x86_64
yum install -y ibus-pygtk2.noarch
yum install -y cmake

3.编译安装

cd ./ 
tar xvf libgooglepinyin-0.1.2.tar.bz2 
tar xvf ibus-googlepinyin-0.1.2.tar.bz2 
cd libgooglepinyin-0.1.2
mkdir build 
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

cd ../../ibus-googlepinyin
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install 

4.重启ibus服务

sudo ibus restart

5.设置

桌面系统输入法设置  applications --system tools---settings region& language ---input sources ---+chinese(intelllgent pinyin) 

六、fcitx输入法安装

sudo yum install -y fcitx fcitx-configtool fcitx-cloudpinyin fcitx-pinyin 
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/15.2/repo/oss/x86_64/fcitx-googlepinyin-0.1.6-lp152.3.2.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/15.2/repo/oss/x86_64/libgooglepinyin0-0.1.2-lp152.4.4.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/15.2/repo/oss/noarch/ibus-googlepinyin-0.1.2-lp152.3.2.noarch.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/15.2/repo/oss/x86_64/python-ibus-1.5.19-lp152.3.3.x86_64.rpm

wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/42.3/repo/oss/suse/x86_64/fcitx-config-gtk3-0.4.9-1.1.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/42.3/repo/oss/suse/x86_64/libgooglepinyin0-0.1.2-16.1.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/42.3/repo/oss/suse/noarch/ibus-googlepinyin-0.1.2-14.1.noarch.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/42.3/repo/oss/suse/x86_64/fcitx-googlepinyin-0.1.6-10.1.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-opensuse/distribution/leap/42.3/repo/oss/suse/x86_64/python-ibus-1.5.13-4.1.x86_64.rpm

 

文章来源: www.oschina.net,作者:mbzhong,版权归原作者所有,如需转载,请联系作者。

原文链接:https://my.oschina.net/mengyoufengyu/blog/3145657

登录后可下载附件,请登录或者注册

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件至:huaweicloud.bbs@huawei.com进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容。
评论文章 //点赞 收藏 0
点赞
分享文章到微博
分享文章到朋友圈

上一篇:04-1 python语法入门之变量

下一篇:Spring Cloud第十一篇 | 分布式配置中心高可用

评论 (0)


登录后可评论,请 登录注册

评论