เปลี่ยน 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 ต
ตรวจสอบข้อมูล Disk Centos (smartctl Utility)
ติดตั้ง smartctl Utility บน CentOS7 yum install smartmontools -y แสดงข้อมูล disk smartctl -a /dev/sdb สำหรับ IDE drive smartctl -a -d ata /dev/sdb สำหรับ SATA drive smartct
AlmaLinux คืออะไร?
AlmaLinux เป็นตัวเลือกสำหรับผู้ที่ใช้ CentOS ที่ต้องหาทางเลือกหลังจาก RedHat กำลังจะเปลี่ยน CentOS เป็น CentOS Stream โดย AlmaLinux ดูแลโดย CloudLinux ซึ่งเป็นที่นิยมในผู้ทำเว็บโฮสติ้งเช่นกัน ปัจจุบัน
Plesk Web Admin ตั้งค่า Disk space และ Traffic แต่ละโดเมน
Plesk Web Admin ตั้งค่า Disk space และ Traffic แต่ละโดเมน เข้า SSH ด้วย Putty หากต้องการ Disk แบบ ไม่จำกัด plesk bin subscription_settings -u mydomain.com -disk_space -1 กำหนด Disk 100 GB
DirectAdmin Backup To S3 And spaces
DirectAdmin Backup To S3 And spaces 1.install composer cd /usr/local/directadmin/custombuild ./build update ./build composer 2. mkdir /home/admin/tools cd /home/admin/tools
DirectAdmin install composer
cd /usr/local/directadmin/custombuild ./build update ./build composer
Change OpenSSH Port On CentOS 8
Change OpenSSH Port On CentOS 8 sudo vi /etc/ssh/sshd_config แก้ไข Port 2299 (เลขพอร์ตที่ต้องการ) sudo yum install policycoreutils-python-utils sudo semanage port -a -t ssh_port_t
ติดตั้ง vmwaretool centos7
ก่อนติดตั้งให้ mount แผ่น vmwaretool ใน VM ก่อน จากนั้นใช้คำสั่งดังนี้ yum install perl gcc make kernel-headers kernel-devel -y mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom
Change OpenSSH Port On CentOS 7
Change OpenSSH Port On CentOS 7 sudo vi /etc/ssh/sshd_config แก้ไข Port 2299 (เลขพอร์ตที่ต้องการ) sudo yum -y install policycoreutils-python wget unzip perl-Data-Dumper sudo semana
Install perl-Data-Dumper
To fix problem install perl-Data-Dumper with YUM: yum install perl-Data-Dumper ที่มา : https://arstech.net/fix-webmin-error-failed-dependencies-perldatadumper/
Upgrading your VPS ovh.com - need to extend your disk?
login ssh yum install cloud-utils -y lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 60G 0 disk └─sda1 8:1 0 40G 0 part / growpart /dev/sda 1 CHANGED: partition=1 start
DirectAdmin install DKIM
เปิด dkin cd /usr/local/directadmin ./directadmin set dkim 2 echo "action=rewrite&value=dkim" >> /usr/local/directadmin/data/task.queue /usr/local/directadmin/dataskq d800 /usr/local/directadmin/s
Install cpan And setup spamassassin Centos + Directadmin
Install cpan And setup spamassassin Centos + Directadmin 1. yum install cpan -y yum install perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-I