Comments

04 Mei 2016

Attach ScaleWay Volume for PLESK MYSQL 5.6

Posted by at 06.59 Read our previous post
NOTE: We must do this before  install PLESK!!!

IN this CASE ... I use Two Additional Volume to my BareMetal 32GB Server, both Size:50GB.


apt-get update

VPS:
mkfs -t ext4 /dev/vdb && mkfs -t ext4 /dev/vdc

BareMetal:
mkfs -t ext4 /dev/nbd1 && mkfs -t ext4 /dev/nbd2




backup folder PLESK is located at: /var/lib/psa/dumps



mkdir -p /var/lib/mysql && mkdir -p /var/lib/psa/dumps

VPS:

nano /etc/fstab

/dev/vdb /var/lib/mysql auto defaults,nobootwait,errors=remount-ro 0 2
/dev/vdc /var/lib/psa/dumps auto defaults,nobootwait,errors=remount-ro 0 2

BAREMETAL:

nano /etc/fstab

/dev/nbd1 /var/lib/mysql auto defaults,nobootwait,errors=remount-ro 0 2
/dev/nbd2 /var/lib/psa/dumps auto defaults,nobootwait,errors=remount-ro 0 2


Test and apply /etc/fstab:

mount -a
df -h

chmod 777 /var/lib/mysql && chmod 777 /var/lib/psa/dumps




Supported by Android App Download! ©2012 Ramnul All Content Copyrighted and may not reproduced on other website