Aapanel N8n lỗi 502 Nginx khi restore, Update version n8n và xóa log n8n

chuyển về Owner ubuntu chown -R ubuntu:ubuntu /www/dk_project/dk_app/n8n/n8n_iEZi/data/* Cách 2: dùng lệnh này đợ 5 phút root@server1:~# docker exec f84d7a04fdc5 id uid=1000(node) gid=1000(node) groups=1000(node) root@server1:~# chown -R 1000:1000 /www/dk_project/dk_app/n8n/n8n_iEZi/data root@server1:~# find /www/dk_project/dk_app/n8n/n8n_iEZi/data -type d -exec chmod 755 {} \; root@server1:~# find /www/dk_project/dk_app/n8n/n8n_iEZi/data -type f -exec chmod 644 {} \; root@server1:~# ls -l /www/dk_project/dk_app/n8n/n8n_iEZi/data docker restart […]

Read More

EE4 xóa log

Xoá các file binlog cũ Vào MariaDB container:docker exec -it services_global-db_1 bash mysql -uroot -p Xem lại password của root cat /opt/easyengine/services/docker-compose.yml | grep MYSQL_ROOT_PASSWORD ✅ Trong MariaDB prompt: RESET MASTER; Lệnh này sẽ xoá toàn bộ binlog cũ và chỉ giữ lại binlog hiện tại. Xoá nội dung log mà không xoá file (để […]

Read More

Cài Đặt Mail Server Trên aaPanel Với Postfix, Dovecot Và SSL

Việc thiết lập một mail server trên aaPanel giúp bạn quản lý email một cách chuyên nghiệp và an toàn. Trong bài viết này, chúng ta sẽ hướng dẫn cách cài đặt và cấu hình Postfix, Dovecot và SSL để đảm bảo mail server hoạt động ổn định. 1. Cài Đặt Mail Server Trên aaPanel […]

Read More

Cài đặt EasyEngine v4

Linux For Linux, we have created an installer script which will install all the dependencies for you. We have tested this on Ubuntu 14.04, 16.04, 18.04 and Debian 8. wget -qO ee https://rt.cx/ee4 && sudo bash ee Mac Starting with v4, EasyEngine supports Mac install using the famous brew package manager. brew install easyengine   Commands https://easyengine.io/commands

Read More

[HDCV] Các câu lệnh MySQL hay dùng

Đăng nhập MySQL mysql -u root -p Sau khi đăng nhập thành công Xem quyền Xem quyền của user root Xem quyền của user khác Liệt kê user, host Làm việc với Database Kiểm tra xem Database nào đang được lựa chọn Lựa chọn Database để làm việc Tham khảo Xóa Database Backup & Restore Database […]

Read More

[HDCV] MySQL – Reset password cho user root trên server Linux

  [Repu Digital] 1. Cách đổi password cho user root Trường hợp 1 – Vừa cài đặt mysql và root chưa có password Trường hợp 2 – Đổi password sang password mới Test lại pass mới sau khi đổi Tham khảo MySQL Change root Password 2. Cách Reset lại password cho user root của MySQL […]

Read More

[HDCV] Cài đặt và sử dụng Easy Engine cho máy chủ Linux (Ubuntu)

A. Cài đặt Easy Engine 1. Cài đặt script ee stack install –nginx –php –hhvm –php7 –mysql –wpcli –utils –admin Tham khảo Install Easy Engine (làm theo hướng dẫn trên website chính thức của EE là mới nhất) Bài hướng dẫn cài EE trên ThachPham.com (để hiểu, cách làm có thể cũ, không còn chính xác) 2. […]

Read More

[HDCV] Cài đặt server Linux cho PHP Web Hosting

Cài đặt máy chủ trên Linode Bắt đầu Cài đặt HĐH CentOS7 Khởi động Server Kết nối SSH vào Server Update HĐH Thiết lập Hostname Update file /etc/hosts Thiết lập Timezone Thiết lập bảo mật Server Add user để đăng nhập thay cho root Thiết lập bảng IP truy cập Thiết lập Firewall Thiết lập […]

Read More