我要评分
获取效率
正确性
完整性
易理解

Creating a Data Directory and Assigning Permissions

If no performance test is required, you can create a data directory to store NebulaGraph data files.

  1. 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
    
  2. Change the user group and user permission on the data directory to nebula:nebula.
    1
    chown -R nebula:nebula /data/nebula/