1. Description
The customer provided 3 machines, but did not provide root user authority. The most commonly used in the installation process of Ambari is sudo, which allows ordinary users to execute some root commands. Reference: Ambari non-root user installation steps
2. Non-root user Ambari
2.1. JDK installation
Modify the JDK folder and its files to belong to the current ordinary user
Here we only list the points to pay attention to, the installation of non-root users should pay attention to the file permissions, and the other installation steps are basically the same.
2.2. Password-free login
2.3. Mysql connection jar package
yum -y install mysql-connector-java*
2.4. Ambari's repo configuration
(1) Modification of the permission of soft connection
(2) Modify the permissions of the repo file
Ask the current ordinary user to modify the permissions of the repo file
2.5. Key Copy
The secret-free file will be in the /home/xxx/.ssh folder. Go to the user's directory and use the ll -a command to see the .ssh folder. SSH User Account uses the current ordinary user.
2.6.Ambari-Server
I forgot to take a screenshot here, use another picture description to enter the current normal user of Ambari-sever settings
2.7.Confirm Hosts
I forgot to take a screenshot here, use the previous picture to illustrate the problem
No warning is reported after executing sudo service iptables stop. It is explained here that the warning can only be guaranteed to succeed without warning.
Note : Generally, an error is reported when HA is executed, and HA is not turned on afterwards, there is no problem installing Kerberos.