创建克隆机,
挂载界面 下一行,//192.168.0.124/dzxx /abc cifs defaults,uesrname=root,password=123 0 0
mkdir /abc
mount -a
df - hT
yum -y install httpd
cd /etc/httpd/
ls
vim httpd.conf
cd …
ls
cd conf.d/
ls
vim web.conf
<virtualhost 192.168.0.01>
documentroot /var/www/dada
servername www.tb.com
新建主页,
mkdir /var/www/dada/
vim /var/www/dada/index.heml
返回刚开始的主页,
vim /etc/hosts
systemctl start httpd 关闭的话中间改为stop
systemctl status httpd(运行)
【无标题】
最新推荐文章于 2024-01-18 23:25:36 发布