Installing DataPlane Platform as non-root user
Perform these actions as part of the installation tasks.
-
Install Docker using the
access
privileged(root/sudo)
user. -
Install the DataPlane Platform using
access
privileged(root/sudo)
user.yum install dp-core
-
Change
dp
directory permissions to 757 (Others permission should be 7).chmod -R 757 /usr/dp
-
Switch the user to the
username
root@username-docker usr]# su username
-
Initialize DP using a username, which is part of the Docker group.
./dpdeploy.sh init --all
-
Run
docker ps --format "table {{.ID}}\t{{.Names}}
CONTAINER ID NAMES 2e6342cb5172 dp-app f6c1d76b9c0c dp-cluster-service 88a321f0e44e dp-db-service 05de38bb55ff dp-gateway a1e589b9d35b knox 713f88aa2b3a dp-consul-server c728c2249472 dp-database
Other DataPlane Platform administrative tasks can be performed using user (from the Docker group).