Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 3. Installing the Undercloud
The first step to creating your Red Hat Enterprise Linux OpenStack Platform environment is to install the director on the Undercloud system. This involves a few prerequisite steps to enable the necessary subscriptions and repositories.
3.1. Creating a Director Installation User Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
The director installation process requires a non-root user to execute commands. Use the following commands to create the user named
stack and set a password:
useradd stack passwd stack # specify a password
[root@director ~]# useradd stack
[root@director ~]# passwd stack # specify a password
Disable password requirements for this user when using
sudo:
echo "stack ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/stack chmod 0440 /etc/sudoers.d/stack
[root@director ~]# echo "stack ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/stack
[root@director ~]# chmod 0440 /etc/sudoers.d/stack
Switch to the new
stack user:
su - stack
[root@director ~]# su - stack
[stack@director ~]$
Continue the director installation as the
stack user.