Portal Home > Knowledgebase > Articles Database > Create a partition in a vps


Create a partition in a vps




Posted by ASTRAPI, 05-15-2009, 05:06 PM
Hello How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel? Thanks

Posted by Deem3n®, 05-16-2009, 12:23 AM
dd if=/dev/zero of=/home/tmpmnt bs=1024 count=1024000 mke2fs /home/tmpmnt cp -R /tmp/ /tmp_backup mount -o loop,rw,nosuid,noexec /home/tmpmnt /tmp chmod 1777 /tmp cp -R /tmp_backup/* /tmp/ Modify /etc/fstab and add the line:



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read