diff --git a/docs/control_panel_integration/README.md b/docs/control_panel_integration/README.md
index 39aef8d35..0eda71b28 100644
--- a/docs/control_panel_integration/README.md
+++ b/docs/control_panel_integration/README.md
@@ -1562,7 +1562,7 @@ FIND_PATH (APACHE2_2_HTTPD_INCLUDE_DIR
### mod_lsapi
-1. Install the packages needed to build mod_lsapi from the source
+1. Install the packages needed to build mod_lsapi from the source. Some packages may be missing on some platforms, this is not critical
@@ -1574,7 +1574,7 @@ yum install -y python-lxml pytest python-mock
```
-On CloudLinux OS Shared 7 you also should install criu related packages
+On CloudLinux OS Shared 7 and above you also should install criu related packages
@@ -1583,6 +1583,15 @@ yum install -y criu-lve python-criu-lve criu-lve-devel crit-lve
```
+On CloudLinux OS Shared 8 and above you also should install next packages
+
+
+
+```
+yum install -y alt-python37-mock alt-python37-pytest httpd-devel
+```
+
+
2. Download mod_lsapi sources
@@ -1601,6 +1610,11 @@ rpmbuild --rebuild mod_lsapi-ver.el7.cloudlinux.src.rpm
```
+:::tip Note
+This command will fail, but it will create a ~/rpmbuild/SPECS/mod_lsapi.spec file.
+This ~/rpmbuild/SPECS/mod_lsapi.spec file will need to be modified.
+:::
+
4. Remove building dependency from `httpd-devel` in the `mod_lsapi.spec` spec file located in the `~/rpmbuild/SPECS/` directory.
5. Change the paths to copy `mod_lsapi.so` and `mod_lsapi.conf` in the %install section of the `mod_lsapi.spec` file. For example, if Apache root is `/usr/local/apache`, then modules directory and config files directory will be `/usr/local/apache/modules` and `/usr/local/apache/conf.d` respectively. So for the config file you should substitute the following line in the `%install` section:
@@ -1649,8 +1663,16 @@ Also you should add mentions of both module and config files in the
-6. Rebuild the package again, this time you should get to the compilation stage. During compilation, you may encounter some errors:
+6. Rebuild the package again, this time you should get to the compilation stage.
+Use this command to rebuild a package
+
+```
+rpmbuild -bb ~/rpmbuild/SPECS/mod_lsapi.spec
+```
+
+
+During compilation, you may encounter some errors:
```
@@ -1721,6 +1743,13 @@ The requirements to the `config.ini` file and script file are described in the f
8. Rebuild the package again, if you set everything correctly, there shouldn't be any problems.
+Use this command to rebuild a package
+
+```
+rpmbuild -bb ~/rpmbuild/SPECS/mod_lsapi.spec
+```
+
+
9. Install the module, check that it is successfully loaded into Apache.
#### How to integrate switch_mod_lsapi script with custom panels