main
hau 2020-08-13 22:17:43 +07:00
parent f74d96e3a9
commit 45019d67cd
2 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,10 @@
# [librdkafka](https://github.com/edenhill/librdkafka)
Add to `~/.bashrc`, `~/.zshrc`:
| Distribution | Package |
| ------------ | ------------ |
| Arch Linux | `librdkafka` |
If compile, add to `~/.bashrc`, `~/.zshrc`:
```sh
export LD_LIBRARY_PATH=/usr/local/lib

View File

@ -4,15 +4,15 @@
| ------------ | -------------- |
| Arch Linux | `systemd-swap` |
Enable and start service:
```sh
systemctl enable --now systemd-swap
```
Edit `/etc/systemd/swap.conf`:
```txt
swapfc_enabled=1
swapfc_force_preallocated=1
```
Enable and start service:
```sh
systemctl enable --now systemd-swap.service
```