开发者

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

开发者 https://www.devze.com 2023-01-08 16:21 出处:网络
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. 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

精彩评论

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