Wiki

[NEW] Lotus: install and setup | lotus – Nangdep.vn

lotus: คุณกำลังดูกระทู้

# Lotus: install and setup

This guide covers how to install the Lotus applications and launch a Lotus Node. This guide covers installing lotus, lotus-miner, and lotus-worker to your computer, and then runs through setting up a Lotus node. For information on running the miner, check the Lotus Miner documentation.

# Running in the cloud

As an alternative to running locally, you can also run Lotus on a cloud provider. The easiest and cheapest path is to use the one-click application in the DigitalOcean marketplace (opens new window).

Other options, including Amazon Web Services, are covered in Running in the cloud.

# Minimal requirements

To run a Lotus node your computer must have:

  • macOS or Linux installed. Windows is not yet supported.
  • 8-core CPU and 32 GiB RAM. Models with support for Intel SHA Extensions (AMD since Zen microarchitecture or Intel since Ice Lake) will significantly speed things up.
  • Enough space to store the current Lotus chain (preferably on an SSD storage medium). The chain grows at approximately 38 GiB per day. The chain can be synced from trusted state snapshots and compacted or pruned to a minimum size of around 33Gib. The full history was around 10TiB in June of 2021.

WARNING

These are the minimal requirements to run a Lotus node. Hardware requirements for Miners are different.

The following instructions are specific to Linux installations. Head to the macOS section if you want to install Lotus on a Mac.

There are several ways to install Lotus on Linux:

Miners should build from source

Building Lotus from source allows you to strictly configure how Lotus runs and how it communicates with its dependencies. Miners looking to improve their system efficiency should install Lotus by building from source.

# Snap package manager

To install Lotus using Snap, run:

snap 

install

lotus-filecoin

You can also install nightly builds by using the --edge flag. These builds are created every night from the master branch Lotus GitHub repository (opens new window).

snap 

install

lotus-filecoin --edge

You can find out more about this Snap over at Snapcraft.io (opens new window).

AppImages (opens new window) are portable applications that allow developers to package software and dependencies in a single executable. AppImages run on most Linux-based operating systems.

  1. Go to the latest releases page in the Lotus GitHub repository (opens new window).

  2. Under Assets, download the AppImage.

  3. Open a terminal window and move to the location where you downloaded the AppImage. This location is likely your Downloads folder:

    cd

    ~/Downloads
  4. Make the AppImage executable:

    chmod

    +x lotus_v1.10.0_linux-amd64.appimage
  5. You can now run the AppImage file by double-clicking on it or opening it from a terminal window:

    ./lotus-v1.10.0_linx-amd64.appimage
    

# Building from source

You can build the Lotus executables from source by following these steps.

# Software dependencies

You will need the following software installed to install and run Lotus.

Building Lotus requires some system dependencies, usually provided by your distribution.

Arch:

sudo

pacman -Syu opencl-icd-loader gcc

git

bzr jq pkg-config opencl-icd-loader opencl-headers opencl-nvidia hwloc

Ubuntu/Debian:

sudo

apt

install

mesa-opencl-icd ocl-icd-opencl-dev gcc

git

bzr jq pkg-config

curl

clang build-essential hwloc libhwloc-dev

wget

-y

&&

sudo

apt

upgrade -y

Fedora:

sudo

dnf -y

install

gcc

make

git

bzr jq pkgconfig mesa-libOpenCL mesa-libOpenCL-devel opencl-headers ocl-icd ocl-icd-devel clang llvm

wget

hwloc hwloc-devel

OpenSUSE:

sudo

zypper

in

gcc

git

jq

make

libOpenCL1 opencl-headers ocl-icd-devel clang llvm hwloc

&&

sudo

ln

-s /usr/lib64/libOpenCL.so.1 /usr/lib64/libOpenCL.so

Amazon Linux 2:

sudo

yum

install

-y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

;

sudo

yum

install

-y

git

gcc bzr jq pkgconfig clang llvm mesa-libGL-devel opencl-headers ocl-icd ocl-icd-devel hwloc-devel

Lotus needs rustup (opens new window). The easiest way to install it is:

curl

--proto

'=https'

--tlsv1.2 -sSf https://sh.rustup.rs

|

sh

To build Lotus, you need a working installation of Go 1.16.4 or higher (opens new window):

wget

-c https://golang.org/dl/go1.16.4.linux-amd64.tar.gz -O -

|

sudo

tar

-xz -C /usr/local

TIP

You’ll need to add /usr/local/go/bin to your path. For most Linux distributions you can run something like:

echo

'export PATH=$PATH:/usr/local/go/bin'

>>

~/.bashrc

&&

source

~/.bashrc

See the official Golang installation instructions (opens new window) if you get stuck.

READ  [Update] “การเกษตรยุคดิจิทัล..ต้องรับมือความเปลี่ยนแปลง 9 ด้าน” มุมมอง CEO เครือซีพี-ศุภชัย เจียรวนนท์ | ปัญหาด้านการเกษตร - Nangdep.vn

# Build and install Lotus

Once all the dependencies are installed, you can build and install Lotus.

  1. Clone the repository:

    git

    clone https://github.com/filecoin-project/lotus.git

    cd

    lotus/
  2. Checkout the release for the network you wish to use.

    To join mainnet, checkout the latest release (opens new window).

    If you are changing networks from a previous Lotus installation or there has been a network reset, read the Switch networks guide before proceeding.

    For networks other than mainnet, look up the current branch or tag/commit for the network you want to join in the Filecoin networks dashboard (opens new window), then build Lotus for your specific network below.

    git

    checkout

    <

    tag_or_branch

    >

    git

    checkout

    <

    vX.X.X

    >

    Currently, the latest code on the master branch corresponds to the mainnet.

  3. If you are in China, see “Lotus: tips when running in China“.

  4. Depending on your CPU model, you will want to export additional environment variables:

    a. If you have an AMD Zen or Intel Ice Lake CPU (or later), enable the use of SHA extensions by adding these two environment variables:

    export

    RUSTFLAGS

    =

    "-C target-cpu=native -g"

    export

    FFI_BUILD_FROM_SOURCE

    =

    1

    See the Native Filecoin FFI section for more details about this process.

    a. Some older Intel and AMD processors without the ADX instruction support may panic with illegal instruction errors. To solve this, add the CGO_CFLAGS environment variable:

    export

    CGO_CFLAGS_ALLOW

    =

    "-D__BLST_PORTABLE__"

    export

    CGO_CFLAGS

    =

    "-D__BLST_PORTABLE__"

    a. By default, a ‘multicore-sdr’ option is used in the proofs library. This feature is also used in FFI unless explicitly disabled. To disable building with the ‘multicore-sdr’ dependency, set FFI_USE_MULTICORE_SDR to :

    export

    FFI_USE_MULTICORE_SDR

    =

  5. Build and install Lotus

    Lotus is compiled to operate on a single network, run one of the following commands to build the lotus node for the specific lotus network.

     
    

    make

    clean all

    make

    clean calibnet

    sudo

    make

    install

    This will put lotus, lotus-miner and lotus-worker in /usr/local/bin.

    lotus will use the $HOME/.lotus folder by default for storage (configuration, chain data, wallets). See advanced options for information on how to customize the Lotus folder.

    Once the installation is finished, use the command down below to ensure lotus is installed successfully for the right network.

    lotus --version
    
    lotus version 1.9.0+calibnet+git.ada7f97ba
    
  6. You should now have Lotus installed. You can now start the Lotus daemon.

# Native Filecoin FFI

Some newer CPU architectures like AMD’s Zen and Intel’s Ice Lake have support for SHA extensions. Having these extensions enabled significantly speeds up your Lotus node. To make full use of your processor’s capabilities, make sure you set the following variables before building from source:

export

RUSTFLAGS

=

"-C target-cpu=native -g"

export

FFI_BUILD_FROM_SOURCE

=

1

This method of building does not produce portable binaries. Make sure you run the binary on the same computer as you built it.

# Systemd service files

Lotus provides generic Systemd service files. They can be installed with:

make

install-daemon-service

make

install-miner-service

WARNING

Provided service files should be inspected and edited according to user needs as they are very generic and may lack specific environment variables and settings needed by the users.

One example is that logs are redirected to files in /var/log/lotus by default and not visible in journalctl.

These instructions are specific to macOS. You can install Lotus on macOS 10.11 El Capitan or higher. If you are installing Lotus on a Linux distribution, head over to the Linux section.

There are several ways to install Lotus on macOS:

Miners should build from source

Building Lotus from source allows you to strictly configure how Lotus runs and how it communicates with its dependencies. Miners looking to improve their system efficiency should install Lotus by building from source.

# Install with Homebrew

You can quickly install Lotus using Homebrew on macOS.

  1. Add the filecoin-project/lotus tap:

    brew tap filecoin-project/lotus
    
  2. Install Lotus:

    brew 

    install

    lotus
  3. You should now have Lotus installed. You can now start the Lotus daemon.

# Build from source

You can build the Lotus executables from source by following these steps.

# Software dependencies

You must have XCode and Homebrew installed to build Lotus from source.

Lotus requires that X-Code CLI tools be installed before building the Lotus binaries.

  1. Check if you already have the XCode Command Line Tools installed via the CLI, run:

    xcode-select -p
    
    /Library/Developer/CommandLineTools
    

    If this command returns a path, then you have Xcode already installed! You can move on to installing dependencies with Homebrew.

    WARNING

    If the above command doesn’t return a path, install Xcode:

    xcode-select --install
    

Next up is installing Lotus’ dependencies using Homebrew.

READ  [NEW] จำนวนเงินโอนสูงสุด ประเทศ จุดบริการและสกุลเงิน | บริการโอนเงิน ระหว่างประเทศ | เงิน เปรู - Nangdep.vn

We recommend that macOS users use Homebrew (opens new window) to install each of the necessary packages.

  1. Use the command brew install to install the following packages:

    brew 

    install

    go bzr jq pkg-config rustup hwloc

Next up is cloning the Lotus repository and building the executables.

# Build and install Lotus

The installation instructions are different depending on which CPU is in your Mac:

WARNING

These instructions are for installing Lotus on an M1-based Mac. If you have an Intel or AMD-based CPU, use the Intel and AMD-based CPU instructions ↓

  1. Clone the repository:

    git

    clone https://github.com/filecoin-project/lotus.git

    cd

    lotus/
  2. Run git checkout <RELEASE TAG> to checkout to the latest Lotus release:

    git

    checkout v1.10.0

    You can use any tag listed on the Lotus GitHub release page (opens new window) to checkout to that specific release.

    TIP

    If you want to checkout to a network other than mainnet, take a look at the Switching networks guide →

  3. Create necessary environment variable to allow Lotus to run on ARM architecture:

    export

    LIBRARY_PATH

    =

    /opt/homebrew/lib

    export

    FFI_BUILD_FROM_SOURCE

    =

    1

  4. Build the lotus daemon:

    make

    all
  5. Run the final make command to move this lotus executable to /usr/local/bin. This allows you to run lotus from any directory.

    sudo

    make

    install

  6. You should now have Lotus installed. You can now start the Lotus daemon.

# Intel and AMD-based CPUs

WARNING

These instructions are for installing Lotus on an Intel or AMD-based Mac. If you have an M1-based CPU, use the M1-based CPU instructions ↑

  1. Clone the repository:

    git

    clone https://github.com/filecoin-project/lotus.git

    cd

    lotus/
  2. Run git checkout <RELEASE TAG> to checkout to the latest Lotus release:

    git

    checkout v1.10.0

    You can use any tag listed on the Lotus GitHub release page (opens new window) to checkout to that specific release.

    TIP

    If you want to checkout to a network other than mainnet, take a look at the Switching networks guide →

  3. If you are in China, take a look at some tips for running Lotus in China“.

  4. Some older Intel and AMD processors without the ADX instruction support may panic with illegal instruction errors. To fix this, add the CGO_CFLAGS environment variable:

    export

    CGO_CFLAGS_ALLOW

    =

    "-D__BLST_PORTABLE__"

    export

    CGO_CFLAGS

    =

    "-D__BLST_PORTABLE__"

    This is due to a Lotus bug that prevents Lotus from running on a processor without adx instruction support, and should be fixed soon.

  5. Build and install Lotus:

    make

    clean

    &&

    make

    all

    sudo

    make

    install

  6. You should now have Lotus installed. You can now start the Lotus daemon.

# Start the Lotus daemon and sync the chain

The lotus application runs as a daemon and a client to control and interact with that daemon. A daemon is a long-running program that is usually run in the background.

When using mainnet, we recommend you start the daemon syncing from a trusted state snapshot. In any case, you can start the daemon with the following command:

lotus daemon

During the first run, Lotus will:

  • Set up its data folder at ~/.lotus.
  • Download the necessary proof parameters. This is a few gigabytes of data that is downloaded once.
  • Import the snapshot (if specified) and start syncing the Lotus chain.

The daemon will start producing lots of log messages right away. From this point, you will have to work on a new terminal. Anylotus commands you run now will communicate with the running daemon.

TIP

Do not be concerned by the number of warnings and sometimes errors showing in the logs. They are a normal part of the daemon lifecycle as it participates in the globally distributed consensus network.

If you used snapshots, subsequent daemon starts can proceed as normal without any options:

lotus daemon
 
 

For more information about syncing and snapshots, see the Chain management section.

We recommend waiting until the syncing process has completed, which should be relatively fast when using trusted state snapshot imports:

lotus 

sync

wait

# Interact with the daemon

The lotus command allows you to interact with a running Lotus daemon. The lotus-miner and lotus-worker commands work in the same way.

Lotus comes with built-in CLI documentation.

lotus
  - chain: Interact with filecoin blockchain
  - client: Make deals, store data, retrieve data
  - wallet: Manage wallet
  - net: Manage P2P Network
  - sync: Inspect or interact with the chain syncer
  

..

. lotus --help lotus client --help

For example, after your Lotus daemon has been running for a few minutes, use lotus sync to check the sync status of your lotus node.

lotus net 

sync

sync status:
...
	Target:	[bafy2bzaceaki6bjhe2lxmtyexcff6vh5y5uw4tmbjr3gatwvh5dhaqqb2ykaa] (320791)
	Stage: complete
	Height: 320791
...

Or use lotus net to check the number of other peers that it is connected to in the Filecoin network.

lotus net peers
12D3KooWSDqWSDNZtpJae15FBGpJLeLmyabUfZmWDWEjqEGtUF8N, [/ip4/58.144.221.27/tcp/33425]
12D3KooWRTQoDUhWVZH9z5u9XmaFDvFw14YkcW7dSBFJ8CuzDHnu, [/ip4/67.212.85.202/tcp/10906]

Or check the current version of your Lotus node as well as network.

lotus version
Daemon:  1.9.0+calibnet+git.ada7f97ba+api1.3.0
Local: lotus version 1.9.0+calibnet+git.ada7f97ba
# running lotus v1.9.0 on Calibration testnet

# Stop the Lotus daemon

To gracefully stop the running lotus daemon (required when restarting the daemon to update Lotus), use the following command:

lotus daemon stop
 
 


READ  [NEW] | ฟูจิเซนเซ ประวัติ - Nangdep.vn

FORCEPARKBOIS – LOTUS (Dir. by @felrfrank)


FORCEPARKBOIS WORLDWIDE // GIFIX FILM
Spotify
https://open.spotify.com/track/4CdSVeRvrteDBAyHD4Cruc?si=87pVxm7T3aMISzqv1CDfg
Lyrics \u0026 performed by Blxckid, Nakalness, Han Panas, Nish, Ch1k, Aali.3gp, Fuegonep, Noel, Laws, Asset.Bo
Mixed, mastered \u0026 produced by Aali.3gp
Video by Gifix Film
Directed by Felrfrank
Edited by Felrfrank \u0026 Nifail Rosli

นอกจากการดูบทความนี้แล้ว คุณยังสามารถดูข้อมูลที่เป็นประโยชน์อื่นๆ อีกมากมายที่เราให้ไว้ที่นี่: ดูเพิ่มเติม

FORCEPARKBOIS - LOTUS (Dir. by @felrfrank)

阿盆姐的Vlog|带着大王,到云南深山里采藏在树根里的蜜果~【滇西小哥】


云南的山里有各种各样从小吃到大的果子,长在树上的,树根上,树藤上……味道非常特别,酸酸甜甜,每一种果子的酸和甜在舌尖上的感觉都不一样~今天带着大王上山去找一种我们当地人叫\”zha ou\”的野果子,这种果子,你们吃过吗?
※Click \”cc\” on the lower right menu to choose your subtitle language.
There are lots of wild fruits in the mountains of Yunnan. Some of them grow on the trees, some near the root, some on the vines… Each fruit has its unique sour and sweet flavor. Today, I took Dawang with me into the mountains to find a wild fruit. We call them \”zha ou\” in our local language. Have you ever tasted them?
大家好!我是滇西小哥,一个地道的云南妹子,如果你喜欢我的视频,请持续关注我的频道,
我会在不同的平台分享我的生活,以及云南特色美食,祝你们天天开心,每天都有美食相伴~
YouTube【滇西小哥 Dianxi Xiaoge】▶️https://bit.ly/2MH1T5N
Facebook【滇西小哥 Dianxi Xiaoge】 ▶️https://bit.ly/2TsGflr
Instagram【dianxixiaoge_apenjie】▶️https://bit.ly/2Wagkze
滇西小哥 DianxiXiaoge ĐiềnTâyTiểuCa

阿盆姐的Vlog|带着大王,到云南深山里采藏在树根里的蜜果~【滇西小哥】

Vexento – Lotus


Lotus is finally here! You can listen to Lotus on Spotify and other streaming services: https://push.fm/fl/yhzoiqwc
This AMAZING artwork was made by Davisvegas from Fiverr!
Definitely go check them out: https://www.fiverr.com/davisvegas
Thank you guys so much for listening. I hope you guys will enjoy this!
Got more music on the way :D

Vexento - Lotus

E70 Lotus Flower Feast | Ms Yeah


Chinese people love Louts Flower so very much, not only the beauty of lotus but also the symbolism of the flower. Northern Song Dynasty scholar Chou TunI once wrote ‘爱莲说’ “How stainless it rises from its slimy bed! How modestly it reposes on the clear pool – an emblem of purity and truth! Symmetrically perfect, its subtle perfume is wafted far and wide, while there it rests in spotless state, something to be regarded reverently from a distance, and not be profaned by familiar approach.”(translated by Herbert A. Giles)
The elder Chinese said “Lotus is full of treasures”, we learnt to appreciate the value of lotus when we were little. Maybe you could share with us how do you use the lotus:)
At the end of August, Ms. Yeah decides to make some beautiful dishes to say goodbye to summertime. A true delight!
Subscribe to Ms Yeah Official Channel on YouTube:
https://goo.gl/QGB4AT
Follow Ms Yeah on Facebook
https://www.facebook.com/OfficeChef.MsYeah/
Instagram: msyeah

E70 Lotus Flower Feast | Ms Yeah

Galdive – Maybe I (Lyrics) [CC]


Aviencloud – Taking you to a better place ✨\r
🌟 Galdive – Maybe I [Indigo Soul]\r
🌟 Open me to and support the music \u0026 artist also grab your download ʕ•͡ɛ•͡ʼʼʔ.\r
\r
⏬ Download\r
・N/A\r
🎧 Stream\r
・https://open.spotify.com/album/1EGWOZQJnslOveU68bqH8S\r
\r
🏄 Aviencloud releases in one playlist\r
・https://spoti.fi/2XQX0Jt\r
🌊 Take me with you and visit my Spotify\r
・https://open.spotify.com/user/aviencloud\r
\r
🌟 For more music click here\r
・http://bit.ly/CloudyLand\r
🌟 Don’t forget to check the 24/7 live stream\r
・https://www.aviencloud.com/radio\r
🌟 Radio playlist can be found here\r
・https://open.spotify.com/playlist/7LEawEtFBobpDTNl2oEMEw\r
\r
🍹 Aviencloud Sing with me! (Lyrics’s) (Playlist)\r
・http://goo.gl/XH6AvN\r
🍒 Aviencloud Ambient Chill \u0026 Relax (Playlist)\r
・https://goo.gl/r5IZMo\r
🍓 Aviencloud Classics (Playlist)\r
・https://goo.gl/hqcVqZ\r
🍍 Aviencloud Happy Vibe (Playlist)\r
・https://goo.gl/a1K63Z\r
🥝 Aviencloud Future Bass (Playlist)\r
・https://goo.gl/6IP1xk\r
🍑 Aviencloud Hip Hop Hood (Playlist)\r
・https://goo.gl/iuZGrD\r
\r
🎼 Support Galdive
・https://open.spotify.com/artist/0aMrhUHnOzfiPcMc2PGiaT
・https://soundcloud.com/galdive
・https://www.instagram.com/galdivemuse
・https://facebook.com/galdive
・https://twitter.com/galdivemuse
・https://www.youtube.com/channel/UCY_TSphKczh1G14uHfDD1MA\r
\r
💕 Support us\r
・https://aviencloud.com\r
・https://discord.me/Aviencloud\r
・https://open.spotify.com/user/aviencloud/playlist/1eHx5AddXZB5KqYOczgArk\r
・https://soundcloud.com/aviencloud\r
・https://instagram.com/aviencloud\r
・https://facebook.com/Aviencloud\r
・https://twitter.com/Aviencloud\r
・https://youtube.com/user/Aviencloud\r
\r
🎨 Support Skyfire (天之火)
・https://pixiv.net/member.php?id=295806
・https://twitter.com/nnnnoooo007
・https://facebook.com/nnnnoooo007
・https://instagram.com/nnnnoooo007
・https://nnnnoooo007.tumblr.com\r
\r
🎨 Artwork by Skyfire (天之火)\r
・https://pixiv.net/en/artworks/63801012\r
\r
📩😌 Submit your music \u0026 artwork\r
・http://aviencloud.com/submission\r
\r
📩 Aviencloud Mailing List\r
・https://forms.gle/MSmFR3aeJeUUzpCs6

Galdive – Maybe I (Lyrics) [CC]

นอกจากการดูบทความนี้แล้ว คุณยังสามารถดูข้อมูลที่เป็นประโยชน์อื่นๆ อีกมากมายที่เราให้ไว้ที่นี่: ดูบทความเพิ่มเติมในหมวดหมู่Wiki

ขอบคุณที่รับชมกระทู้ครับ lotus

Cẩm Nhung

Xin chào các bạn, Mình tên là Cẩm Nhung, như bao cô gái khác mình cũng đam mê mỹ phẩm say mê làm đẹp và chỉnh chu cho nhan sắc của mình. Vì thế, mình muốn chia sẻ những bí quyết làm đẹp của mình cho các bạn để các bạn có thể cẩn thận hơn cũng như tìm hiểu được những cách chăm sóc da đẹp nhất.

Related Articles

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Back to top button