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

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

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

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

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

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

Archive for the ‘รวมคำสั่งจัดการ server ที่น่าสนใจ’ Category

ผู้ตั้งกระทู้: a
วันที่: 20/10/2010 เวลา: 16:49:03

Archive for the ‘รวมคำสั่งจัดการ server ที่น่าสนใจ’ Category

http://blog.siamdatahost.com/?cat=3

แก้ encoding ของ template เป็น utf-8 ครับ

วันอังคาร, มิถุนายน 15th, 2010

แก้ encoding ของ template เป็น utf-8 ครับ

nano -w /usr/local/directadmin/data/skins/enhanced/lang/en/lf_standard.html

แก้ ตรง

LANG_ENCODING

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

เปลี่ยน Hostname

วันอังคาร, พฤษภาคม 4th, 2010

แก้ /etc/hosts และ /etc/sysconfig/network

แล้ว reboot ซักรอบ

ตัวอย่าง

nano /etc/hosts 192.168.1.1 server.domain.com server

nano /etc/sysconfig/network HOSTNAME=server.domain.com

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

เปลี่ยน password root ใน linux

วันอังคาร, พฤษภาคม 4th, 2010

passwd root

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

copy file ข้าม Server ที่เป็น Linux ด้วยกันทั้งคู่ หรือไปยังที่อื่น

วันศุกร์, เมษายน 30th, 2010

copy file ข้าม Server ที่เป็น Linux ด้วยกันทั้งคู่ หรือไปยังที่อื่น

ลอง คำสั่ง rsync หรือ rpc ดูนะครับ

ถามจากคุณพี่ google

1. scp (secure copy)

รูปแบบที่แนะนำ

scp filename [email protected]:/path/

เช่น scp id_rsa.pub [email protected]:/home/dumper/ เป็นต้น

สำหรับ กรณีที่ต้องการ copy เป็น folder ให้ zip folder ก่อน โดยการใช้

2. คำสั่ง tar

เช่น tar -cvf bk20080823.tar 20080823

c คือ สร้างไฟล์ tar ขึ้นมา

v คือ ให้แสดงชื่อไฟล์ที่กำลัง zip

f คือ ตำแหน่งที่ต้องการสร้างไฟล์ tar

bk20080523.tar คือ ชื่อไฟล์ที่เกิดจากการ zip ด้วยคำสั่ง tar

แค่นีก็ได้ไฟล์ที่ zip แล้ว พร้อมจะส่งไปยังที่อื่นได้แล้วค่ะ และใครที่ต้องการ backup files ก็สามารถนำไปประยุกต์ใช้ได้ด้วย

เพิ่มเติมการใช้งาน scp อย่างง่ายอีกหน่อย

ถ้าคุณใช้ linux ก็ดู manual แบบเต็มๆ เลยด้วยคำสั่ง man scp หรือถ้าขี้เกียจดู ก็เดี๋ยวจะยกตัวอย่างไว้สัก 3 อัน ง่ายๆ ไม่ซับซ้อน ที่ผมใช้บ่อย

[1] scp /path/to/file/myLocalFile.tgz [email protected]:/home/dumper/myBackUpDir/
จะเป็นการ upload ไฟล์จาก local ขึ้นไปเก็บไว้ที่ server ด้วยชื่อเดียวกัน

[2] scp [email protected]:/home/dumper/myTmpBackUpDir/myServerFile.tgz /path/to/file/myServerFile.tgz
จะเป็นการดาวน์โหลดไฟล์จาก server ลงมาไว้ที่ local ด้วยชื่อเดียวกัน

[3] scp [email protected]:/home/dumper/myTmpBackUpDir/file1.tgz /path/to/file/file2.tgz
จะเป็นการดาวน์โหลดไฟล์จาก server ลงมาไว้ที่ local โดยเปลี่ยนชื่อไฟล์ด้วย สามารถใช้ได้กับทั้งข้อ [1] และ [2]

copyy ทั้งโฟลเดอร์

scp -r [email protected]:/home/miguel/ [email protected]:/home/miguel/

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

เปิดใช้งาน http://xxx.xxx.xxx.xxx/server-status

วันศุกร์, เมษายน 30th, 2010

แก้ไข /ect/httpd/conf/httpd.conf
เพิ่ม Mod status ลงไป ล่างสุดเลย

<Location /server-status>
SetHandler server-status
Order Deny,Allow
#Deny from all
Allow from all
</Location>
ExtendedStatus On

เซฟไฟล์ แล้ว รีสตาร์ท httpd  จากนั้นเข้าดูผลที่ http://xxx.xxx.xxx.xxx/server-status

ใน da จะมี conf ไฟล์ให้แล้วที่ /etc/httpd/conf/extra/httpd-info.conf

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

change user (directadmin)

วันเสาร์, เมษายน 3rd, 2010

change user (directadmin)

cd /usr/local/directadmin/scripts
./change_username.sh olduser newuser

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

change localtime centos, Change Localtime and Update Linux

วันเสาร์, เมษายน 3rd, 2010

Solutions: Change and Update Time Zone (Bangkok ICT) on CentOS/Debian or other Linux

rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/localtime

 
Update Timezone (CentOS)

aptitude -y install ntpdate
ntpdate pool.ntp.org

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

ลบ Mail Queue Administration (กรณีลบผ่าน DA ไม่ได้)

วันศุกร์, เมษายน 2nd, 2010

ลบ Mail Queue Administration (กรณีลบผ่าน DA ไม่ได้)

cd /var/spool/exim/input && ls | xargs rm -rf

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

ปรับแต่ง Apache

วันศุกร์, เมษายน 2nd, 2010

ปรับแต่ง Apache

/etc/httpd/conf/extra/httpd-default.conf
/etc/httpd/conf/extra/httpd-mpm.conf

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

start/stop/restart Apache

วันศุกร์, เมษายน 2nd, 2010

start/stop/restart Apache

/etc/init.d/httpd start
/etc/init.d/httpd stop
/etc/init.d/httpd restart

Posted in รวมคำสั่งจัดการ server ที่น่าสนใจ | No Comments »

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

Copyright © 2026 vouchercar.com

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