banner
破影岚歌

破影岚歌的博客

bilibili
twitter
github

9. Software Installation on CentOS 7

Software Installation on CentOS (yum installation)#

Prerequisite: Mount the CD first#

mount /dev/cdrom /media/cdrom

  1. Configure yum installation environment (local source)

    Modify /etc/yum.repos.d/CentOS-Media.repo

    Change enabled=0 to enabled=1 where 0 means disabled and 1 means enabled

    Explanation of other parameters#

     1. `gpgcheck=1` integrity check
     2. `baseurl=file:///media/cdrom` file address `file://` indicates local path
     3. `[Repository Name]`
     4. `name=Repository Name`
    
  2. Install vim tool

    yum -y install vim (software name)

  3. Install CentOS desktop environment (Gnome)

    yum -y groupinstall "X Windows System"
    yum -y groupinstall "GNOME Desktop"
    
  4. Set default run level by checking /etc/inittab file

    systemctl set-default graphical.target

    After setting, restart: init 6

  5. Install libreoffice

    yum -y install libreoffice*

Additional experiment: Try installing the KDE desktop environment

Check software packages with yum grouplist

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.