Settings for RedHat Distribution Files

Setting Up User

To add a user who can execute the commands using root super user permissions (root password was entered during distribution file installation), execute the following operations:

  1. Log in to the system under the account created during installation.

  2. Open the terminal by selecting the main menu item Programs > Standard > Terminal. In the window that opens execute the command of console login under root user:

su

Enter root user password.

  1. Edit /etc/sudoers file:

nano /etc/sudoers

After the strings:

## Allow root to run any commands anywhere

root    ALL=(ALL) ALL

add a string:

<user name>    ALL=(ALL) ALL

Enter the working account name instead of the <user name>. Press F2 to confirm changes.

  1. Log in to the console by executing the command:

su <user name>

Or just close the terminal window and reopen it.

Connecting of DVD Disk with RHEL Repository

Connecting of DVD disk with RHEL repository is necessary if there is no internet connection. To connect, execute the following operations:

  1. Copy the files to the home directory:

  1. Mount an *.iso image by executing the following commands in the terminal:

sudo mkdir -p /media/RHEL_6.1\ x86_64\ Disc\ 1

sudo mount -o loop /home/foresight/rhel-server-6.1-x86_64-dvd.iso /media/RHEL_6.1\ x86_64\ Disc\ 1/

  1. Copy dvd.repo to the directory /etc/yum.repos.d/ by executing the command in the terminal:

sudo cp dvd.repo /etc/yum.repos.d/

See also:

Installing and Setting Up BI Server on RHEL