搭建web服务器虚拟主机网站搭建源码


搭建web服务器虚拟主机网站搭建源码

使用ctos1虚拟机,打开之后确认ip地址为192.168.100.150,网关为192.168.100.100,dns为192.168.100.100.

[root@ns~]#vim/var/named/chroot/var/named/.zone

[root@ns~]#vim/var/named/chroot/var/named/192.168.100.arpa

[root@www~]#tarzxvfhttpd-2.2.17.tar.gz-C/usr/src/

[root@wwwhttpd-2.2.17]#./configure--prefix=/usr/local/httpd--enable-so--enable-rewrite--enable-cgi--enable-ssl