Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 14 years ago.
a2ensite 适用于 Apache2,因此称为 a2。我确信您可以根据您提供的参数制作一个 ln -s 来模仿其功能的脚本,它将在 sites-available 目录中查找,并且然后调用 ln 。
a2ensite
a2
sites-available
a2ensite is for Apache2 hence the a2. I'm sure you can make a script mimicing its functionality by making it ln -s based on the parameter you feed, which it will look in the sites-available directory and then invoke ln on.
ln -s
ln
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
a2ensite
适用于 Apache2,因此称为a2
。我确信您可以根据您提供的参数制作一个 ln -s 来模仿其功能的脚本,它将在sites-available
目录中查找,并且然后调用 ln 。a2ensite
is for Apache2 hence thea2
. I'm sure you can make a script mimicing its functionality by making itln -s
based on the parameter you feed, which it will look in thesites-available
directory and then invokeln
on.