Skip to main content

Posts

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...

Windows 7 God Mode

  Magic of Windows 7................................... It is simply a new menu for navigation in windows 7 and very simple to set up. Simply create a folder on your desktop and follow below directions. Step 1 : Right click on your desktop Step 2 : Click create folder. Step 3 :   rename this folder and name should be that, "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}" and press enter. Step 4 : Blink as the folder changes form to look like the control panel. Click on it and it opens the new menu.

Unix & Linux System Administrator Reponsbilities

The roll of the System Administrator on a linux or unix like system involves a number of varied and complicated tasks. A defined and well thought out approach to these tasks is the key to running efficient and reliable systems. The following is a small list of some of the important duties of the System Administrator. Filesystem Integrity and Free Space: A breakdown in filesystem integrity means the potential loss of critical data. As such, the System Administrator must check filesystem integrity on a regular basis and repair any inconsistencies as soon as they are found. The availability of free space is also the concern of the System Administrator. Periodic checking, daily, hourly, or as required is essential in preventing a file system from filling completely and causing downtime. Configuration Files: Many configuration files will require modification over the lifetime of an installed system. The System Administrator must document all changes and maintain backup copies of previous...

ls Command Use's in Linux

ls* Commands Are Even More Useful Than You May Have Thought E verything is a file under Linux and ls* and friends can help you to dig out more information from the system than you originally thought. These Linux tips may come in handy when you need to find out information quickly without going through /proc or sysfs. #1: lsscsi See list SCSI devices (or hosts) and their attributes under Linux operating systems: $ lsscsi -g Sample outputs: [0:0:0:0] disk Adaptec RAID1-A V1.0 /dev/sda /dev/sg0 [0:1:0:0] disk SEAGATE ST373455SS 0006 - /dev/sg1 [0:1:1:0] disk SEAGATE ST373455SS 0006 - /dev/sg2 [1:0:0:0] cd/dvd TEAC DV-28E-R 1.8A /dev/sr0 /dev/sg3 #2: lsblk Use this command to list block devices # lsblk Sample outputs: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 68.3G 0 disk ├─sda1 8:1 1 716M 0 part /boot ├─sda2 8:2 1 8G 0 part [SWAP] └─sda3 8:3 ...

FTP

Active FTP vs. Passive FTP Introduction One of the most commonly seen questions when dealing with firewalls and other Internet connectivity issues is the difference between active and passive FTP and how best to support either or both of them. Hopefully the following text will help to clear up some of the confusion over how to support FTP in a firewalled environment. This may not be the definitive explanation, as the title claims, however, I've heard enough good feedback and seen this document linked in enough places to know that quite a few people have found it to be useful. I am always looking for ways to improve things though, and if you find something that is not quite clear or needs more explanation, please let me know! Recent additions to this document include the examples of both active and passive command line FTP sessions. These session examples should help make things a bit clearer. They also provide a nice picture into what goes on behind the sc...