At the startup banner, press `^C` (Ctrl+C) to exit `hived`. As a side effect, a default data-dir is created. Now we can purge the empty blockchain and create `config.ini` as follows:
```bash
rm-Rf blockchain
nano config.ini
```
Then make the following changes to the generated `config.ini`:
* Enable plugins: `p2p`
* Pick a port for p2p to `2001`.
To summarize, the *changed* values are:
```ini
plugin=p2p
p2p-endpoint=0.0.0.0:2001
```
Save `config.ini`.
#### Latest Block Log
Download the block log (optional but recommended).
After *replay* or *resync* is complete, the console will display `Got ## transactions from ...`. It's possible to close `hived` with `^C` (Ctrl+C). Then, to start the node again:
`IO error: While open a file for appending: /root/hive_data/./blockchain/rocksdb_witness_object/012590.sst: Too many open files`
**Solution:** You're using MIRA, but this tutorial recommends *not* to (`-DENABLE_MIRA=OFF`). If you really *intend* to try MIRA, you will need to set higher limits. Note, if you are also running `hived` as `root` (not recommended), you must explicitly set hard/soft nofile/nproc lines for `root` instead of `*` in `/etc/security/limits.conf`.
To set the open file limit ...
```bash
sudo nano /etc/security/limits.conf
```
Add the following lines:
```conf
* hardnofile94000
* softnofile94000
* hardnproc64000
* softnproc64000
```
To set the `fs.file-max` limit ...
```bash
sudo nano /etc/sysctl.conf
```
Add the following line:
```ini
fs.file-max=2097152
```
Load the new settings:
```bash
sudo sysctl -p
```
Once you save these files, you may need to logout and login again.