Installing a web server. We will the documentation, Module mpm and ssl cert with to go. mpm(multi-processing module) use Determines the selection Module functionality apache ไhich together with the four. prefork, worker, perchild and winnt. In this selection prefork. It's easy Ideal for small server. Installation package. By typing the command.
sudo apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert
If you have questions to answer Y to begin the installation. Comes to the final page of configuring ssl-cert, press the button OK to finish.
EX...........
http://192.168.1.1
press key Enter. Show message "It Work!" This means that the apache running.
sudo nano /etc/apache2/mods-available/dir.conf
And Edit-Add Follow.
<IfModule mod_dir.c>
Directory index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
</IfModule>
Done to save the file. By typing the command Ctrl+x and press key Y to save.
Open module of apache by typing the commnad.
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
Next page on click : Configure apache to support php
Reverse page on click : file sharing on ubuntu
sudo apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert
If you have questions to answer Y to begin the installation. Comes to the final page of configuring ssl-cert, press the button OK to finish.
Testing of apache
Test run from the client open browser(IE,Mozilla) and type number IP Address of Server.EX...........
http://192.168.1.1
press key Enter. Show message "It Work!" This means that the apache running.
Add file for apache to know
To the support for apache php. We have configuration files dir.conf By typing the command.sudo nano /etc/apache2/mods-available/dir.conf
And Edit-Add Follow.
<IfModule mod_dir.c>
Directory index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
</IfModule>
Done to save the file. By typing the command Ctrl+x and press key Y to save.
Open module of apache by typing the commnad.
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
Next page on click : Configure apache to support php
Reverse page on click : file sharing on ubuntu
ความคิดเห็น