تنصيب نظام AlmaLinux 8 على السيرفر وتركيب لوحة تحكم cPanel وإعداد السيرفر من A to Z - سمارت سيرفس

ديسمبر 20, 2023

post-thumnail

yum update -y

iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.service

yum install nano

nano /etc/selinux/config

SELINUX=enforcing to SELINUX=disabled

yum install perl

yum install curl

hostnamectl set-hostname host.a2z-dev.com

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

service NetworkManager start
chkconfig NetworkManager on


nano -w /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4


cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh


/bin/systemctl stop rpcbind
/bin/systemctl disable rpcbind


nano /etc/ssh/sshd_config


اترك رد

× لديك إستفسار ؟ تواصل معنا