更新时间:2022-06-30 22:28:52
工作中需要用到文件服务器,用于简单的开发\测试。
sudo apt-get install apache2
apache2的配置文件是/etc/apache2/apache2.conf
httpd的配置文件是/etc/httpd/conf/httpd.conf
既然是快速,全部忽略。
在浏览器中打开127.0.0.1,提示文件保存在
/var/www/html。咱想上传到自己的目录:
cd /var/www/html sudo ln -s /home/quantum6/httpfs wuxi