اگر VPS ما CentOS 7 را اجرا میکند و ارائهدهنده VPS توزیع CentOS نه چندان خالصی ارائه میدهد، آپاچی (httpd در CentOS) به طور پیشفرض نصب شده است.
این منجر به پیام زیر در هنگام نصب VestaCP خواهد شد:
- "بسته های زیر قبلاً نصب شده اند: httpd centos 7"
- (قبلاً موارد زیر را نصب کرده استنرم افزاربسته: httpd centos 7)
!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! Following packages are already installed: httpd It is highly recommended to remove them before proceeding. If you want to force installation run this script with -f option: Example: bash vst-install-rhel.sh --force !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! Error: Control Panel should be installed on clean server.
راه حل
مرحله ۱: دستور زیر را اجرا کنید
yum remove httpd
مرحله ۲: ابزار حذف httpd را نصب کنید
پس از اجرای دستور زیر:
yum remove httpd-tools
آیا این مورد [y/N] اشکالی ندارد: (میپرسد که آیا نصب شود؟)
y را برای نصب وارد کنید، می توانید httpd را در CentOS ▼ حذف کنید
Installed size: 9.5 M Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : httpd-2.4.6-67.el7.centos.6.x86_64 1/2 warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave Erasing : httpd-tools-2.4.6-67.el7.centos.6.x86_64 2/2 Verifying : httpd-2.4.6-67.el7.centos.6.x86_64 1/2 Verifying : httpd-tools-2.4.6-67.el7.centos.6.x86_64 2/2 Removed: httpd-tools.x86_64 0:2.4.6-67.el7.centos.6 Dependency Removed: httpd.x86_64 0:2.4.6-67.el7.centos.6 Complete!
مطالعه طولانی:
امیدوارم مقاله "نصب VestaCP prompt: بستههای زیر از قبل نصب شدهاند: httpd centos 7" که در وبلاگ چن ویلیانگ ( https://www.chenweiliang.com/ ) به اشتراک گذاشته شده است، برای شما مفید باشد.
لینک این مقاله را به اشتراک بگذارید: https://www.chenweiliang.com/cwl-691.html



