# 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: 56.25%; height: 0; overflow: hidden;">
  <iframe 
    style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" 
    src="https://www.youtube.com/embed/2o24hWempu8" 
    title="YouTube video player" 
    frameborder="0" 
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 
    referrerpolicy="strict-origin-when-cross-origin" 
    allowfullscreen>
  </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).
