# Better Stack Ubuntu logging


## Start logging in 2 minutes

Collect logs and metrics from your Ubuntu server using Vector.

Install and configure [Vector](https://vector.dev/) on Ubuntu:

```bash
[label Set up Vector]
curl -sSL https://telemetry.betterstack.com/setup-vector/ubuntu/$SOURCE_TOKEN \
  -o /tmp/setup-vector.sh && \
  bash /tmp/setup-vector.sh
```

[info]
**Curious about what the script does?**

- Installs Vector using official package.
- Configures Vector for your Better Stack source.
- Enables and restarts Vector.

The script will ask for confirmation before making any changes.
[/info]
 
You should see your logs in [Better Stack → Live tail](https://telemetry.betterstack.com/team/0/tail ";_blank").


## Step-by-step video guide

<div style="position: relative; padding-bottom: 65.13872135102532%; height: 0;"><iframe src="https://www.loom.com/embed/36d4ae28ff594825b53b56f46e7b4a01?sid=ad75c1b2-2fe8-43e4-a31f-ccbbe1eb0ba5" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>

## Need help?

Please let us know at hello@betterstack.com.  
We're happy to help! 🙏

## Additional information

#### Looking for manual instructions to set up Vector?

Find step-by-step instructions in our [dedicated Vector guide](https://betterstack.com/docs/logs/vector/#set-up-vector-manually).
