jabr
aaPanel will store the data in the /www directory
Stop all your services including panel services,
Rename the /www directory to /www_bak, and then make a soft link, ln -s /data /www
Finally, copy the /www_bak file into /www to start the service
Specific steps:
- Stop service
/etc/init.d/nginx stop
/etc/init.d/mysqld stop
/etc/init.d/php-fpm-73 stop
/etc/init.d/php-fpm-72 stop
If you have other services enabled in the panel also turn it off
Rename / www
mv /www /www_bak
Generate soft links
ln -s /data /www
Copy data
copy -rp /www_bak/* /www/
Wait for the copy command to complete, start the panel service, and then start other services on the panel