RHEL: minimal Desktop w Altera Tools - alex-aleyan/linux_wiki GitHub Wiki

Installing RHEL: minimal Desktop w Altera Tools

  1. Allocate 8 GB of disk space and install CenOS7 Minimal with all default settings.
    1. Don't worry about space since we will add an LVM Volume and mount it at /opt where all the tools will be installed and user data will be stored.
  2. Setup repos:
    1. Mount the CentOS7-x86_74-Everything-1908.iso but remember to disable CD-DRIVE boot option in the VirtualBox.
    2. Before booting, add more storage to copy the rpms to.
    3. add and mount the lvm at /opt (see Creating LVM Logical Volumes here) and mount it at /opt
    4. Mount the DVD containing the repos: mount /dev/cdrom /media
    5. As a root user, copy the repos to a local directory: mkdir /opt/repos; cp -rpv /media/* /opt/repos
    6. install createrepo, yum-config-manager (see Add Repo here)
    7. make sure to disable all repos except the just added local one.
  3. Install VirtualBox Guest Additions in Guest OS (CentOS7).
    1. Mount the VBoxGuestAdditions_<Version here must match the VM's Version>.iso as Controller: SATA CDROM mkdir /media/guestadditions; mount /dev/sr1 /media/guestadditions
    2. Run the VBoxLinuxAdditions.run to install the GuestAdditions; it may require these utilities to be installed first:
      1. yum install kernel-devel bzip2 gcc make perl
    3. In Oracle VM VirtualBox Manager, add the shared folders (set the checkmark for auto-mount).
  4. Configure Proxy for webaccess by adding these lines to /etc/enviroment:
    1. export http_proxy="http://<your_proxy_here>:80
    2. export https_proxy="https://<your_proxy_here>:80
  5. Configure GIT
  6. Install Altera tools using this instructions.
    1. Centos7: Install minimal desktop by running install_minimal_desktop.sh which preforms:
      1. Installation of this packages:
        1. gnome-classic-session
        2. gnome-terminal
        3. nautilus-open-terminal
        4. control-center
      2. Installation of this groups (you might have to configure yum's groups; see Work with the Groups here):
        1. X Window System
        2. fonts
      3. Re-configuring OS to boot gnome visual desktop.
    2. Follow this tutorial to install the Altera tools.