Giter VIP home page Giter VIP logo

citrea-node's Introduction

image

نصب Citrea روی اوبونتو

1. اپدیت سرور و نصب نیازمندی ها:

apt update && apt upgrade -y
apt install wget curl gnome-terminal ca-certificates screen

2. میریم سراغ نصب داکر

اول دستور زیر رو کامل تو ترمینال وارد کنید :

sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

حالا دستور زیر برای اجرای اخرین ورزن داکر :

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

خب نصب تموم شد برای این که تست کنید درست انجام شده دستور زیر رو وارد میکنیم و اگر همه چی درست پیشرفته باشه پیام موفقیت امیز بودن میده و از صفحه خارج میشه:

sudo docker run hello-world

3. نصب داکر کامپوز :

با دستور زیر فایل رو از ریپازیتوری به سرور وارد میکنیم :

wget https://github.com/chainwayxyz/citrea/blob/v0.4.0/docker-compose.yml

الان کافیه با دستور زیر اسکرین جدید باز کنیم :

screen -S citrea

و در نهایت با دستور زیر نود رو ران میکنیم :

docker-compose up -d

خب نود اجرا شده و بعد از چند دقیقه نود با شبکه سینک میشه و تمام

نکته : بهتره برای نصب این نود با یک اپ مثل Termius وصل بشید به سرور و دستورات رو اجرا کنید.


citrea-node's People

Contributors

xoneiros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.