Change hostdata to another directory
#1
Change hostdata to another directory
pretty much what the title says
i would like to change the hostdata to another directory. preferably a networked location so if i need to add more storage, i can do so. any help?
Reply
#2
RE: Change hostdata to another directory
You can do a symbolic link to the network storage you target? But notice you need to have a fast san otherwise it will blow out in performance.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Change hostdata to another directory
this can also be changed much easier in Module Admin>Apache Config>Vhosts Directory:
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#4
RE: Change hostdata to another directory
(10-14-2014, 02:14 PM)TGates Wrote: this can also be changed much easier in Module Admin>Apache Config>Vhosts Directory:

perfect. and yes. we have a gb switch as our backbone as well as our SAN. we have 8tb (16tb) running in raid 5 for redundancy. we should be ok with that speed. plus the server has 2 nic's. 1 www facing and the other internal so it wont get clogged up with traffic.
Reply
#5
RE: Change hostdata to another directory
but changing the hostdata, will that affect the FTP locations at all? or will that be corrected on the next cron job?
Reply
#6
RE: Change hostdata to another directory
both solutions should affect FTP/Cron/http.

But notice emails are in: /var/zpanel/vmail.

So it might be better if you want to host all email + web on SAN to use symbolic link for /var/zpanel/

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#7
RE: Change hostdata to another directory
I think, You will need to manually change homedir in ftpuser.zpanel_proftpd (table ftpuser in zpanel_proftpd database) for existing users and change location in script for creating new users.
Reply
#8
RE: Change hostdata to another directory
thanks castey. that is exactly what i needed to know.
Reply
#9
RE: Change hostdata to another directory
@[Nextus], please mark as 'best answer' if solved. Thanks!
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 2 ,311 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
How to give the cliens file manager access to their respective domain directory vsvinit0 4 12 ,788 10-09-2019, 10:05 PM
Last Post: vsvinit0
Database - Change localhost to %localhost% JSmith 1 6 ,195 09-11-2019, 09:19 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)