Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change home and MySQL paths

Discussion in 'General Discussion' started by tm3ist3r, Mar 18, 2010.

  1. tm3ist3r

    tm3ist3r Registered

    Mar 18, 2010
    Likes Received:
    Trophy Points:

    I want to install a cPanel over Amazon ec2, i read this is posible.

    My setup will be something like this:

    • 1 Instance - 1.7 GB of memory, 160 GB of local instance storage, 32-bit platform (CentOS)
    • 1 EBS ( External storage 20G to start)

    On this EBS "/mnt/persistent" i want to store the account home and the MySQL databases and logs.

    • /mnt/persistent/mysql
    • /mnt/persistent/acounts
    • /mnt/persisten/logs

    so if i want to change the instance, the info will be safe and then, i will just mount a new instance with the cPanel stuff and mount all the info.

    My questions are:

    Can i change the path from the home, mysql, logs in WHM/cPanel?
    Does this setup will work with cPanel?

    Thanks in advance
  2. Spiral

    Spiral BANNED

    Jun 24, 2005
    Likes Received:
    Trophy Points:
    MySQL, you could set your database storage anywhere you wish in /etc/my.cnf

    Regarding your /home question ....

    Is there some reason you could not mount or alias that location as /home, /home2, or something along those lines?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice