怎樣才能把網(wǎng)站數(shù)據(jù)都轉(zhuǎn)到這個(gè)100G的硬盤(pán)上去?
這樣的命令可以嗎
mkdir /mnt/sdb
mount /dev/sdb /mnt/sdb
service mysqld stop
service pureftpd stop
service httpd stop
service nginxd stop
mv /www/* /mnt/sdb
umount /dev/sdb
mount /dev/sdb /www
service mysqld start
service pureftpd start
service httpd start
service nginxd start