1. up interface đang bị tắt
ifup ens33
2.show ngày giờ hệ thống
timedatectl
3. Thay đổi quyền từ user sang root
Mở chương trình giao diện cửa sổ dòng lệnh terminal. Nếu terminal còn chưa bật, hãy mở nó. Nhiều phiên bản Linux cho phép mở terminal bằng cách nhấn tổ hợp phím Ctrl+Alt+T.
su -
nhập password root
4. đặt hostname cho máy linux
hostnamectl set-hostname zabbix5. Tắt mở SElinux, Network Manager
sudo systemctl disable firewalld
sudo systemctl stop firewalld
sudo systemctl disable NetworkManager
sudo systemctl stop NetworkManager
sudo systemctl enable network
sudo systemctl start network6. cấu hình ip bằng giao diện
nmtui
7. lệnh xem IP
ip a
8. cài đặt snmp
yum install net-snmp-utils -y
9. cài đặt netstat
yum install net-tools
10. cai dat Git
$ sudo dnf install git-all11. cai đặt pear phpyum install php-pear
12. cài đặt dnf
yum -y install dnf
13. Sử dụng command nslookup
sudo yum install bind-utils14. cài đặt Zipyum install zip
Nhận xét
Đăng nhận xét