CentOS7 安装插件总结

2018-01-25  本文已影响813人  二石兄

服务器端开发、部署一直使用的纯命令行,由于处理数据使用 Kettle(Pentaho Data Integration) 工具,界面化配置多些,ETL 开发效率更高些,于是安装了 Gnome 桌面、VNCServer。

安装桌面是为了提高开发效率,安装桌面插件是为了提高使用桌面的效率,对开发效率的影响更大。


系统版本

$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.3.1611 (Core)
Release:        7.3.1611
Codename:       Core

gnome 版本

$ gnome-shell —version
GNOME Shell 3.22.3

安装依赖的软件包

command -v firefox >/dev/null 2>&1 || {
    echo "## 安装 firefox"
    yum install -y firefox
    firefox -V
}

command -v python >/dev/null 2>&1 || {
    echo "## 安装 python"
    yum install -y epel-release
    python -V
}

command -v pip >/dev/null 2>&1 || {
    echo "## 安装 python-pip"
    yum install -y python-pip
    pip -V
}
pip install --upgrade pip
pip install requests urllib3 pyOpenSSL

yum install -y git cmake jq gnome-shell-browser-plugin gnome-tweak-tool

安装 gnome-chrome-shell

test -f /usr/bin/chrome-gnome-shell || {
  echo "## 安装 chrome-gnome-shell"
  mkdir -p ~/tools && cd ~/tools
  git clone git://git.gnome.org/chrome-gnome-shell
  cd chrome-gnome-shell
  mkdir build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXTENSION=OFF ../
  sudo make install
}

head /usr/bin/chrome-gnome-shell
/usr/bin/python /usr/bin/chrome-gnome-shell --gapplication-service

使用 firefox(系统默认浏览器)打开链接安装 GNOME Shell integration 插件:

https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration/

Gnome 插件管理网站:

http://extensions.gnome.org/

在【extensions】搜索插件、【installed extensions】查看已安装插件;搜索插件, 点击 switch 为 on, 浏览器会自动安装

搜索插件 安装插件

推荐插件列表:

参考

上一篇 下一篇

猜你喜欢

热点阅读