We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Проблемы с удалением Nginx
Проблемы с удалением Nginx
Здравствуйте.
У мануале, в процедуре удаления Nginx непонятно описан пункт 5.
5. Rebuild vhost configs
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done
вот результат
root@ubuntu:/etc/apache2/conf.d# for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done
v-list-sys-users: команда не найдена
что я делаю неправильно?
p/s. панель свежеустановленая на голую UBUNTU.
У мануале, в процедуре удаления Nginx непонятно описан пункт 5.
5. Rebuild vhost configs
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done
вот результат
root@ubuntu:/etc/apache2/conf.d# for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user; done
v-list-sys-users: команда не найдена
что я делаю неправильно?
p/s. панель свежеустановленая на голую UBUNTU.
Re: Проблемы с удалением Nginx
А зачем вы его удаляете?
Если просто не использовать?
Если просто не использовать?
Re: Проблемы с удалением Nginx
Чтобы не путался под ногами ))
можно было бы просто отключить.
но в мануале процедура описана, вот и решил действовать по процедуре ))
можно было бы просто отключить.
но в мануале процедура описана, вот и решил действовать по процедуре ))
Re: Проблемы с удалением Nginx
Там же написано понятный английским языком:
Для пользователей из результата вывода команды v-list-sys-users plain сделайте v-rebuild-web-domains $user; готово.
вместо $user поочерёдно подставляйте всех пользователей которых вам вывела команда v-list-sys-users plain
Для пользователей из результата вывода команды v-list-sys-users plain сделайте v-rebuild-web-domains $user; готово.
вместо $user поочерёдно подставляйте всех пользователей которых вам вывела команда v-list-sys-users plain
Re: Проблемы с удалением Nginx
root@ubuntu:/etc/apache2/conf.d# v-list-sys-users plain
v-list-sys-users: команда не найдена
v-list-sys-users: команда не найдена
Re: Проблемы с удалением Nginx
Команда v-list-sys-users находится в папке /usr/local/vesta/bin/.
В файле .bash_profile эта папка добавляется к путям
PATH=$PATH:/usr/local/vesta/bin
export PATH
Если echo $PATH не показывает в списке эту папку, то что-то с настройками баша
В файле .bash_profile эта папка добавляется к путям
PATH=$PATH:/usr/local/vesta/bin
export PATH
Если echo $PATH не показывает в списке эту папку, то что-то с настройками баша
Re: Проблемы с удалением Nginx
Необязательно его удалять. Можно просто отключить в настройках веб-домена. К тому же это не целесообразно, nginx существенно облегчает нагрузку на сервер.
Можно сделать ребилд веб через интерфейс панели. От админа выделите чекбоксом нужного юзера и выберите из выпадающего списка rebuild web
Через консоль это выглядит так:
Далее рестарт апача
Можно сделать ребилд веб через интерфейс панели. От админа выделите чекбоксом нужного юзера и выберите из выпадающего списка rebuild web
Через консоль это выглядит так:
Code: Select all
v-rebuild-web-domains USER
Code: Select all
service httpd restart
Re: Проблемы с удалением Nginx
Дело в том, что я уже практически удалил Nqinx. сдела 4 пункта и заткнулся на п. 5.
Суть проблемы сейчас выясняю
Суть проблемы сейчас выясняю
Re: Проблемы с удалением Nginx
Какая у вас проблема с 5 пунктом?
Re: Проблемы с удалением Nginx
не видит путь по умолчанию.
нашел в чем дело.
вставил
PATH=$PATH:/usr/local/vesta/bin
export PATH
в конец /root/.bashrc
и заработало
нашел в чем дело.
вставил
PATH=$PATH:/usr/local/vesta/bin
export PATH
в конец /root/.bashrc
и заработало