CentOS

บทความและคู่มือเกี่ยวกับ CentOS

auto run script at boot time in centos7

ตั้งค่า ในไฟล์ /etc/rc.d/rc.local กำหนดสิทธิ์ chmod +x /etc/rc.d/rc.local

Speedtest-cli บน CentOS / RHEL

Install python sudo yum install python Download speedtest_cli.py wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py chmod +x sp

ติดตั้ง Sentora บน CentOS

Sentora - (Current Version) MySql -5.5.29 Apache - 2.4.3 PHP -5.3.20 Bind - 9.9.2-P1 phpMyAdmin - 3.5.8.1 RoundCube - 0.9.2 Dovecot - 2.0.9 Postfix - 2.6.6 proFTPd - 1.3.3g การติดตั้ง yum -y u

DirectAdmin Apache 2.2 to Apache 2.4

DirectAdmin Apache 2.2 to Apache 2.4 cd /usr/local/directadmin/custombuild ./build set apache_ver 2.4 ./build update ./build clean ./build apache n ./build

Upgrade Python from 2.6 to 2.7 on Centos 6.5

How can I upgrade it in Centos 6.5? I try below Download Python and extract it wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz xz -d Python-2.7.8.tar.xz tar -xvf Python-2.7.8.tar

[Plugin Directadmin] Site Scanner (ClamAV run)

Site Scanner is free open-source plugin for daily ClamAV run. https://bitbucket.org/ruweb/site_scan WARNING: Plugin is in BETA state! Plugin still lacks english localization (only text placeholders wi

ตั้งค่า exim ส่งอีเมล์ จาก IP อื่น

/etc/exim.conf. เปลี่ยน : remote_smtp: driver = smtp เป็น remote_smtp: driver = smtp interface = 1.2.3.4

Installation CSF Firewall on CentOS 5 and 6

Installation ============ Installation is quite straightforward: cd /usr/src rm -fv csf.tgz wget https://download.configserver.com/csf.tgz หรือ wget https://github.com/wayt

ติดตั้ง Clamav (AntiVirus on linux server) for Directadmin

การติดตั้ง Clamav สำหรับ Directadmin Clamav โปรแกรมป้องกันและค้นหาไวรัส ที่สามารถใช้งานฟรี สามารถติดตั้งได้ง่าย ผ่าน Custombuild ของ Directadmin cd /usr/local/directadmin/custombuild ./build clean ./b

วิธีเปลี่ยน IP Server Directadmin

ติดตั้ง license Directadmin ใหม่ cd /usr/local/directadmin/scripts ./getLicense.sh ClientID LicenseID /etc/init.d/directadmin restart เปลี่ยน IP สำหรับ Directadmin cd /usr/local/directadmin/scripts ./

directadmin NGINX + Apache (Custombuild 2.x)

Run this code to build nginx + apache with custombuild: cd /usr/local/directadmin/custombuild ./build update ./build update_da ./build set webserver nginx_apache ./

แก้ปัญหา ERROR: Connection dropped by IMAP server.

แก้ปัญหา ERROR: Connection dropped by IMAP server. หรือ ไม่สามารถติดต่อ IMAP Server ได้ Fix here /cd /usr/local/directadmin/custombuild ./build todovecot /usr/local/directadmin/dir

เปลี่ยน ธีม DA-Enhanced-Pro

![](https://github.com/dugalex/DA-Enhanced-Pro/raw/master/inc/images/skin-admin.jpg) ![](https://github.com/dugalex/DA-Enhanced-Pro/raw/master/inc/images/skin-reseller.jpg) ![](https://github.com/duga

Let's Encrypt automated free SSL certificate installs

Let's Encrypt automated free SSL certificate installs (SKINS)(LANG) ติดตั้งแบบ ย่อ echo letsencrypt=1 >> /usr/local/directadmin/conf/directadmin.conf cd /usr/local/directadmin/custombuild

วิธีเพิ่ม Swap โดยไม่ต้องสร้าง Partition ใหม่

ขั้นตอนง่ายๆ ครับ ไม่มีอะไร ไม่ต้องแบ่ง partition ใหม่ให้ยุ่งยาก แค่สร้าง dump file ขึ้นมาให้เท่ากับขนาดของ swap ที่ต้องการได้เลยโดยใช้คำสั่ง 1. สร้างพื้นที่สำหรับใช้เป็น swap dd if=/dev/zero of=/

การติดตั้ง ZPanel บน CentOS 6.7 NEW

How to install ZPanel on CentOS 6.7 You need clean installation of CentOS 6 on VPS or Dedicated server. LOG INTO YOUR SERVER AS THE ROOT USER. Download the correct installer for your system: 64 Bit In

ติดตั้ง NginX and Varnish with Apache in Zpanel

By default, Zpanel, as well as Sentora, comes with Apache 2.2 and I feel that it’s a bad solution when there are many good solutions already for using as web server e.g. Litespeed, NginX, Lighttpd etc

DirectAdmin: วิธีการปิดไม่ให้โดเมนส่ง spam ออก

เครดิตเทคนิคของ ICEZ จากกระทู้ http://www.thaihosttalk.com/showthread.php/78988 ก่อนอื่นต้องทำการแก้ไข template apache2 ของ DA เล็กน้อยโดยการ ย้ายตัวแปร |CUSTOM4| เข้าไปอยู่ในส่วนของ Directory cp

เปิด EPEL Repo ของ CentOS 5, CentOS 6 and CentOS 7

What is the EPEL repo? The EPEL (Extra Packages for Enterprise Linux) yum repository is an excellent source for additional packages for CentOS. Instead of having to compile applications that aren’t in

DirectAdmin เปิด ssl ให้ทุก user

DirectAdmin เปิด ssl ให้ทุก user สามารถใช้งาน ssl ได้ echo enable_ssl_sni=1 >> /usr/local/directadmin/conf/directadmin.conf service directadmin restart

ติดตั้ง Clam AntiVirus บน centos 6

This article will guide you through the installation of ClamAV on CentOS. Once installed, we will also configure a daily scan on our CentOS server. ClamAV is an open source (GPL) antivirus engine desi

DirectAdmin ปิด http://ip/~user

CustomBuild 2.0 now has the option by default: cd /usr/local/directadmin/custombuild ./build set userdir_access no ./build rewrite_confs http://help.directadmin.com/item.php?id

การตั้งค่า THAI สำหรับ PDF WHMCS เวอร์ชั่น 6

การตั้งค่าภาษาไทยสำหรับ PDF WHMCS เวอร์ชั่น 6 (WHMCS Version 6 PDF THAI FONT) ดาวน์โหลดไฟล์ Font PDF ภาษาไทยได้ที่ http://www.colo.in.th/files/tcpdf_thai_fonts.tar.gz หรือ tcpdf_thai_fon

Munin บน CentOS 6

Munin ใช้ในการตรวจสอบการใช้งานทรัพยากรบนระบบเครือข่ายว่าใช้งานไปขนาดไหน เต็มประสิทธิภาพไหม Munin สามารถสรุปรายงานเป็บแบบรายวัน รายสัปดาห์ รายเดือน และรายปี ทำให้งานของผู้ดูแลระบบเครือข่ายสะดวกมากยิ่งข

CentOS : เปลี่ยน repo มาใช้ในไทย เพื่อให้ yum ได้เร็วขึ้น

CentOS : เปลี่ยน repo มาใช้ในไทย เพื่อให้ yum ได้เร็วขึ้น 1. ดูก่อนว่า CentOS มี list ของ repo อะไรอยู่บ้าง # yum-config-manager base จะได้ผลลับดังนี้ Loaded plugins: fas