Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
iplahte committed Jul 1, 2024
1 parent e65169a commit 2e450b3
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions sipXwiki/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ Prepare Server
service sshd restart
- On first boot you may need to edit */etc/sysconfig/network-scripts/YourNICCard*. Change `ONBOOT="no"` to `ONBOOT="yes"`

- Since CentOS 7 is now end of life, we must use its vault for yum

Expand Down Expand Up @@ -128,14 +126,32 @@ Enable elasticsearch
Configure System
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- On first boot you may need to update your network interface card config

.. code-block:: bash
vi */etc/sysconfig/network-scripts/YourNICCard* => (update)
ONBOOT="yes"
Increase Max Number of open files and max user processes for MongoDB (important for larger systems)

- edit */etc/sysctl.conf* to add fs.file-max = 65536 line. ONLY do this if the default returned from `cat /proc/sys/fs/file-max` is less than 65536.
- Update max file size. ONLY do this if the default is less than 65536.

- edit */etc/security/limits.conf* to add the following block of text:
.. code-block:: bash
cat /proc/sys/fs/file-max (to check default)
vi /etc/sysctl.conf =>
fs.file-max=65536
- edit system limits:

.. code-block:: bash
vi /etc/security/limits.conf => (add)
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
Expand Down

0 comments on commit 2e450b3

Please sign in to comment.