开发者

Don't have a2ensite on my ubuntu server [closed]

Closed. This question is off-topic. It i开发者_Go百科s not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 12 years ago.

Improve this question

I have an ubuntu server running nginx. I just tried to enable a vhost config and discovered that i don't have the a2ensite command. I searched with find and whereis and it looks like i just don't have it. I realise i could hand-roll my own symbolic link from sites-enabled to sites-available but i'd rather use a2ensite/a2dissite to manage this. How can i install it?

thanks -max


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜