CMD chạy lệnh Perfmon /rel
Hoặc vào theo menu Reliability Monitor:
CMD chạy lệnh Perfmon /rel
Hoặc vào theo menu Reliability Monitor:
Tạo VM mới từ template Rocky đã có
Mở Gitlab > Build > Pipelines > bấm [New Pipeline]
Chọn PLAYBOOK: new_server, LIMIT: VM name > bấm [New Pipeline] > deploy
Sau khi deploy xong, vào console login root
cd /etc/ssh
sudo vi sshd_config
Sửa PasswordAuthentication no thành PasswordAuthentication yes
:wq
Tạo tài khoản riêng:
sudo useradd -m username
sudo passwd username
sudo usermod -aG wheel username
Tìm @BotFather (có dấu tích verified)
/start
/newbot
Đặt tên bot mới, yêu cầu đặt tên có _bot ở cuối, tối đa 32 char, chữ + số + gạch dưới. Ví dụ: Site_Alert_Devices_bot
/mybot chọn bot đã tạo
API Token => lấy key API, dạng 8443315929:AAFw0tzxo8eUScBL5Xw_729_FLv7262OwHn
Back to settings
Bot settings > Group privacy > Turn off (cần check phần này có cần thiết không - chỉ để bot có thể đọc được tin nhắn trong group - và phục vụ check getUpdates)
Chat với bot, START
Tạo Group mới, đặt tên, add bot vào group, chat vài tin, sử dụng URL để check xem đã đọc được tin mới chưa, đọc được là ok
https://api.telegram.org/bot[thay API token vào đây, không bao gồm dấu ngoặc]/getUpdates
Đồng thời khi truy cập URL trên cũng sẽ lấy được chat_id của group, lưu lại
chat_id thường là số âm: -100xxxxxxxxxx
Test cho bot gửi tin nhắn vào group (cmd):
curl -s -X POST "https://api.telegram.org/bot[thay API token vào đây, không bao gồm dấu ngoặc]/sendMessage" -d chat_id=[chat_id của group] -d text="Test từ server alert thành công!"
VeeamOne: edit trên C:\script
Zabbix:
PRTG: vào noti như email thông thường, add thêm thao tác Execute HTTP Action rồi dùng link API sendmessages của telegram
Nơi quản trị:
1. Microsoft 365 admin center:
- Menu: Home > Active teams & groups > Active teams and groups
- Các loại group:
2. Exchange admin center:
- Menu: Home > Recipients > Groups
- Các loại group
Quản lý member:
- Với group Microsoft: https://myaccount.microsoft.com/groups/groups-i-own
- Dành cho user có quyền owner: https://admin.exchange.microsoft.com/#/groups
Get-DistributionGroupMember -Identity "tên group" | Select Name, PrimarySmtpAddress | Export-Csv -Path "D:\DanhSach.csv" -NoTypeInformation
Tải Debian 13: https://www.debian.org/download
Tạo VM, xác định dung lượng VM cần thiết để chứa media trên server
Cài đặt lên VM, khi cài tích chọn thêm SSH Server phục vụ remote sau này, cài GRUB bootloader
Add user hiện tại (xiboadmin) có quyền Administrator (trên GUI - Settings)
Mở terminal: gõ lệnh
su =>chuyển qua root
/usr/sbin/usermod -aG sudo xiboadmin
=> cho xiboadmin quyền sudo
Thực hiện xóa lic Teams Ent, thay bằng Teams Ess:
Thực hiện các bước:
- Invite external user làm guest
- Vào azure portal đổi type từ guest thành member
- Chờ cập nhật
- Add user đó vào danh sách cho phép gửi all
Owner tự quản lý member theo link:
Add hàng loạt member vào Distribution List group trên MS 365
Áp dụng cho cả mail-enabled security group (cloud only) - không sử dụng được cho group sync từ AD on-premise lên
Nâng cấp PowerShell lên bản mới ( PowerShell 7)nếu vẫn đang ở 5.1: mở PS, chạy lệnh:
winget install --id Microsoft.PowerShell
Nếu làm việc nhiều dòng, đổi sang Visual Studio Code:
winget install --id Microsoft.VisualStudioCode
Cài xong vào Extension => tìm PowerShell và cài thêm
CMD chạy lệnh Perfmon /rel Hoặc vào theo menu Reliability Monitor: