How to Install BT Panel in a Custom Directory

      Baota (BT Panel) locks the installation directory to /www by default, but many servers have limited space on the root partition. Today, we will move the Baota data to another directory.

Check the current server disk usage:

df -h

Here we place the data under /data:

ln -sf /data /www

This will create a virtual www folder under /data, serving as a symbolic link to the /www directory. Meanwhile, content saved to /www will actually be stored under the /data/www directory.

 

Leave a Comment

Your email address will not be published.