Chrome

http://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-run-google-chrome-as-root-fedora-16-centos-6-rhel-6.html

  • Download & Install

  • Entry /usr/share/applications

  • Select chrome icon

  • Right key

  • Add -no-sandbox to startup command

    • old: /usr/bin/google-chrome-stable %U
    • new: /usr/bin/google-chrome-stable %U -no-sandbox
  • Finished & Start Chrome. OK! Enjoy it.

Go、Golang

  • Download & Install

Open In Termianl

http://www.fedora.cc/fedora-zhongduan-1.html

  • yum -y install nautilus-open-terminal

  • reboot

Install Lantern

Linux系统提供一个软件alien,使用它能够把deb包转换成各种格式。 安装lantern时将 .deb -> .rpm

  • Download Lantern for Ubuntu-14.04.x64.deb

  • Install alien

    • sudo dnf install alien
  • Convert .deb to .rpm

    • alien lantern-4.0.1-2.x86_64.dep -r lantern-4.0.1-2.x86_64.rpm
  • Install Lantern

    • rpm -ivh lantern-4.0.1-2.x86_64.rpm
    • rpm -ivh –force lantern-4.0.1-2.x86_64.rpm
  • Start Lantern

Nut Cloud

如何从源代码编译安装

  • Install dependent files

    • yum install glib2-devel gtk2-devel nautilus-devel gvfs java-1.7.0-openjdk-headless > NOte: java-jdk可能已经安装,只需要完成其他依赖安装
  • Download NutCloud Plugin

  • Decompress, Compile & Install

    • tar zxf nutstore_linux_src_installer.tar.gz
    • cd nutstore_linux_src_installer && ./configure && make
    • sudo make install
  • Restart nautilus

    • nautilus -q
  • Install other plugin for nautilus

    • ./runtime_bootstrap

Neteasy Music

http://blog.csdn.net/QQlwx/article/details/75094909

  • Download .deb package

  • Convert .dep to .rpm

    • alien netease-cloud-music_1.0.0-2_amd64_ubuntu16.04.deb -r netease-cloud-music_1.0.0-2_amd64_ubuntu16.04.rpm
  • Install dependent packages

    1
    2
    3
    
    $ dnf install qt5-qtmultimedia qt5-qtx11extras libmad
    $ su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
    $ dnf install gstreamer1-libav gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-vaapi

    Teamviewer

    http://www.itzgeek.com/how-tos/linux/fedora-how-tos/install-teamviewer-on-fedora-22-21.html

    HitChat

    Fedora Install Hipchat

    Install from hipchat4.repo (Preferred)

    • Create hipchat4.repo

    • sudo gedit /etc/yum.repos.d/hipchat4.repo

    • Add content

      1
      2
      3
      4
      5
      
      [atlassian-hipchat4]
      name=Atlassian Hipchat4
      baseurl=https://atlassian.artifactoryonline.com/atlassian/hipchat-yum-client/
      enabled=1
      gpgcheck=0
    • IInstall hipchat:

    • sudo dnf install hipchat4 –refresh

    Install from hipchat4.deb

    • Download the latest available debian package from here

    • Convert hipchat debian package to rpm package:

    • sudo alien HipChat4-4.0.1635-Linux.deb -r

    • Install hipchat:

    • sudo dnf install hipchat4-4.0.1635-2.x86_64.rpm

    Remove Old Kernel

    Linux删除多余内核
    centos如何删除多余的启动引导项?

    Centos/Fedora/Redhat

    • 查看系统正在使用的内核

    1
    2
    3
    
    $ uname -r
    
    4.12.14-300.fc26.x86_64
  • 查看系统中所有的内核

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
$ rpm -qa | grep kernel

kernel-4.12.14-300.fc26.x86_64
kernel-4.12.12-300.fc26.x86_64
libreport-plugin-kerneloops-2.9.1-3.fc26.x86_64
abrt-addon-kerneloops-2.10.3-3.fc26.x86_64
kernel-modules-extra-4.12.12-300.fc26.x86_64
kernel-core-4.12.14-300.fc26.x86_64
kernel-modules-extra-4.12.14-300.fc26.x86_64
kernel-modules-4.12.14-300.fc26.x86_64
kernel-core-4.12.12-300.fc26.x86_64
kernel-modules-4.12.12-300.fc26.x86_64
kernel-headers-4.12.14-300.fc26.x86_64
  • 删除你想要删除的内核

eg. 删除内核 4.12.12-300.fc26.x86_64(需要删除所有包含 4.12.14-300 字样的文件)

1
2
$ dnf remove -y kernel-4.12.12-300.fc26.x86_64
$ dnf remove -y kernel-core-4.12.12-300.fc26.x86_64

以上两条命令会删除内核4.12.12-300以及所有依赖文件

  • Reboot,就可以看到,内核被删掉了,同时多余的启动项也自动被删掉了。

Note:

  • 最快捷: CentOS/RHEL 6.x后可以直接执行以下语句进行删除:

    yum remove kernel

  • 注意:CentOS/RHEL 6.x以前版本及Fedora执行上述命令会删除当前在用内核,请采用常规手段执行。

Debian/Ubuntu

Linux开机自动挂载Win分区

Linux开机自动挂载Win分区

通过fstab文件

通过开机脚本

编辑 /etc/profile 脚本文件实现挂载

挂载Windows的D盘到Linux /home/work 目录

1
mount -t ntfs /dev/sda5 /home/work

挂载文件

1
$ mount \\10.4.11.142\home\share x:\

FAQ

Win10 + Fedora 双系统引导问题 ?

  • Q: 每次 Fedora系统更新都会产生一个引导项 ?
  • W: 内核更新会导致grub2配置更新
  • A: 修改grub2的配置文件可删除旧版系统的引导菜单

See Also

Thanks to the authors 🙂