add more
parent
f74d96e3a9
commit
45019d67cd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue