• LINE ID: @CARRENT
  • [email protected]
VoucherCar
  • หน้าแรก
  • สินค้า
    • แยกจังหวัดรถเช่า
    • แยกตามระดับเครื่องยนต์
    • แยกตามราคารถเช่า
    • แยกตามยี่ห้อรถเช่า

    • ตะกร้าสินค้า
    • จองด่วนน้อยกว่า 7 วัน
    • รถเช่า รายสัปดาห์
  • บทความเนื้อหา
    • คำถามพบบ่อย
    • บทความรถเช่า
    • สาขารถเช่า
    • WEBBOARD
  • วิธีการสั่งซื้อ
    • วิธีการสั่งซื้อ
    • รายละเอียดการชำระเงิน
  • จองด่วน
  • ติดต่อเรา
เข้าสู่ระบบ
รถเช่าราคาประหยัดadver
รถเช่า ประเภทต่างๆ

แยกตามจังหวัด แยกตามเครื่องยนต์ แยกตามราคา แยกตามยี่ห้อ รถเช่า รายสัปดาห์

คำถามพบบ่อยเกียวกับรถเช่า ข่าวสารบทความรถเช่า สาขาบริษัทรถเช่า เว็บบอร์ด (Webboard)

วิธีสั่งซื้อ รายละเอียดการชำระเงิน
ติดต่อเรา
รถเช่า จังหวัด

---
กลับไปหน้าเว็บบอร์ด

วิธีเปลี่ยน ip เครือ่ง direct admin

ผู้ตั้งกระทู้: a
วันที่: 29/05/2009 เวลา: 09:45:40
สรุปรวมๆละกันนะครับ
1.ติดต่อ DirectAdmin ว่าจะเปลี่ยนเป็นอีก IP
2.เมื่อทาง DirectAdmin เปลี่ยนให้แล้วให้Runคำสั่ง
Code: [Select]
cd /usr/local/directadmin/scripts
./getLicense.sh UID LID
3.ถ้าไม่มี Error ให้ Restart DirectAdmin ด้วยคำสั่ง
Code: [Select]
service directadmin restart4.Download Script สลับ IP จากเว็บ DirectAdminแล้ว Run
Quote
wget http://www.directadmin.com/ipswap.sh
chmod 755 ipswap.sh
5.Restart ทุกอย่าง (IMMO: Restart เครื่องง่ายกว่ามั้ย)
6.Update User list
Code: [Select]
echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue
 
 
 
 
**** Change server ip ****
Boot the server with the new server ip. (the new one you want to use)
DirectAdmin will not be running, as the license file will be invalid.
Contact DirectAdmin to obtain a new license file. They will change the ip in the license.
Get the new license file:
   
   cd /usr/local/directadmin/scripts
   ./getLicense.sh UID LID

Where UID and LID are your client ID and your license id.
Ensure the license downloaded properly by making sure the file contains no error messages.
Start DirectAdmin with the new license:

   service directadmin restart

(The taskq may have already started it, thus the restart instead of just "start")

Download the ipswap.sh script from directadmin:

   wget http://www.directadmin.com/ipswap.sh
   chmod 755 ipswap.sh
   
Execute that script with the old and and the new ip.  Example:

   ./ipswap.sh 1.2.3.4 4.3.2.1

where 1.2.3.4 is your old ip and 4.3.2.1 is the new ip.
This script can be run on any ip, so if you want to change all ips with new ones, just run this script for each old ip with the new ip.  Just ensure that you match the new server ip with the old one.

Restart everything:

   service httpd restart
   service proftpd restart
   service exim restart
   service vm-pop3d restart
   ...

Make sure they are correctly binding to the new ports by testing them.

You'll need to update the users list cache so that you see the new results in the show users lists:

echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue

ความคิดเห็นทั้งหมด
ยังไม่มีความคิดเห็น มาร่วมแสดงความคิดเห็นเป็นคนแรกสิ!
ร่วมแสดงความคิดเห็น

Copyright © 2026 vouchercar.com

*** ไม่อนุญาตให้ลงโฆษณาขายสินค้าใดๆ ก่อนได้รับอนุญาตจากทางเว็บนะคะ ***