Ranger-Usersync安裝,
配置資料源Unix,Usersync從Unix拉取Users/Groups的資料源,
對應的Ranger版本0.6.0。
IP/機器名
安裝軟體
運作程序
zdh-245
UserSync
UnixAuthenticationService
安裝使用者
usersync/zdh1234 hadoop
1.安裝Ranger Usersync,需要使用root使用者安裝
建立目錄/home/usersync
安裝Ranger Usersync到/home/usersync
tar –zxvf ranger-0.6.0-usersync.tar.gz
修改install.properties的參數如下:
使用root使用者執行如下腳本安裝Usersync:
./setup.sh
2.使用root使用者啟動Ranger Usersync
./ranger-usersync-services.sh start
或者ranger-usersync start
3.驗證是否安裝成功
同步Linux系統使用者到ranger資料庫,在RangerAdmin的web控制台可以看到users中同步的使用者資訊。