#AlmaLinux

บทความทั้งหมดที่ติดแท็กนี้

Webhosting

Rocky และ AlmaLinux ตั้งค่า Timezone เป็น Asia/Bangkok

ตรวจสอบ Timezone ปัจจุบัน timedatectl 📌 ระบบจะแสดงผลประมาณนี้: > 🔹 ถ้ายังเป็น UTC ต้องเปลี่ยนเป็น Asi

Webhosting

วิธี “ปิด/ซ่อน” log จากหน้าจอ (console) บน AlmaLinux 9/RedHat 9

1. ปิด kernel/syslog output ไปยัง console วิธีมาตรฐาน: ต้องแก้ไข sysctl และ grub ดังนี้ A. ปิด printk log ระดับ kernel (ชั่วคราว) dmesg -n 1 จะหยุด log ทุกชนิดจาก kernel ไปแสดงบนหน้าจอทันที (แ

Webhosting

ติดตั้ง Linux Malware Detect AlmaLinux 8

ติดตั้ง Linux Malware Detect AlmaLinux 8 cd /usr/local/src/ wget http://www.rfxn.com/downloads/maldetect-current.tar.gz tar -xzf maldetect-current.tar.gz cd maldetect-1.6.4 sudo sh ./install.

General

คำสั่งเปลี่ยนชื่อ Folder ใน AlmaLinux

คำสั่งเปลี่ยนชื่อ Folder ใน AlmaLinux sudo mv folderOLD folderNEW

General

ทดสอบความเร็วการเขียน-อ่าน ข้อมูล IDE / SATA SSD บน AlmaLinux 8 (คำสั่งDD)

ทดสอบความเร็วการเขียน-อ่าน ข้อมูล IDE / SATA SSD บน AlmaLinux 8 (คำสั่งDD) ใช้คำสั่ง dd dd if=/dev/zero of=/tmp/output.img bs=8k count=256k ผลที่ได้ > 262144+0 records in > > 262144+0 r

Webhosting

DirectAdmin ติดตั้ง ModSecurity (Custombuild 2.x) on AlmaLinux 8

DirectAdmin ติดตั้ง ModSecurity (Custombuild 2.x) on AlmaLinux 8 เลือกได้ระหว่าง comodo กับ owasp สำหรับ comodo cd /usr/local/directadmin/custombuild ./build update ./build set

Webhosting

DirectAdmin NGINX + Apache (Custombuild 2.x) on AlmaLinux 8

ใช่คำสั่งต่อไปนี้ สำหรับ nginx + apache cd /usr/local/directadmin/custombuild ./build update ./build update_da ./build set webserver nginx_apache ./build nginx_apac

Webhosting

ติดตั้ง DirectAdmin บน AlmaLinux 8

ติดตั้ง DirectAdmin บน AlmaLinux 8 yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \ libcom_err-devel libcurl-devel gd zlib-devel zip

Webhosting

เปลี่ยน Hostname บน AlmaLinux 8

เปลี่ยน Hostname บน AlmaLinux 8 ตรวจสอบข้อมูลเดิม hostnamectl เปลี่ยนชื่อ hostnamectl set-hostname ชื่อHostname ตรวจสอบซ้ำ สามารถใช้งานได้ทันที hostnamectl

Webhosting

เปลี่ยน SSH Port AlmaLinux 8

เปลี่ยน SSH Port AlmaLinux 8 echo "Port 2200" >> /etc/ssh/sshd_config dnf install policycoreutils-python-utils -y semanage port -a -t ssh_port_t -p tcp 2200 กรณีเปิด firewall ต

General

AlmaLinux คืออะไร?

AlmaLinux เป็นตัวเลือกสำหรับผู้ที่ใช้ CentOS ที่ต้องหาทางเลือกหลังจาก RedHat กำลังจะเปลี่ยน CentOS เป็น CentOS Stream โดย AlmaLinux ดูแลโดย CloudLinux ซึ่งเป็นที่นิยมในผู้ทำเว็บโฮสติ้งเช่นกัน ปัจจุบัน