{"id":2923,"date":"2024-03-02T04:47:07","date_gmt":"2024-03-02T01:47:07","guid":{"rendered":"https:\/\/dataera.com.tr\/blog\/2024\/03\/02\/lider-ahenk-kurulumu-ve-yonetimi\/"},"modified":"2025-05-06T03:38:22","modified_gmt":"2025-05-06T00:38:22","slug":"lider-ahenk-installation-and-management","status":"publish","type":"post","link":"https:\/\/dataera.com.tr\/en\/lider-ahenk-installation-and-management\/","title":{"rendered":"Lider Ahenk Installation and Management"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2923\" class=\"elementor elementor-2923 elementor-474\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-79f2007 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"79f2007\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-wider\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7ad65ef animated-slow elementor-invisible\" data-id=\"7ad65ef\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;,&quot;animation&quot;:&quot;fadeInRight&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-36a8a66 elementor-widget elementor-widget-menu-anchor\" data-id=\"36a8a66\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"images_included\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-e9d0c34 elementor-section-full_width elementor-reverse-tablet elementor-reverse-mobile elementor-section-height-default elementor-section-height-default\" data-id=\"e9d0c34\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-wider\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-3daa5fc\" data-id=\"3daa5fc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-acd41af elementor-widget elementor-widget-text-editor\" data-id=\"acd41af\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div>Components of Lider Ahenk.Database Server (MariaDB)<br \/>LDAP (slapd)<br \/>XMPP (Ejabberd)<br \/>File Server<br \/>APACHE KARAF (Lider)The packages required for the installation of Lider Ahenk are available in the \u201crepo.liderahenk.org\u201d repository. To define the repository on your system, in the terminal (console);<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo wget http:\/\/repo.liderahenk.org\/liderahenk-archive-keyring.asc \nsudo apt-key add liderahenk-archive-keyring.asc \nrm liderahenk-archive-keyring.asc<\/pre><div>With these commands, the \u201cliderahenk-archive-keyring.asc\u201d key file should be downloaded and installed on the system. Then;<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo add-apt-repository 'deb [arch=amd64] http:\/\/repo.liderahenk.org stable main'<\/pre><div>This command adds the repository address to the \u201c\/etc\/apt\/sources.list\u201d file. You can also add the following line manually using a terminal text editor (vi, nano, pico);<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">deb [arch=amd64] http:\/\/repo.liderahenk.org stable main<\/pre><div>You can manually define this line in the \u201c\/etc\/apt\/sources.list\u201d file. Then;<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo apt update<\/pre><div>This command fetches the updated package list and the installations should begin.<\/div><div><p>Database Server InstallationMariaDB is used as the database. Databases are storage areas for related information. Lider Server is the database. It is installed once.<\/p><\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo apt install mariadb-server -y<\/pre><div><p>During the installation process, the root password for mariadb-server appears on the screen.In this example, the root password is set as SIFRE.<\/p><p>The same password is entered again and the installation proceeds by pressing enter. Once the installation is successfully completed, it means that the mariadb-server installation is finished.<\/p><\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">mysql -uroot -pSIFRE -e \"CREATE DATABASE liderdb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci\"<\/pre><div>Note: If the MariaDB server is on a different machine than the Lider server, edit the configuration file `\/etc\/mysql\/my.cnf` and comment out the `bind-address` line to allow external access:<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">bind-address = 127.0.0.1<\/pre><div>Or you can replace it with the IP address of the Lider server. To allow the Lider server to access the database, you must grant privileges:<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">mysql -uroot -pSIFRE<\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">use liderdb;<\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">select password('SIFRE');<\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">grant all privileges on * to root@'%' identified by 'hexadecimal_characters';<\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">exit<\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo systemctl restart mysql.service<\/pre><div>To verify that the database is working correctly:<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">mysql -uroot -pSIFRE<\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">show databases;<\/pre><div>If you see `liderdb` in the list, the database has been created successfully.<\/div><div><p>LDAP ServerIn this example, OpenLDAP will be used as the LDAP component. Lider Ahenk requires LDAP for user and machine management. User and machine information is stored in LDAP, and policy management is done by connecting to this LDAP from the Lider-Console (LiderAhenk interface application). It is installed once.<\/p><\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo apt install slapd ldap-utils<\/pre><div>After running the command, the package manager will list any prerequisites and wait for confirmation.<br \/>Press Enter to continue.<br \/>If unverified packages appear, type `E` and press Enter to confirm installation.During installation, you will be prompted to set an admin password. In this example, the password is set as `SIFRE`.Re-enter `SIFRE` when asked and press Enter to continue.<br \/>Once the slapd service is started, the basic OpenLDAP setup is complete.<\/div><div>Now let\u2019s configure OpenLDAP to create the LDAP directory and admin user:<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo dpkg-reconfigure slapd<\/pre><div><p>Select **No** to omit old configurations.Enter your domain name (e.g., `liderahenk.org`). It will generate a base DN like `dc=liderahenk,dc=org`.<\/p><p>Enter your organization name (e.g., `LiderAhenk`).<\/p><p>Re-enter the admin password `SIFRE`.<\/p><p>Select **HDB** as the database type.<\/p><p>Choose **Yes** to remove the database when slapd is purged.<\/p><p>Answer **No** when asked about moving the old database.<\/p><\/div><div>LDAP directory details for this example:<br \/>\u2022 LDAP domain: `liderahenk.org`<br \/>\u2022 LDAP base DN: `dc=liderahenk,dc=org`<br \/>\u2022 Admin DN: `cn=admin,dc=liderahenk,dc=org`<br \/>\u2022 Admin password: `SIFRE`<\/div><div>We\u2019ll test the connection using Apache Directory Studio.<br \/>Download from: https:\/\/directory.apache.org\/studio\/download\/download-linux.html<br \/>Open the program and create a new connection from the \u201cConnections\u201d panel.<\/div><div>Enter the following:<br \/>\u2022 Connection name (optional)<br \/>\u2022 Hostname (e.g., localhost)<br \/>\u2022 Port (default LDAP port)<br \/>Click \u201cCheck network parameters\u201d to test the connection.<\/div><div><p>Enter the admin DN and password (e.g., `SIFRE`) to test authentication.Then set the Base DN (`dc=liderahenk,dc=org`) to finalize the connection.<\/p><\/div><div>Set up a configuration password for LDAP using:<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo su  \nslappasswd<\/pre><div><p>Enter and confirm your new password. Copy the generated SSHA line.Paste it into:<\/p><\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo pico \/etc\/ldap\/slapd.d\/cn=config\/olcDatabase={0}config.ldif<\/pre><div><p>Below the `olcRootDN:` line, add:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">olcRootPW: {SSHA}your_generated_hash<\/pre><p>Then restart the LDAP server:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">systemctl stop slapd.service  \nsystemctl start slapd.service<\/pre><\/div><div>Now let\u2019s load the LiderAhenk LDAP schema:<\/div><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo wget https:\/\/raw.githubusercontent.com\/Pardus-LiderAhenk\/lider-ahenk-installer\/master\/lider-installer\/conf\/liderahenk.ldif  \nsudo cp liderahenk.ldif \/tmp<\/pre><div><p>Load the schema into LDAP:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">ldapadd -x -f \/tmp\/liderahenk.ldif -D \"cn=admin,cn=config\" -w SIFRE<\/pre><p>You can also import this file using an LDAP GUI.<\/p><p>Restart the LDAP server:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo systemctl restart slapd.service<\/pre><p>**Note:** If LDAP is not restarted, the Lider object classes may not appear.<\/p><\/div><div>Using Apache Directory Studio, create the following entries in LDAP:<br \/>\u2022 liderAhenkConfig node<br \/>\u2022 lider_console user<br \/>\u2022 Ahenkler and Users groupsRight-click on the base DN (e.g., dc=liderahenk,dc=org) and choose \u201cNew \u2192 New Entry\u201d.Click **Next** to continue.For the `liderAhenkConfig` node, select the object class `pardusLiderAhenkConfig` and click **Add**. It will appear in the \u201cSelected object classes\u201d section. Click **Next** to proceed.Set **RDN** to `cn` and enter `liderAhenkConfig`.<br \/>Then set the `liderServiceAddress` attribute to the Lider server IP in the format:<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">http:\/\/x.x.x.x:8181<\/pre><p>**Note:** This IP must be accessible by Ahenk clients and should **not** be `localhost` or `127.0.0.1`.<\/p><\/div><div>To create the `lider_console` user:<br \/>Right-click the base DN \u2192 New Entry \u2192 choose object classes:<br \/>\u2022 `pardusAccount`<br \/>\u2022 `pardusLider`<br \/>\u2022 `inetOrgPerson`<br \/>Then click **Add** to move them into \u201cSelected object classes\u201d.Set **RDN** as `cn` and enter `lider_console`.Set a password for this user and click **OK**.<\/div><div>To assign privileges:<br \/>With `lider_console` selected in LDAP, right-click \u2192 New Attribute \u2192 choose `liderPrivilege`.Set value:<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">[TASK:dc=liderahenk,dc=org:ALL:true]<\/pre><p>Add another attribute the same way with value:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">[REPORT:ALL]<\/pre><p>These values grant full access (ALL) to the entire LDAP tree (dc=liderahenk,dc=org). `true` indicates the permission is active.<\/p><\/div><div>To create the `Ahenkler` group:<br \/>Right-click the base DN \u2192 New Entry \u2192 select object class `organizationalUnit` \u2192 click **Next**.Set RDN as `ou` and enter `Ahenkler`.After creation, right-click `Ahenkler` \u2192 New Attribute \u2192 set attribute type as `description` \u2192 enter value:<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">pardusDeviceGroup<\/pre><p>Repeat this step for any other Ahenk-related groups.<\/p><\/div><div>To create the `Users` group:<br \/>Follow the same steps as above, but **you do not need** to add a `description` attribute for user groups.<\/div><div>At this point, your LDAP directory tree should be correctly structured and ready to use.<\/div><div>## XMPP Server ##XMPP (Ejabberd) stands for \u201cExtensible Messaging and Presence Protocol\u201d.<br \/>Download the package via terminal:<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">wget https:\/\/www.process-one.net\/downloads\/ejabberd\/16.06\/ejabberd_16.06-0_amd64.deb<\/pre><p>This is the component through which all Ahenk clients connect. Lider Server and Ahenks communicate via this server. It is installed once.<\/p><p>Then run:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo dpkg -i ejabberd_16.06-0_amd64.deb<\/pre><p>to install the downloaded package.<\/p><\/div><div><p>Download the configuration file:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">wget https:\/\/raw.githubusercontent.com\/Pardus-LiderAhenk\/lider-ahenk-installer\/master\/lider-installer\/conf\/ejabberd.yml<\/pre><p>Copy it to the configuration directory:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo cp ejabberd.yml \/opt\/ejabberd-16.06\/conf\/ejabberd.yml<\/pre><p>> \u26a0\ufe0f Note: This configuration is for version `ejabberd 16.06`. Ensure that your installed version and the YAML file match, as structure may vary between versions.<\/p><p>Open the YAML file with:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo pico \/opt\/ejabberd-16.06\/conf\/ejabberd.yml<\/pre><\/div><div><p>Make the following changes:**1. Hosts:**<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">hosts:  \n# - \"localhost\"  \n- \"im.liderahenk.org\"<\/pre><p>**2. LDAP Settings:**<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">ldap_servers:  \n- \"localhost\"\n\nldap_rootdn: \"cn=admin,dc=liderahenk,dc=org\"  \nldap_password: \"SIFRE\"  \nldap_base: \"dc=liderahenk,dc=org\"\n<\/pre><p>**3. Host Config:**<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">host_config:  \n\"im.liderahenk.org\":  \n  auth_method:  \n    - internal  \n    - ldap  \n    - anonymous\n<\/pre><p>> \u26a0\ufe0f Warning: `ejabberd.yml` is very sensitive. Indentation errors or extra spaces can cause failure. Modify existing lines instead of inserting new ones when possible.<\/p><\/div><div><p>Restart the server:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">cd \/opt\/ejabberd-16.06\/bin  \nsudo .\/ejabberdctl start<\/pre><p>Check its status:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo .\/ejabberdctl status<\/pre><p>Expected output:<br \/>\u201cThe node ejabberd@dataera.com.tr is started with status: started ejabberd 16.06 is running in that node\u201d<\/p><\/div><div><p>Now, create required users.Navigate to bin directory:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">cd \/opt\/ejabberd-16.06\/bin<\/pre><p>Create an admin user:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">.\/ejabberdctl register admin im.liderahenk.org SIFRE<\/pre><p>Output:<br \/>\u201cUser admin@im.liderahenk.org successfully registered\u201d<\/p><p>Create a user for Karaf:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">.\/ejabberdctl register lider_sunucu im.liderahenk.org SIFRE  \n.\/ejabberdctl restart<\/pre><p>\u26a0\ufe0f Save these credentials; they\u2019ll be used in Karaf config later.<\/p><\/div><div><p>To test Ejabberd in live mode:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">.\/ejabberdctl stop  \n.\/ejabberdctl live<\/pre><p>If Ejabberd stays running without errors, the setup is successful.<\/p><p>Press `CTRL+C` to exit and restart it normally:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">.\/ejabberdctl start<\/pre><\/div><div>## File Server ##This server is used to store plugin files and transfer large files (e.g., over SSH) that cannot be sent via messaging.<br \/>It can be any machine accessible via SSH \u2014 ideally, the Lider Server itself.Install required packages:<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo apt install sshpass rsync -y<\/pre><\/div><div>## Lider Server ##The Lider Server is the core component of the LiderAhenk system.<br \/>All Ahenk agents are managed from here via XMPP.<br \/>It also communicates with the Lider-Console (GUI) via REST APIs. Installed only once.First, define the `JAVA_HOME` environment variable:Check existing Java:<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">update-alternatives --config java<\/pre><p>If Java is not installed:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo apt install openjdk-8-jre<\/pre><p>Then add the following lines to the bottom of your `~\/.bashrc` file:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">export JAVA_HOME=\"\/usr\/lib\/jvm\/{your_sdk_home}\"\nPATH=\"$PATH:\/usr\/lib\/jvm\/{your_sdk_home}\/bin\"\n<\/pre><p>Apply the new environment variables:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">source ~\/.bashrc<\/pre><p>Test:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">echo $JAVA_HOME<\/pre><\/div><div><p>Download and extract the Lider distribution:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo wget https:\/\/github.com\/Pardus-LiderAhenk\/lider\/releases\/download\/v1.1\/lider-distro-all_1.1.tar.gz  \nsudo cp lider-distro-all_1.1.tar.gz \/opt && cd \/opt  \nsudo tar -xvf lider-distro-all_1.1.tar.gz<\/pre><p>Navigate to the `bin` directory and start Karaf:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">cd \/opt\/lider-distro-1.1\/bin  \nsudo .\/karaf<\/pre><p>Once inside the Karaf console, wait for modules to load. Type:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">list<\/pre><p>to check module status. If any module is in \u201cfailure\u201d state, verify your setup.<\/p><\/div><div><p>To set Karaf as a system service, run the following in the Karaf console:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">feature:install wrapper  \nwrapper:install -s AUTO_START -n KARAF -d Karaf -D \"Karaf Service\"<\/pre><p>Exit Karaf:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">logout<\/pre><p>Register the service with the system:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo ln -s \/opt\/lider-distro-1.1\/bin\/KARAF-service \/etc\/init.d\/  \nsudo update-rc.d KARAF-service defaults\n<\/pre><\/div><div><p>Edit the main Lider config file:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo pico \/opt\/lider-distro-1.1\/etc\/tr.org.liderahenk.cfg<\/pre><p>Set LDAP settings:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">ldap.server = localhost  \nldap.port = 389  \nldap.username = cn=admin,dc=liderahenk,dc=org  \nldap.password = SIFRE  \nldap.root.dn = dc=liderahenk,dc=org\n<\/pre><p>Set XMPP settings:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">xmpp.host = localhost  \nxmpp.port = 5222  \nxmpp.username = lider_sunucu  \nxmpp.password = SIFRE  \nxmpp.resource = Smack  \nxmpp.service.name = im.liderahenk.org\n<\/pre><p>Set LDAP Ahenk base DN:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">agent.ldap.base.dn = ou=Ahenkler,dc=liderahenk,dc=org<\/pre><p>Set file server paths:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">file.server.protocol = ssh  \nfile.server.host = localhost  \nfile.server.port = 22  \nfile.server.username = lider  \nfile.server.password = PP123456  \nfile.server.plugin.path = \/home\/username\/plugins\/ahenk-{0}_{1}_amd64.deb  \nfile.server.agreement.path = \/home\/username\/sample-agreement.txt  \nfile.server.agent.file.path = \/home\/username\/agent-files\/{0}\/\n<\/pre><p>Create necessary directories:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">mkdir \/home\/username\/plugins  \ntouch \/home\/username\/sample-agreement.txt  \nmkdir -p \/home\/username\/agent-files\/{0}\n<\/pre><\/div><div><p>Edit the database configuration file:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">sudo pico \/opt\/lider-distro-1.1\/etc\/tr.org.liderahenk.datasource.cfg<\/pre><p>Set DB info:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">db.server = localhost:3306  \ndb.database = liderdb  \ndb.username = root  \ndb.password = SIFRE\n<\/pre><\/div><div><p>Start the Lider server by running:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">systemctl start KARAF-service.service<\/pre><p>This completes the Lider server installation.<\/p><\/div><div><p>To verify that the Karaf service is running, you can use:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">systemctl status KARAF-service.service<\/pre><p>Or alternatively:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">ps -ef | grep karaf<\/pre><p>If the service is not active, start it manually:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">\/etc\/init.d\/KARAF-service start<\/pre><\/div><div><p>To connect to the Karaf console as a service:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">ssh -p 8101 karaf@dataera.com.tr<\/pre><p>When prompted, enter the password:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">karaf<\/pre><p>Inside the console, you can monitor logs with:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">log:tail<\/pre><p>To check which services\/modules are running:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">list<\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Database and instance are concepts that make up the Oracle database server. (There can be multiple instances on the same server, each allocated its own dedicated memory.) &hellip; <a href=\"https:\/\/dataera.com.tr\/en\/lider-ahenk-installation-and-management\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":2330,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"class_list":["post-2923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genel-en"],"_links":{"self":[{"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/posts\/2923"}],"collection":[{"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/comments?post=2923"}],"version-history":[{"count":14,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/posts\/2923\/revisions"}],"predecessor-version":[{"id":2944,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/posts\/2923\/revisions\/2944"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/media\/2330"}],"wp:attachment":[{"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/media?parent=2923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/categories?post=2923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dataera.com.tr\/en\/wp-json\/wp\/v2\/tags?post=2923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}