Skip to main content
Version: 1.0.16

Create User & Directory

Create User and Group

To prevent conflicts between the halo user ID / group ID and existing user IDs, the default is set to 3000. You can modify this as needed. It is recommended to use the format X000 (where X is a digit).

groupadd -g 3000 halo
useradd -u 3000 -g halo halo

Create Installation Directory

The recommended installation directory for the Halo database is /u01/app/halo. You can customize it as needed. Create the directory as the root user and set ownership:

mkdir -p /u01/app/halo
chown -R halo:halo /u01/app/halo

Create Process Directory

The default process directory path is /var/run/halo. If it does not exist, create it manually:

mkdir /var/run/halo
chown halo:halo /var/run/halo

The contents of the /var/run directory are automatically cleaned up after an operating system reboot. To prevent the path from being lost, you can configure automatic recreation in /etc/rc.d/rc.local:

vi /etc/rc.d/rc.local

Add the following:

/usr/bin/mkdir /var/run/halo
/usr/bin/chown halo:halo /var/run/halo

Grant execution permission:

chmod +x /etc/rc.d/rc.local

Create Data Directory

The data directory is where the Halo database stores its data files. The recommended path is /data/halo/. You can customize it based on your business requirements. The data directory must be owned by the halo user, and the directory permissions should be 0700 or 0750.

mkdir -p /data/halo
chown -R halo:halo /data/halo
chmod -R 0700 /data/halo