Tuesday, 16 April 2013

webserver in your bag mandriva

Setting webserver linux mandriva

1. First of all make sure that the sign on the fence include conf / vhosts / vhosts.conf by typing the command vi / etc/httpd/conf/httpd2.conf.
2. Then open the vhosts.conf file by typing the command vi / etc / httpd / conf / vhosts / vhosts.conf.
3. Then, make the codes like NameVirtualHost, server name, document root, which will be used to indicate the location of the directory that contains the files that the web interface.
4. Then save and restart httpdnya with the command service httpd restart.
5. Next go to the appropriate directory in the DocumentRoot directory vhosts.conf. then open the file with vi how to format php index.php.
6. Lalukan then restart httpd and lakukkan trials via web browser by calling the domain that you created earlier. If successful it will look like the following.
7. We can also make it with html format for its display, how vi index.html and there make html codes, see the following image as a simple example.
8. And do the test as above, so it would appear.
9. We can also display its Jomla or using wordpress, with live navigate to the document root or folder extracted from each.

No comments:

Post a Comment