Published On: January 15th, 2023Categories: AI News



Summary

This post is a part of Lemmy 0.16.7 on OpenBSD 7.2 about Lemmy.



Premise

The server is OpenBSD and Rust (rustlang) is installed. Also, there is _lemmy user whose home directory is /var/lemmy.



Environment

  • OS: OpenBSD 7.2
  • Object Storage: MinIOAWS S3-compatible (Optional)
  • Apps
    • pict-rs: 0.3.2
    • based on Rust 1.63 + Actix 0.13 + Actix Web 4



Tutorial



pict-rs server

Lemmy uses pict-rs to store image. It is a simple image hosting service which is open source and written in Rust, too.



Prepare for the dependencies

You have to install protobuf, “Protocol Buffers – Google’s data interchange format”

Therefore switch back to your own user if you are acting as _lemmy to install it:

$ exit

$ doas pkg_add protobuf
Enter fullscreen mode

Exit fullscreen mode

The output was:

quirks-6.42 signed on 2023-01-13T18:22:41Z
protobuf-3.21.6: ok
Enter fullscreen…

Source link

[gs-fb-comments]

Leave A Comment