Configuring Ranger
Describes how to set up Ranger services and run the configuration script.
Use these steps:
      
      
   - Set up Ranger services:
- In the 
install.propertiesfile in the Ranger Admin home directory (/opt/mapr/ranger/ranger-<version>/ranger-admin/install.properties), modify the properties using one of the following options:- If you have skipped Step 1. and 2. in Installing Ranger procedure, modify the
                           following properties:
db_root_user=root db_root_password=<root_db_password> db_name=<created_db_name> db_user=<created_db_user> db_password=<created_db> rangerAdmin_password=<min_8_char_with_numeric_and_min_one_capital> rangerTagsync_password=<min_8_char_with_numeric_and_min_one_capital> rangerUsersync_password=<min_8_char_with_numeric_and_min_one_capital> keyadmin_password=<min_8_char_with_numeric_and_min_one_capital> - If you have performed Step 1. and 2. in Installing Ranger procedure, modify the
                           following properties:
db_name=<created_db_name> db_user=<created_db_user> db_password=<created_db> rangerAdmin_password=<min_8_char_with_numeric_and_min_one_capital> rangerTagsync_password=<min_8_char_with_numeric_and_min_one_capital> rangerUsersync_password=<min_8_char_with_numeric_and_min_one_capital> keyadmin_password=<min_8_char_with_numeric_and_min_one_capital> 
keyadmin_passwordto log on to the Ranger web UI. - If you have skipped Step 1. and 2. in Installing Ranger procedure, modify the
                           following properties:
 - Run the setup
                     script:
Thesudo /opt/mapr/ranger/ranger-<version>/ranger-admin/setup.sh/ranger-admin/setup.shscript copies some basic ugsync-related properties to the ugsyncinstall.propertiesand then runs the ugsync script. However, to custom configure ugsync, you must edit/opt/mapr/ranger/ranger-2.3.0/ranger-usersync/install.propertiesand then runsudo /opt/mapr/ranger/ranger-2.3.0/ranger-usersync/setup.sh. 
 - In the 
 - Run the configuration script as 
root. Runningconfigure.shrestarts the Ranger Admin and Ranger UserSync services:/opt/mapr/server/configure.sh -R