# Conflicts: # Cargo.lock # Cargo.toml
How to compile RustFS
| Must package | Version |
|---|---|
| Rust | 1.8.5 |
| protoc | 27.0 |
| flatc | 24.0+ |
Download Links:
https://github.com/google/flatbuffers/releases/download/v24.3.25/Linux.flatc.binary.g++-13.zip
https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
Or use Docker:
-
uses: arduino/setup-protoc@v3 with: version: "27.0"
-
uses: Nugine/setup-flatc@v1 with: version: "24.3.25"
How to add Console web
-
mkdir in this repos folder
./rustfs/static -
Compile RustFS
Star RustFS
Add Env infomation:
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
export RUSTFS_VOLUMES="./target/volume/test"
export RUSTFS_ADDRESS="0.0.0.0:9000"
export RUSTFS_CONSOLE_ENABLE=true
export RUSTFS_CONSOLE_ADDRESS="0.0.0.0:9001"
export RUSTFS_OBS_CONFIG="config/obs.toml"
You need replace your real data folder:
./rustfs /data/rustfs
How to deploy the observability stack
The OpenTelemetry Collector offers a vendor-agnostic implementation on how to receive, process, and export telemetry data. It removes the need to run, operate, and maintain multiple agents/collectors in order to support open-source observability data formats (e.g. Jaeger, Prometheus, etc.) sending to one or more open-source or commercial back-ends.
- Enter the
.docker/observabilitydirectory, - Run the following command:
docker-compose -f docker-compose.yml up -d
-
Access the Grafana dashboard by navigating to
http://localhost:3000in your browser. The default username and password areadminandadmin, respectively. -
Access the Jaeger dashboard by navigating to
http://localhost:16686in your browser. -
Access the Prometheus dashboard by navigating to
http://localhost:9090in your browser.