Creating a Data Directory and Assigning Permissions
If no performance test is required, you can create a data directory to store NebulaGraph data files.
- Create the data directory /data and related directories for processes.
1 2 3 4
mkdir /data mkdir -p /data/nebula/data/storage mkdir -p /data/nebula/data/meta mkdir -p /data/nebula/logs
- Change the user group and user permission on the data directory to nebula:nebula.
1chown -R nebula:nebula /data/nebula/
Parent topic: Deployment Environment Configuration