Archive for October 7th, 2008

7th October
2008
written by admin

อันนี้เขียนเอาไว้ช่วยให้ตัวเองจำ ฮ่าๆ
พอดีวันก่อนลง scpanel ไว้ที่เว็ย imzol.com ตอนนี้ อยากเปลี่ยนใจใช้ เป็น snbroadcast.com ไปเลยเนื่องจากได้ตรงกับงานที่ใช้ ก็เล่นนั่งแก้ config เวลา add เว็บ มึนนิดๆ

เข้า ssh แล้วแก้ที่ไฟล์ config ใช้คำสั่งนี้เลย

nano /usr/local/cpanel/whostmgr/docroot/SCPanel/config.php

ถ้าหาก add ลูกค้าไปแล้วให้ลบทั้งหมดออกก่อนแล้วแก้ config แล้วค่อย setup ให้ลูกค้าใหม่

$domain = ’snbroadcast.com’; //The domain under which ALL SCPanel accounts will be created
$SUPERUSER = ‘USER’; //The SUPERUSER associated with your license for this box
$SUPERPASS = ‘PASSWORD’; //The SUPERPASS associated with your license for this box

scpanel มันจะโหลดไฟล์สดในการ ติดตั้ง port แต่ล่ะอัน
ดังนั้น ถ้าแก้ server ต้องแก้ทุกไฟล์ครับ หรือแก้ทีเดียวแล้วค่อยอัพไปทับตอนแทรกให้ลูกค้า

ตำแหน่งไฟล์

/username/public_html/scp/sc_serv

Next