Open Source Web Development with LAMP Using Linux, Apache, MySQL, Perl, and PHP [Electronic resources]

James Lee, Brent Ware

نسخه متنی -صفحه : 136/ 60
نمايش فراداده

6.2 Installation

To install WML, get the latest version from www.thewml.org/sw/wml/distrib. As of this writing, the latest version was wml-2.0.8.tar.gz. Save the tarball in /tmp.

To build the software, unzip and untar the tarball in /tmp. Then, cd into the wml directory, run the provided configure program, and then make, test, and install in the usual manner. Only the last step need be done as root:

$ cd /tmp 
$ tar xzvf wml-2.0.8.tar.gz 
$ cd wml-2.0.8 
$ ./configure 
$ make 
$ make test 
$ su 
# make install 

Create a directory to work with WML:

$ mkdir /var/wwwl/wml 
$ chmod a+rx /var/wwwl/wml 
$ cd /var/wwwl/wml