mount a dataset

by 강찬희   Last Updated November 09, 2018 01:02 AM

The web server will host an Apache2 web service. The document root is /www that is mounted to a dataset called /webpool/doc from the ZFS pool webpool made from a VDEV of 2 disks in a mirror. Create a simple home page for the assignment on the web server to show information on my name and email.

I created dataset called "webpool/doc"

zfs create webpool/doc

I created ZFS pool webpool made from a VDEV of 2 disks in a mirror

zpool create webpool mirror /dev/sdb /dev/sdc

What should I do with /www that is mounted to a dataset called /webpool/doc?

I tried as following:

mount /www /webpool/doc

Is it ok?

Also for the creating simple home page, should I moved to /var/www and write some text file as following?

pico /var/www/html/myinfo.php
<? php
print {My name and My email};
?>
Tags : mount php zfs


Related Questions


Updated April 04, 2018 14:02 PM

Updated April 21, 2015 21:00 PM

Updated May 20, 2015 21:01 PM

Updated May 30, 2015 22:00 PM

Updated June 03, 2015 23:00 PM