หากมีการติดตั้ง VPS ของเราลินุกซ์ระบบนี้เป็น CentOS 7. ในเวลาเดียวกัน ผู้ให้บริการ VPS ยังนำเสนอการแจกจ่าย CentOS ที่ไม่บริสุทธิ์มากนัก และ Apache (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.
วิธีการแก้
ขั้นตอนที่ 1:เรียกใช้คำสั่งต่อไปนี้
yum remove httpd
ขั้นตอนที่ 2:ติดตั้งเครื่องมือลบ 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!
การอ่านเพิ่มเติม:
หวัง Chen Weiliang บล็อก ( https://www.chenweiliang.com/ ) แชร์ "คำแนะนำในการติดตั้ง VestaCP: ติดตั้งแพ็คเกจต่อไปนี้แล้ว: httpd centos 7" ซึ่งมีประโยชน์สำหรับคุณ
ยินดีต้อนรับสู่การแบ่งปันลิงค์ของบทความนี้:https://www.chenweiliang.com/cwl-691.html
หากต้องการปลดล็อคเคล็ดลับที่ซ่อนอยู่เพิ่มเติม ยินดีต้อนรับเข้าร่วมช่อง Telegram ของเรา!
แชร์และกดไลค์ถ้าคุณชอบ! การแชร์และการถูกใจของคุณคือแรงบันดาลใจอย่างต่อเนื่องของเรา!


