Wednesday, 6 April 2011

converting softwares

Download the software from below url:


convert pdf to word


*http://www.hellopdf.com/download.php

http://www.verypdf.com/pdf2word/index.html


########################################################################


convert doc to pdf


http://download.cnet.com/Convert-DOC-to-PDF-For-Word/3000-6675_4-10261783.html


########################################################################

Convert PDF to Powerpoint


http://www.verypdf.com/pdf2ppt/index.html#dl


########################################################################

Convert PDF to HTML



http://www.verypdf.com/pdf2htm/index.html#dl


########################################################################

Convert PDF to Text


http://www.verypdf.com/pdf2txt/pdf2txt.htm


########################################################################

Convert image to PDF


http://www.verypdf.com/tif2pdf/tif2pdf.htm#dl











Sunday, 3 April 2011

FTP Setup in windows Xp

XP includes a built-in FTP service component that lets FTP clients connect to the machine and read or write files; however, this service doesn't install by default. To install the FTP service, perform the following steps:

1. Start the Control Panel Add/Remove Programs applet (go to Start, Control Panel, then click Add/Remove Programs).
2. Select Add/Remove Windows Components.
3. Select Internet Information Services (IIS), then click Details.
4. Select the File Transfer Protocol (FTP) Service check box, then click OK.
5. Click OK to close all dialog boxes.

You can use the Microsoft Management Console (MMC) Internet Information Services snap-in to configure the FTP service (go to Start, Programs, Administrative Tools, then click Internet Information Services). After the snap-in starts, expand the computer name, then expand FTP Sites. A Default FTP Site will have been added. Right-click Default FTP Site, then select Properties from the displayed context menu to set options such as Home Directory, accounts, and anonymous access. To stop the FTP service, right-click the FTP site and select Stop from the context menu; likewise, select Start from the context menu to restart the service.

check the reference for Pictorial representation

Source(s):

ftp setup in windows 7

Please note that installation of FTP and the IIS Web server are not inter-dependent, which means you need not compulsorily install a web server in order to install an FTP server and vice-verse.


1. Go to Control Panel > Programs. Then click on "Turn Windows features On or Off".


 2. Now from the list that opens, locate the option for Internet Information Services and select FTP Server. Click on OK. Installation will take some time.


 Some additional steps for configuring the FTP sites and servers to work:


Goto control Panel

















Get u r ftp site


 Goto Run Type u r ftp address ftp://192.168.5.45 the ftp server address contains 192.168.5.45



Friday, 1 April 2011

Configuring ip address as dhcp




How to configure DHCP address for a specific network card
In order to configure DHCP address you will need to edit the 'interfaces' file /etc/network/interfaces .
sudo vi /etc/network/interfaces
Use vi editor to edit this file, vi editor is available by default on the Ubuntu server. You can use gedit on Ubuntu desktop edition, gedit is a GNOME based editor. Inside the file delete or comment (for commenting add hash '#' just before each line) everything. You are advised to use # to comment original setting so that you can revert to old setting if necessary. Now enter the following lines and save the file. And restart the network service.
# The primary network interface use DHCP to find our address
auto eth0
iface eth0 inet dhcp
sudo /etc/init.d/networking restart

Note: Replace eth0 with your own network interface card. Also learn vi commands to edit/save files - here.
How to configure Static IP address for your network card
In order set static IP address you need to edit the /etc/network/interfaces.
sudo vi /etc/network/interfaces
Replace everything with the following lines. Also change eth0 with your own network interface card. Here 192.168.1.7 is the static IP address that we want to set.
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
After you are done with editing, save the file then you will have to restart the networking services in order to apply the new network settings. Use the following command to do so.
sudo /etc/init.d/networking restart
How to configure the DNS
DNS configuration of the Ubuntu is similar to that of other linux flavors or distributions. For static lookup you will need to add hostname and corresponding IP address to the file /etc/hosts as explained in next section.
In order to use a particular domain name server for name lookup you simply need to add its IP address to the file /etc/resolv.conf. For example if we want to use a domain name server, with IP address 192.168.1.10, for domain name lookup we will have to edit resolv.conf file. Open the file with the following command.
sudo vi /etc/resolv.conf
And then add the following lines.
search test.com
nameserver 192.168.1.10
How to set or change hostname in Ubuntu
Hostname can be very easily manipulated in Ubuntu. You can directly query, or set the hostname with the hostname command.
To see the current hostname use the following command.
sudo /bin/hostname
To change the hostname use the command given below, change the newhostname with your own hostname.
sudo /bin/hostname newhostname
When your system reboots it will automatically read the hostname from the file /etc/hostname.
How to setup second IP address or virtual IP address in Ubuntu
Sometimes you may need to setup a second IP address for your computer, specially if you are a server administrator. To do this you need to edit the /etc/network/interfaces file.
sudo vi /etc/network/interfaces
Add the following lines in the file. Change according to your IP address settings.
auto eth0:1
iface eth0:1 inet static
address 192.168.1.60
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
You need to enter correctly all the network details such as address, netmask, network, broadcast and gateway values. Once you have completed this, save this file and then restart networking services using the following command so that new settings are applied.
sudo /etc/init.d/networking restart

NFS Configuration

Edit the file /etc/exports


/sharepath *(rw,sync)
Ex:/home *(rw,sync) 

restart the nfs service 

[root@usha ~]# service nfs restart
    Shutting down NFS mountd:                                  [  OK  ]
    Shutting down NFS daemon:                                  [  OK  ]
 Shutting down NFS quotas:                                  [  OK  ]
 Shutting down NFS services:                                [  OK  ]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]



Mount nfs in another System
mount -t nfs 192.168.2 .85:/home /mnt


samba configuration

create an user add the user to the samba user

[root@usha ~]# smbpasswd -a dapuser
New SMB password:
Retype new SMB password:
Added user dapuser.

Edit the file /etc/samba/smb.conf


 path = /usr/somewhere/shared
valid users =dapuser
public = no
readable=yes
writable = yes
printable = no
browseable=tes

path is that which folder u want to share


Logon from the Windows System

Goto -> start -> Run type \\192.168.5.245

the samba server contains 192.168.5.245 as the ip address

Username  dapuser
password  dap@123

mount the shared content to u r system




FROM LINUX

Goto Places->Connect to server


 Windows share enter  server ip address  and click connect.Enter the username and passwd get the content of samba server





ldap Configuration

check the below packages are available:

[root@usha ~]# rpm -qa | grep openldap-servers
openldap-servers-2.3.27-5

compat-openldap.i386 0:2.1.30-6.4E
openldap-clients.i386 0:2.2.13-6.4E
openldap-devel.i386 0:2.2.13-6.4E
openldap-servers.i386 0:2.2.13-6.4E
openldap-servers-sql.i386 0:2.2.13-6.4E




if packages not available install from cd

yum install *openldap* -y

on the ldap service
[root@usha ~]# chkconfig --levels 235 ldap on

update the database
[root@usha ~]# updatedb

[root@usha ~]# slappasswd
New password:
Re-enter new password:
{SSHA}fF9NKkPUrf9m9gxBMmLeUwY/bnqVgK3v

[root@usha ~]# vi /etc/openldap/slapd.conf



database    bdb
suffix        "dc=sam,dc=com"
rootdn        "cn=admin1,dc=sam,dc=com"
rootpw        {SSHA}fF9NKkPUrf9m9gxBMmLeUwY/bnqVgK3v


edit these lines in the above file

                            cn as ur connection name dc as ur domain name (if more than one ldap server in the network the domain should not be same) rootpw next to the w give two  [tab] then paste the slappasswd here



create the rhome folder in filesystem



     create an user test path as /rhome/


Migrate local user to LDAP (We assume that users test exit in our system)

[root@usha ~]# grep root /etc/passwd > /etc/openldap/passwd.root
[root@usha ~]# grep test /etc/passwd > /etc/openldap/passwd.test



Update default settings on file

[root@usha ~]# vi /usr/share/openldap/migration/migrate_common.ph




 [root@usha ~]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.root  /etc/openldap/root.ldif
[root@usha ~]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.test  /etc/openldap/test.ldif



Update root.ldif file for the "admin" of LDAP Server

[root@usha ~]# vi /etc/openldap/root.ldif

 dn: uid=root,ou=People, dc=sam,dc=com
uid: root
cn: admin
objectClass: account

Create a domain ldif file

[root@usha ~]# cat > /etc/openldap/sam.com.ldif
dn:dc=sam,dc=com
dc: sam
description: LDAP Admin
objectClass: dcObject
objectClass: organizationalUnit
ou: rootobject

dn: ou=People, dc=sam,dc=com
ou: People
description: Users of sam
objectClass: organizationalUnit




Import all users in to the LDAP



[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
adding new entry "dc=sam,dc=com"

adding new entry "ou=People, dc=sam,dc=com"


[root@usha openldap]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/dapuser.ldif
Enter LDAP Password:
adding new entry "uid=dapuser,ou=People,dc=sam,dc=com"

[root@usha openldap]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/root.ldif
Enter LDAP Password:
adding new entry "uid=root,ou=People,dc=sam,dc=com"

adding new entry "uid=operator,ou=People,dc=sam,dc=com"


restart the ldap service

[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                                    [  OK  ]
Starting slapd:                                             [  OK  ]





TEST LDAP SERVER 


ldapsearch -x -b 'dc=sam,dc=com' '(objectclass=*)'



TEST LDAP SERVER  FROM THE CLIENT


Client Configuration


[root@usha ~]# authconfig-tui





Select Use LDAP

Server: ldap.sam.com
Base DN: dc=sam,dc=com



edit     /etc/auto.master   and   this   entry

/rhome    /etc /auto.rhome



Create the file /etc/auto.rhome  if it is not created previously and make this entry

*    -rw,soft,intr            192.168.1.254:/rhome/&
The ip number of server is considered as 192.168.1.254


/etc/init.d/autofs restart




References
[root@usha ~]# ifconfig eth0 192.168.20.39
[root@usha ~]# ifup eth0
[root@usha ~]# ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1) 56(84) bytes of data.
64 bytes from 192.168.20.1: icmp_seq=1 ttl=64 time=0.341 ms
64 bytes from 192.168.20.1: icmp_seq=2 ttl=64 time=0.170 ms

[1]+  Stopped                 ping 192.168.20.1
[root@usha ~]# rpm -qa | grep openldap-servers
openldap-servers-2.3.27-5
[root@usha ~]# chkconfig --levels 235 ldap 0n
chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig --list [name]
         chkconfig --add <name>
         chkconfig --del <name>
         chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>
[root@usha ~]# chkconfig --levels 235 ldap on
[root@usha ~]# service ldap start
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]#
[root@usha ~]#
[root@usha ~]# ssword:
[root@usha ~]# qgDD3Y7lRRkQhslhAd+D1Bi
[root@usha ~]# gedit /etc/openldap/slapd.conf
[root@usha ~]# gedit /etc/openldap/slapd.conf
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]# gedit /etc/openldap/slapd.conf
[root@usha ~]# gedit /etc/openldap/slapd.conf
[root@usha ~]# grep root /etc/passwd > /etc/openldap/passwd.root
[root@usha ~]# grep dapuser /etc/passwd > /etc/openldap/passwd.dapuser
[root@usha ~]# vi /usr/share/openldap/migration/migrat_common.ph
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]# vi /usr/share/openldap/migration/migrate_common.ph
[root@usha ~]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.root  /etc/op
openldap/                 openmpi-default-hostfile  openmpi-mca-params.conf   openmpi-totalview.tcl     opt/                     
[root@usha ~]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.root  /etc/openldap/root/ldif
[root@usha ~]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.dapuser  /etc/openldap/dapuser/ldif
[root@usha ~]# vi /etc/openldap/root.ldif'
>
.adobe/                Desktop/               .gconfd/               install.log.syslog     .mysql_history         .tcshrc
anaconda-ks.cfg        .dmrc                  .gimp-2.2/             .kde/                  .nautilus/             .thumbnails/
.bash_history          .eggcups/              .gnome/                .lesshst               .qt/                   .Trash/
.bash_logout           .esd_auth              .gnome2/               .local/                .recently-used         .tsclient/
.bash_profile          ex.pl                  .gnome2_private/       .macromedia/           .recently-used.xbel    .viminfo
.bashrc                ex.pl~                 .gstreamer-0.10/       .mcop/                 .redhat/               .vnc/
.config/               .ex.pl.swp             .gtkrc-1.2-gnome2      .mcoprc                .sane/                 .Xauthority
.cshrc                 Firefox_wallpaper.png  .ICEauthority          .metacity/             .serverauth.3646       .xsession-errors
.dbus/                 .gconf/                install.log            .mozilla/              .ssh/                 
>
[root@usha ~]# vi /etc/openldap/root.ldif
[root@usha ~]# cat vi /etc/openldap/sam.com.ldif
cat: vi: No such file or directory
cat: /etc/openldap/sam.com.ldif: No such file or directory
[root@usha ~]# cat  /etc/openldap/sam.com.ldif
cat: /etc/openldap/sam.com.ldif: No such file or directory
[root@usha ~]# cat /etc/openldap/sam.com.ldif
cat: /etc/openldap/sam.com.ldif: No such file or directory
[root@usha ~]# cat /etc/openldap/sam.com.ldif
cat: /etc/openldap/sam.com.ldif: No such file or directory
[root@usha ~]# cat > /etc/openldap/sam.com.ldif
dn:dc=sam,dc=com
dc: sam
description: LDAP Admin

[root@usha ~]# vi /etc/openldap/sam.com.ldif
[root@usha ~]# vi /etc/openldap/sam.com.ldif
[root@usha ~]# ldapadd -x -D "cn=admin1".dc=sam,dc=com" -W -f /etc/openlad/sam.com.ldif
>
[root@usha ~]# ldapadd -x -D "cn=admin1",dc=sam,dc=com" -W -f /etc/openlad/sam.com.ldif
>
[root@usha ~]# ldapadd -x -D "cn=admin1",dc=sam,dc=com" -W -f /etc/openlad/sam.com.ldif
> slapd -d 256 -f /etc/openldap/slapd.conf
>
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
ldap_bind: Server is unwilling to perform (53)
        additional info: unauthenticated bind (DN with no password) disallowed
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)
Expect poor performance for suffix dc=sam,dc=com.
config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# rm -f /var/lib/ldap/*
[root@usha ~]# updatedb
[root@usha ~]# locate DB_CONFIG.example
/etc/openldap/DB_CONFIG.example
[root@usha ~]# cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# slappasswd
New password:
Re-enter new password:
{SSHA}fF9NKkPUrf9m9gxBMmLeUwY/bnqVgK3v
[root@usha ~]# vi /etc/openldap/slapd.conf
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/sam.com.ldif
Enter LDAP Password:
adding new entry "dc=sam,dc=com"

adding new entry "ou=People, dc=sam,dc=com"

[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/root.ldif
Enter LDAP Password:
adding new entry "uid=root,ou=people, dc=sam,dc=com"
ldap_add: Object class violation (65)
        additional info: attribute 'cn' not allowed

[root@usha ~]# vi /etc/openldap/sam.com.ldif
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/dap.ldif
/etc/openldap/dap.ldif: No such file or directory
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/dapuser.ldif
/etc/openldap/dapuser.ldif: No such file or directory
[root@usha ~]# vi /etc/openldap/root.ldif
[root@usha ~]# cd /etc/openldap/
[root@usha openldap]# ls
cacerts  DB_CONFIG.example  ldap.conf  passwd.dapuser  passwd.root  root.ldif  sam.com.ldif  schema  slapd.conf  slapd.conf~
[root@usha openldap]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.root  /etc/openldap/root.ldif
[root@usha openldap]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.dapuser  /etc/openldap/dapuser.ldif
[root@usha openldap]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha openldap]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/dapuser.ldif
Enter LDAP Password:
adding new entry "uid=dapuser,ou=People,dc=sam,dc=com"

[root@usha openldap]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/root.ldif
Enter LDAP Password:
adding new entry "uid=root,ou=People,dc=sam,dc=com"

adding new entry "uid=operator,ou=People,dc=sam,dc=com"

[root@usha openldap]#
Display all 3984 possibilities? (y or n)
[root@usha openldap]# cd
[root@usha ~]# vi /etc/exports
[root@usha ~]# iptables -F
[root@usha ~]# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
[root@usha ~]# service portmap start
Starting portmap:                                          [  OK  ]
[root@usha ~]# service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
[root@usha ~]#
[root@usha ~]# grep dapuser1 /etc/passwd > /etc/openldap/passwd.dapuser1
[root@usha ~]# chown dapuser:dapuser /rhome/dapuser
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# service portmap start
Starting portmap:                                          [  OK  ]
[root@usha ~]# service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# iptables -F
[root@usha ~]# /usr/share/openldap/migration/migrate_passwd.pl  /etc/openldap/passwd.dapuser1  /etc/openldap/dapuser1.ldif
[root@usha ~]# ladpadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/dapuser1.ldif
bash: ladpadd: command not found
[root@usha ~]# ldapadd -x -D "cn=admin1,dc=sam,dc=com" -W -f /etc/openldap/dapuser1.ldif
Enter LDAP Password:
adding new entry "uid=dapuser1,ou=People,dc=sam,dc=com"

[root@usha ~]# cd /etc/openldap/
[root@usha openldap]# ls
cacerts        dapuser.ldif       ldap.conf       passwd.dapuser1  root.ldif     schema      slapd.conf~
dapuser1.ldif  DB_CONFIG.example  passwd.dapuser  passwd.root      sam.com.ldif  slapd.conf
[root@usha openldap]# cd
[root@usha ~]# service ldap restart
Stopping slapd:                                            [  OK  ]
Checking configuration files for slapd:  config file testing succeeded
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]
[root@usha ~]# ls
anaconda-ks.cfg  Desktop  ex.pl  ex.pl~  Firefox_wallpaper.png  install.log  install.log.syslog
[root@usha ~]# name
bash: name: command not found
[root@usha ~]# man domain

[2]+  Stopped                 man domain
[root@usha ~]# name kokila
bash: name: command not found
[root@usha ~]# man domain

[3]+  Stopped                 man domain
[root@usha ~]# domain jdfgj
bash: domain: command not found
[root@usha ~]# vi /etc/exports
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]#
[root@usha ~]# ifconfig eth0 192.168.20.39
[root@usha ~]# ifup eth0
[root@usha ~]# service vncserver restart
Shutting down VNC server: 2:root                           [FAILED]
Starting VNC server: 2:root xauth: (stdin):1:  bad display name "usha.com:2" in "add" command

New 'usha.com:2 (root)' desktop is usha.com:2

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/usha.com:2.log

                                                           [  OK  ]
[root@usha ~]# mount -t nfs 192.168.20.1:/rhome /home
mount: 192.168.20.1:/rhome failed, reason given by server: Permission denied
[root@usha ~]# mount -t nfs 192.168.20.1:/rhome /home
mount: 192.168.20.1:/rhome failed, reason given by server: Permission denied
[root@usha ~]# mount -t nfs 192.168.20.1:/rhome /mnt
mount: 192.168.20.1:/rhome failed, reason given by server: Permission denied
[root@usha ~]# rpcinfo -p 192.168.20.1
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100011    1   udp    813  rquotad
    100011    2   udp    813  rquotad
    100011    1   tcp    816  rquotad
    100011    2   tcp    816  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32862  nlockmgr
    100021    3   udp  32862  nlockmgr
    100021    4   udp  32862  nlockmgr
    100021    1   tcp  34738  nlockmgr
    100021    3   tcp  34738  nlockmgr
    100021    4   tcp  34738  nlockmgr
    100005    1   udp    829  mountd
    100005    1   tcp    832  mountd
    100005    2   udp    829  mountd
    100005    2   tcp    832  mountd
    100005    3   udp    829  mountd
    100005    3   tcp    832  mountd
[root@usha ~]# service nfslock stop
Stopping NFS locking:                                      [  OK  ]
Stopping NFS statd:                                        [  OK  ]
[root@usha ~]# service portmap restart
Stopping portmap:                                          [  OK  ]
Starting portmap:                                          [  OK  ]
 












































































































Monday, 28 March 2011

Windows XP installation through pxe boot in windows 2003

install server 2003

configure the   i) dns server
                      ii)dhcp server and create a scope



                   
Configure the RIS Service


Goto start->Control panel->Add or Remove programs->Add/Remove Windows Components Select Remote Installation Service and copy files from  cd( which u want to install in the client system)





Copying the image to the RemoteInstall folder

Goto start-> Administrator tools-> Remote Installation Service setup copy the image that which u want to install in the client system.


Give the full Authentication to the RemoteInstall folder(Right click the RemoteInstall folder where u created)

 The Remote install folder should not be the System drive



DHCP server configuration

Create a scope if scope does not exists.

Goto start->Administrative tools -> DHCP  Right click DHCP Add server then select this server option then the dhcp server will be created with domain name Right Click and select New scope and create a new scope then scope will be created.

Double click on scope ->scope options -> Right click configure options then

                                           configure these options i) Router
                                                                               ii)Boot server hostname
                                                                               iii)Bootfile name


Adding the Network driver to the RIS image


                 Create the directory  shown below inside the  drive:\RemoteInstall\Setup\English\Images\WINDOWS\i386

                                    \$oem$\$1\Drivers\Nic

Download the oem network driver from below url:


http://drivers.brothersoft.com/realtek-ethernet-pci-e-driver-5.776-for-2003-xp-download-47037.html

Copy the downloaded driver into the below path


Drive:\RemoteInstall\Setup\English\Images\WINDOWS\i386\$oem$\$1\Drivers\Nic\  


In Regedit(registry) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current Version\devicePath default will be %Systemdrive%\inf change into

            Drive:\RemoteInstall\Setup\English\Images\WINDOWS\i386\$oem$\$1\Drivers\Nic\

      then restart u r computer and boot the client system through network.




Requirements for the client system

The system should be connected to the network.