linux http file server 搭建

谷梁晟
2023-12-01

ubuntu 

apt-get install apache2 

/etc/init.d/apache2 restart

centos

yum install httpd 

service httpd start

  服务器默认的访问路径在/var/www/html目录,新建test文件

客户端测试 wget http://xx.xx.xx.xx/test

 类似资料: