8.3 Install the web pages into your web server

  1. If you have moved out of the en directory, change back to it.

    # cd /usr/build/www/en
    
  2. Run the make(1) install target, setting the DESTDIR variable to the name of the directory you want to install the files to.

    # env DESTDIR=/usr/local/www make install
    
  3. If you have previously installed the web pages into the same directory the install process will not have deleted any old or outdated pages. For example, if you build and install a new copy of the site every day, this command will find and delete all files that have not been updated in three days.

    # find /usr/local/www -ctime 3 -print0 | xargs -0 rm
    

本文档和其它文档可从这里下载:ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.

如果对于FreeBSD有问题,请先阅读文档,如不能解决再联系<questions@FreeBSD.org>.
关于本文档的问题请发信联系 <doc@FreeBSD.org>.