Skip to main content

Posts

Showing posts from September, 2012

Openldap server and client configration in rhel6 with tls

lets see the openldap server setup configuration on rhel 6   In my setup  my server name is:- node5.example.com ipaddress is :- 192.168.0.100/24 domain name is:- example.com openldap-server version is:- openldap-servers-2.4.23-20 my server os is:- RedHat Enterprise Linux 6.2 Step 1: first we need to install the required packages: # yum install openldap-servers openldap-clients here the openldap-server for configure the ldapserver and openldap-clients for configure the client.. Step2: As the configuration for LDAP is stored inside the LDAP server itself the configuration is in this /etc/ openldap /slapd.d/ directory. First of all we need set the password for administrator(we called it Manager) by using this command. # slappasswd password: mypasswd retype-password: mypasswd you’ll get something like this ” {SSHA}r2or9f2vYlvieCu0LP6wTnSdYfrddsuV ” as a result. This is the string we will have to add into config file. So we need to copy i...

website Downloading by wget command in linux

we have need to download an entire Web site, perhaps for off-line viewing, so for do that we are using so diffrence tools. In linux we can download the entire site by using wget.  wget can do the use those command...... $ wget \ --recursive \ --no-clobber \ --page-requisites \ --html-extension \ --convert-links \ --restrict-file-names=windows \ --domains chauhan-rhce.blogspot.com \ --no-parent \ www.chauhan-rhce.blogspot.com This command downloads the Web site www.chauhan-rhce.blogspot.com. The options are: --recursive: download the entire Web site. --domains chuahan-rhce.blogspot.com: don't follow links outside website.org. --no-parent: don't follow links outside the directory tutorials/html/. --page-requisites : get all the elements that compose the page (images, CSS and so on). --html-extension : save files with the .html extension. --convert-links : convert links so that they wo...