ARCHITECTURE_AND_DESIGN_EGYPT Telegram 29762
طريقة N8N مدى الحياة

الخطوات

1. إنشاء حساب في Google Cloud
https://cloud.google.com

فعّل Google Cloud Console.

احصل على رصيد مجاني أول مرة (عادةً 300$ لمدة 90 يومًا)، وبعد انتهاء الرصيد يبقى لديك الخادم المجاني (e2-micro).

2. إنشاء خادم (VM Instance)

اذهب إلى Compute Engine → VM Instances → Create Instance.

اختر نوع الجهاز e2-micro (المجاني).

اختر نظام التشغيل Ubuntu 22.04 LTS.

فعّل منفذ HTTP و HTTPS أثناء إنشاء الخادم.

3. الاتصال بالخادم وتثبيت Docker

افتح نافذة SSH من داخل لوحة Google Cloud أو من جهازك:
sudo apt update && sudo apt upgrade -y
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
ثم سجّل الخروج وأعد الدخول لتفعيل الصلاحيات.

4. إنشاء مجلد وتشغيل n8n 📌

أنشئ مجلد المشروع:

mkdir n8n && cd n8n

أنشئ ملف اسمه docker-compose.yml واكتب بداخله:
version: '3.8'
services:
n8n:
image: n8nio/n8n:latest
restart: always
ports:
- "5678:5678"
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=admin
- N8N_BASIC_AUTH_PASSWORD=كلمة_مرور_قوية
volumes:
- n8n_data:/home/node/.n8n

volumes:
n8n_data:
شغّل الحاوية:
docker compose up -d

5. فتح المنفذ 5678

من Google Cloud → VPC Network → Firewall → Create Rule

أضف قاعدة للسماح بالاتصالات على المنفذ 5678 (TCP).

6. الوصول إلى لوحة n8n

افتح المتصفح واكتب:

http://<عنوان_الخادم>:5678

سجّل الدخول بالاسم وكلمة المرور التي حددتها في ملف. docker-compose.yml واستمتع !



tgoop.com/Architecture_and_Design_Egypt/29762
Create:
Last Update:

طريقة N8N مدى الحياة

الخطوات

1. إنشاء حساب في Google Cloud
https://cloud.google.com

فعّل Google Cloud Console.

احصل على رصيد مجاني أول مرة (عادةً 300$ لمدة 90 يومًا)، وبعد انتهاء الرصيد يبقى لديك الخادم المجاني (e2-micro).

2. إنشاء خادم (VM Instance)

اذهب إلى Compute Engine → VM Instances → Create Instance.

اختر نوع الجهاز e2-micro (المجاني).

اختر نظام التشغيل Ubuntu 22.04 LTS.

فعّل منفذ HTTP و HTTPS أثناء إنشاء الخادم.

3. الاتصال بالخادم وتثبيت Docker

افتح نافذة SSH من داخل لوحة Google Cloud أو من جهازك:
sudo apt update && sudo apt upgrade -y
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
ثم سجّل الخروج وأعد الدخول لتفعيل الصلاحيات.

4. إنشاء مجلد وتشغيل n8n 📌

أنشئ مجلد المشروع:

mkdir n8n && cd n8n

أنشئ ملف اسمه docker-compose.yml واكتب بداخله:
version: '3.8'
services:
n8n:
image: n8nio/n8n:latest
restart: always
ports:
- "5678:5678"
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=admin
- N8N_BASIC_AUTH_PASSWORD=كلمة_مرور_قوية
volumes:
- n8n_data:/home/node/.n8n

volumes:
n8n_data:
شغّل الحاوية:
docker compose up -d

5. فتح المنفذ 5678

من Google Cloud → VPC Network → Firewall → Create Rule

أضف قاعدة للسماح بالاتصالات على المنفذ 5678 (TCP).

6. الوصول إلى لوحة n8n

افتح المتصفح واكتب:

http://<عنوان_الخادم>:5678

سجّل الدخول بالاسم وكلمة المرور التي حددتها في ملف. docker-compose.yml واستمتع !

BY المكتبة المعمارية الشاملة - Architecture and Design




Share with your friend now:
tgoop.com/Architecture_and_Design_Egypt/29762

View MORE
Open in Telegram


Telegram News

Date: |

Developing social channels based on exchanging a single message isn’t exactly new, of course. Back in 2014, the “Yo” app was launched with the sole purpose of enabling users to send each other the greeting “Yo.” When choosing the right name for your Telegram channel, use the language of your target audience. The name must sum up the essence of your channel in 1-3 words. If you’re planning to expand your Telegram audience, it makes sense to incorporate keywords into your name. To edit your name or bio, click the Menu icon and select “Manage Channel.” Ng, who had pleaded not guilty to all charges, had been detained for more than 20 months. His channel was said to have contained around 120 messages and photos that incited others to vandalise pro-government shops and commit criminal damage targeting police stations. Click “Save” ;
from us


Telegram المكتبة المعمارية الشاملة - Architecture and Design
FROM American