{"id":5761,"date":"2012-09-03T22:56:50","date_gmt":"2012-09-04T03:56:50","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=5761"},"modified":"2013-05-22T10:09:41","modified_gmt":"2013-05-22T15:09:41","slug":"setting-up-389-directory-server-on-centos-6-2","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=5761","title":{"rendered":"Setting up 389 Directory Server on CentOS 6.2"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#DS_Overview\">389 DS Overview<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Environment\">Environment<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#RHEL\">RHEL<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Java\">Java<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Install\">Install<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Install_EPEL_Repository\">Install EPEL Repository<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Install_389-ds\">Install 389-ds<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Setup\">Setup<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Increase_File_Descriptors\">Increase File Descriptors<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Add_Group_and_User\">Add Group and User<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Run_Configuration_Script\">Run Configuration Script<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Start_and_Stop_Servers\">Start and Stop Servers<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Start_LDAP_Server\">Start LDAP Server<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Start_Admin_Server\">Start Admin Server<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Firewall_Configuration\">Firewall Configuration<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Config_via_X_Win\">Config via X Win<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Config_iptables\">Config iptables<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Auto_Start_dirsrv\">Auto Start dirsrv<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Browse_LDAP\">Browse LDAP<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Softerra_LDAP_Browser\">Softerra LDAP Browser<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#References\">References<\/a>\n\t<\/li>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"DS_Overview\"><h2>389 DS Overview<\/h2><\/span>\n<p>* Fka <em>Fedora Directory Server<\/em><br \/>\n* Identical to <em>Redhat-ds<\/em><br \/>\n* See <a href=\"http:\/\/en.wikipedia.org\/wiki\/389_Directory_Server\">Wikipedia <\/a>for more information<\/p>\n<span id=\"Environment\"><h2>Environment<\/h2><\/span>\n<span id=\"RHEL\"><h3>RHEL<\/h3><\/span>\n<pre lang=\"bash\">\r\n[root@localhost Desktop]# cat \/etc\/redhat-release \r\nCentOS release 6.2 (Final)\r\n<\/pre>\n<span id=\"Java\"><h3>Java<\/h3><\/span>\n<pre lang=\"bash\">\r\n[jli@localhost Desktop]$ java -version\r\njava version \"1.6.0_35\"\r\nJava(TM) SE Runtime Environment (build 1.6.0_35-b10)\r\nJava HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)\r\n<\/pre>\n<span id=\"Install\"><h2>Install<\/h2><\/span>\n<span id=\"Install_EPEL_Repository\"><h3>Install EPEL Repository<\/h3><\/span>\n<p>* See <a href=\"?p=5808\">this post<\/a><\/p>\n<span id=\"Install_389-ds\"><h3>Install 389-ds<\/h3><\/span>\n<p>* yum command<\/p>\n<pre lang=\"bash\">\r\nyum install 389-ds openldap-clients -y\r\n<\/pre>\n<p>* output<\/p>\n<pre lang=\"bash\">\r\n[root@localhost ~]# yum install 389-ds openldap-clients -y\r\nLoaded plugins: fastestmirror, refresh-packagekit, security\r\nLoading mirror speeds from cached hostfile\r\n * base: centos.mirror.netriplex.com\r\n * epel: mirror.us.leaseweb.net\r\n * extras: centos.mbni.med.umich.edu\r\n * updates: mirrors.lga7.us.voxel.net\r\nSetting up Install Process\r\nPackage openldap-clients-2.4.23-26.el6_3.2.x86_64 already installed and latest version\r\nResolving Dependencies\r\n--> Running transaction check\r\n\r\n...\r\n\r\nDependency Updated:\r\n  audit.x86_64 0:2.2-2.el6                                                      \r\n  audit-libs.x86_64 0:2.2-2.el6                                                 \r\n  perl.x86_64 4:5.10.1-127.el6                                                  \r\n  perl-Module-Pluggable.x86_64 1:3.90-127.el6                                   \r\n  perl-Pod-Escapes.x86_64 1:1.04-127.el6                                        \r\n  perl-Pod-Simple.x86_64 1:3.13-127.el6                                         \r\n  perl-libs.x86_64 4:5.10.1-127.el6                                             \r\n  perl-version.x86_64 3:0.77-127.el6                                            \r\n  policycoreutils.x86_64 0:2.0.83-19.24.el6                                     \r\n\r\nComplete!\r\n<\/pre>\n<span id=\"Setup\"><h2>Setup<\/h2><\/span>\n<span id=\"Increase_File_Descriptors\"><h3>Increase File Descriptors<\/h3><\/span>\n<p>* Add to <em>\/etc\/security\/limits.conf<\/em><\/p>\n<pre lang=\"bash\">\r\n*               -       nofile          8192\r\n<\/pre>\n<span id=\"Add_Group_and_User\"><h3>Add Group and User<\/h3><\/span>\n<pre lang=\"bash\">\r\n#groupadd dsgrp\r\n#useradd -c \"Directory server user\" -g dsgrp -p welcome1 dsuser\r\n<\/pre>\n<span id=\"Run_Configuration_Script\"><h3>Run Configuration Script<\/h3><\/span>\n<pre lang=\"bash\">\r\nsetup-ds-admin.pl General.FullMachineName=openidmbox.localdomain\r\n<\/pre>\n<pre lang=\"bash\">\r\n[root@openidmbox network-scripts]# setup-ds-admin.pl General.FullMachineName=openidmbox.localdomain\r\n\r\n==============================================================================\r\nThis program will set up the 389 Directory and Administration Servers.\r\n\r\nIt is recommended that you have \"root\" privilege to set up the software.\r\nTips for using this program:\r\n  - Press \"Enter\" to choose the default and go to the next screen\r\n  - Type \"Control-B\" then \"Enter\" to go back to the previous screen\r\n  - Type \"Control-C\" to cancel the setup program\r\n\r\nWould you like to continue with set up? [yes]: \r\n\r\n==============================================================================\r\nYour system has been scanned for potential problems, missing patches,\r\netc.  The following output is a report of the items found that need to\r\nbe addressed before running this software in a production\r\nenvironment.\r\n\r\n389 Directory Server system tuning analysis version 10-AUGUST-2007.\r\n\r\nNOTICE : System is x86_64-unknown-linux2.6.32-220.el6.x86_64 (2 processors).\r\n\r\nNOTICE : The net.ipv4.tcp_keepalive_time is set to 7200000 milliseconds\r\n(120 minutes).  This may cause temporary server congestion from lost\r\nclient connections.\r\n\r\nWould you like to continue? [yes]: \r\n\r\n==============================================================================\r\nChoose a setup type:\r\n\r\n   1. Express\r\n       Allows you to quickly set up the servers using the most\r\n       common options and pre-defined defaults. Useful for quick\r\n       evaluation of the products.\r\n\r\n   2. Typical\r\n       Allows you to specify common defaults and options.\r\n\r\n   3. Custom\r\n       Allows you to specify more advanced options. This is \r\n       recommended for experienced server administrators only.\r\n\r\nTo accept the default shown in brackets, press the Enter key.\r\n\r\nChoose a setup type [2]: \r\n\r\n==============================================================================\r\nEnter the fully qualified domain name of the computer\r\non which you're setting up server software. Using the form\r\n<hostname>.<domainname>\r\nExample: eros.example.com.\r\n\r\nTo accept the default shown in brackets, press the Enter key.\r\n\r\nWarning: This step may take a few minutes if your DNS servers\r\ncan not be reached or if DNS is not configured correctly.  If\r\nyou would rather not wait, hit Ctrl-C and run this program again\r\nwith the following command line option to specify the hostname:\r\n\r\n    General.FullMachineName=your.hostname.domain.name\r\n\r\nComputer name [openidmbox.localdomain]: \r\n\r\nWARNING: There are problems with the hostname.\r\nHostname 'openidmbox.localdomain' is valid, but none of the IP addresses\r\nresolve back to openidmbox.localdomain\r\n- address 192.168.159.129 resolves to host openidmbox\r\n\r\nPlease check the spelling of the hostname and\/or your network configuration.\r\nIf you proceed with this hostname, you may encounter problems.\r\n\r\nDo you want to proceed with hostname 'openidmbox.localdomain'? [no]: yes\r\n\r\n==============================================================================\r\nThe servers must run as a specific user in a specific group.\r\nIt is strongly recommended that this user should have no privileges\r\non the computer (i.e. a non-root user).  The setup procedure\r\nwill give this user\/group some permissions in specific paths\/files\r\nto perform server-specific operations.\r\n\r\nIf you have not yet created a user and group for the servers,\r\ncreate this user and group using your native operating\r\nsystem utilities.\r\n\r\nSystem User [nobody]: dsuser\r\nSystem Group [nobody]: dsgroup\r\nThe group 'dsgroup' is invalid.\r\n\r\nSystem Group [nobody]: dsgrp\r\n\r\n==============================================================================\r\nServer information is stored in the configuration directory server.\r\nThis information is used by the console and administration server to\r\nconfigure and manage your servers.  If you have already set up a\r\nconfiguration directory server, you should register any servers you\r\nset up or create with the configuration server.  To do so, the\r\nfollowing information about the configuration server is required: the\r\nfully qualified host name of the form\r\n<hostname>.<domainname>(e.g. hostname.example.com), the port number\r\n(default 389), the suffix, the DN and password of a user having\r\npermission to write the configuration information, usually the\r\nconfiguration directory administrator, and if you are using security\r\n(TLS\/SSL).  If you are using TLS\/SSL, specify the TLS\/SSL (LDAPS) port\r\nnumber (default 636) instead of the regular LDAP port number, and\r\nprovide the CA certificate (in PEM\/ASCII format).\r\n\r\nIf you do not yet have a configuration directory server, enter 'No' to\r\nbe prompted to set up one.\r\n\r\nDo you want to register this software with an existing\r\nconfiguration directory server? [no]: \r\n\r\n==============================================================================\r\nPlease enter the administrator ID for the configuration directory\r\nserver.  This is the ID typically used to log in to the console.  You\r\nwill also be prompted for the password.\r\n\r\nConfiguration directory server\r\nadministrator ID [admin]: \r\nPassword: \r\nPassword (confirm): \r\n\r\n==============================================================================\r\nThe information stored in the configuration directory server can be\r\nseparated into different Administration Domains.  If you are managing\r\nmultiple software releases at the same time, or managing information\r\nabout multiple domains, you may use the Administration Domain to keep\r\nthem separate.\r\n\r\nIf you are not using administrative domains, press Enter to select the\r\ndefault.  Otherwise, enter some descriptive, unique name for the\r\nadministration domain, such as the name of the organization\r\nresponsible for managing the domain.\r\n\r\nAdministration Domain [localdomain]: \r\n\r\n==============================================================================\r\nThe standard directory server network port number is 389.  However, if\r\nyou are not logged as the superuser, or port 389 is in use, the\r\ndefault value will be a random unused port number greater than 1024.\r\nIf you want to use port 389, make sure that you are logged in as the\r\nsuperuser, that port 389 is not in use.\r\n\r\nDirectory server network port [389]: \r\n\r\n==============================================================================\r\nEach instance of a directory server requires a unique identifier.\r\nThis identifier is used to name the various\r\ninstance specific files and directories in the file system,\r\nas well as for other uses as a server instance identifier.\r\n\r\nDirectory server identifier [openidmbox]: \r\n\r\n==============================================================================\r\nThe suffix is the root of your directory tree.  The suffix must be a valid DN.\r\nIt is recommended that you use the dc=domaincomponent suffix convention.\r\nFor example, if your domain is example.com,\r\nyou should use dc=example,dc=com for your suffix.\r\nSetup will create this initial suffix for you,\r\nbut you may have more than one suffix.\r\nUse the directory server utilities to create additional suffixes.\r\n\r\nSuffix [dc=localdomain]: \r\n\r\n==============================================================================\r\nCertain directory server operations require an administrative user.\r\nThis user is referred to as the Directory Manager and typically has a\r\nbind Distinguished Name (DN) of cn=Directory Manager.\r\nYou will also be prompted for the password for this user.  The password must\r\nbe at least 8 characters long, and contain no spaces.\r\nPress Control-B or type the word \"back\", then Enter to back up and start over.\r\n\r\nDirectory Manager DN [cn=Directory Manager]: \r\nPassword: \r\nThe password must be at least 8 characters long.  Please choose another one.\r\n\r\nPassword: \r\nThe password must be at least 8 characters long.  Please choose another one.\r\n\r\nPassword: \r\nPassword (confirm): \r\n\r\n==============================================================================\r\nThe Administration Server is separate from any of your web or application\r\nservers since it listens to a different port and access to it is\r\nrestricted.\r\n\r\nPick a port number between 1024 and 65535 to run your Administration\r\nServer on. You should NOT use a port number which you plan to\r\nrun a web or application server on, rather, select a number which you\r\nwill remember and which will not be used for anything else.\r\n\r\nAdministration port [9830]: \r\n\r\n==============================================================================\r\nThe interactive phase is complete.  The script will now set up your\r\nservers.  Enter No or go Back if you want to change something.\r\n\r\nAre you ready to set up your servers? [yes]: \r\nCreating directory server . . .\r\nWarning: Hostname openidmbox.localdomain is valid, but none of the IP addresses\r\nresolve back to openidmbox.localdomain\r\n\taddress 192.168.159.129 resolves to host openidmbox\r\nYour new DS instance 'openidmbox' was successfully created.\r\nCreating the configuration directory server . . .\r\nBeginning Admin Server creation . . .\r\nCreating Admin Server files and directories . . .\r\nUpdating adm.conf . . .\r\nUpdating admpw . . .\r\nRegistering admin server with the configuration directory server . . .\r\nUpdating adm.conf with information from configuration directory server . . .\r\nUpdating the configuration for the httpd engine . . .\r\nStarting admin server . . .\r\noutput: Starting dirsrv-admin: \r\noutput:                                                    [  OK  ]\r\nThe admin server was successfully started.\r\nAdmin server was successfully created, configured, and started.\r\nExiting . . .\r\nLog file is '\/tmp\/setupMbJ3h0.log'\r\n<\/pre>\n<span id=\"Start_and_Stop_Servers\"><h2>Start and Stop Servers<\/h2><\/span>\n<span id=\"Start_LDAP_Server\"><h3>Start LDAP Server<\/h3><\/span>\n<p>* Syntax:<\/p>\n<pre lang=\"bash\">\r\n\/etc\/init.d\/dirsrv {start|stop|status|restart|condrestart} [instance-name]\r\n<\/pre>\n<p>* Examples:<\/p>\n<pre lang=\"bash\">\r\n\/etc\/init.d\/dirsrv start \r\n\r\n\/etc\/init.d\/dirsrv stop\r\n\r\n\/etc\/init.d\/dirsrv restart \r\n<\/pre>\n<p>* Outputs:<\/p>\n<pre lang=\"bash\">\r\n[dsuser@openidmbox ~]$ \/etc\/init.d\/dirsrv start \r\nStarting dirsrv: \r\n    openidmbox... already running                          [  OK  ]\r\ntouch: cannot touch `\/var\/lock\/subsys\/dirsrv': Permission denied\r\n[dsuser@openidmbox ~]$ \/etc\/init.d\/dirsrv stop\r\nShutting down dirsrv: \r\n    openidmbox...                                          [  OK  ]\r\n<\/pre>\n<span id=\"Start_Admin_Server\"><h3>Start Admin Server<\/h3><\/span>\n<p>* Command: <em>service dirsrv-admin start<\/em><br \/>\n* Admin URL: <em>http:\/\/openidmbox:9830\/<\/em><br \/>\n* Login: <em>admin<\/em>\/<em>admin<\/em><br \/>\n* Output:<\/p>\n<pre lang=\"bash\">\r\n[root@openidmbox sysconfig]# service dirsrv-admin start\r\nStarting dirsrv-admin: \r\nhttpd.worker: Could not reliably determine the server's fully qualified domain name, using openidmbox.localdomain for ServerName\r\n                                                           [  OK  ]\r\n<\/pre>\n<p>* Connect to Admin Server: <em>\/usr\/bin\/389-console<\/em><\/p>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_login.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_login-300x214.jpg\" alt=\"\" title=\"389ds_mgmnt_console_login\" width=\"300\" height=\"214\" class=\"aligncenter size-medium wp-image-5837\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_login-300x214.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_login.jpg 726w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"_1\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_loggedin.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_loggedin-300x211.jpg\" alt=\"\" title=\"389ds_mgmnt_console_loggedin\" width=\"300\" height=\"211\" class=\"aligncenter size-medium wp-image-5838\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_loggedin-300x211.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_mgmnt_console_loggedin.jpg 746w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"_2\"><h6><\/h6><\/span>\n<span id=\"Firewall_Configuration\"><h2>Firewall Configuration<\/h2><\/span>\n<span id=\"Config_via_X_Win\"><h3>Config via X Win<\/h3><\/span>\n<p>* Select <em>System > Admin > Firewall<\/em><br \/>\n* Select <em>Other Ports > Add > 389<\/em><\/p>\n<span id=\"_3\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_firewall_add_port389.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_firewall_add_port389-300x238.jpg\" alt=\"\" title=\"389ds_firewall_add_port389\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-5847\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_firewall_add_port389-300x238.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/09\/389ds_firewall_add_port389.jpg 751w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Config_iptables\"><h3>Config iptables<\/h3><\/span>\n<p>* Add to \/etc\/sysconfig\/iptables<\/p>\n<pre lang=\"bash\">\r\n-A INPUT -m state --state NEW -m tcp -p tcp --dport 389 -j ACCEPT\r\n-A INPUT -m state --state NEW -m tcp -p tcp --dport 636 -j ACCEPT\r\n-A INPUT -m state --state NEW -m tcp -p tcp --dport 9830 -j ACCEPT\r\n<\/pre>\n<p>Or for rhel:<\/p>\n<pre lang=\"bash\">\r\niptables -A INPUT -p tcp --dport 389 -j ACCEPT\r\niptables -A OUTPUT -p tcp --sport 389 -j ACCEPT\r\niptables -A INPUT -p tcp -m tcp --dport 636 -j ACCEPT\r\niptables -A OUTPUT -p tcp -m tcp --sport 636 -j ACCEPT\r\n\r\n\/etc\/init.d\/iptables save\r\n<\/pre>\n<p>* Restart iptalbes firewall:<\/p>\n<pre lang=\"bash\">\r\nservice iptables restart\r\n<\/pre>\n<span id=\"Auto_Start_dirsrv\"><h3>Auto Start dirsrv<\/h3><\/span>\n<pre lang=\"bash\">\r\nchkconfig dirsrv on\r\n<\/pre>\n<span id=\"Browse_LDAP\"><h2>Browse LDAP<\/h2><\/span>\n<span id=\"Softerra_LDAP_Browser\"><h3>Softerra LDAP Browser<\/h3><\/span>\n<span id=\"References\"><h2>References<\/h2><\/span>\n<p>* <a href=\"http:\/\/directory.fedoraproject.org\/wiki\/Main_Page\">Fedora 389 Directory Server<\/a><br \/>\n* <a href=\"http:\/\/saylinux.net\/story\/0010925\/how-tuning-install-and-configure-389-directory-server-centos-62\">How to Tuning, Install and Configure 389 Directory Server on CentOS 6.2<\/a><br \/>\n* <a href=\"http:\/\/www.centos.org\/docs\/5\/html\/CDS\/install\/8.0\/Installation_Guide-Directory_Server_on_Linux.html\">Setting up Red Hat Directory Server on Red Hat Enterprise Linux<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>389 DS Overview * Fka Fedora Directory Server * Identical to Redhat-ds * See Wikipedia for more information Environment RHEL [root@localhost Desktop]# cat \/etc\/redhat-release CentOS release 6.2 (Final) Java [jli@localhost Desktop]$ java -version java version &#8220;1.6.0_35&#8221; Java(TM) SE Runtime Environment &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=5761\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[125,34],"tags":[218,603,566,142],"class_list":["post-5761","post","type-post","status-publish","format-standard","hentry","category-centos","category-ldap","tag-389ds","tag-centos","tag-ldap","tag-setup"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-1uV","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5761"}],"version-history":[{"count":15,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5761\/revisions"}],"predecessor-version":[{"id":5807,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5761\/revisions\/5807"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}