How to edit web.xml file at Apache Tomcat or GlassFish server on Ubuntu


1. Setup 'SSH Secure Shell Client'
2. Open 'SSH Secure Shell Client' and  'Quick Connect'


3. Connect to Remote Host
   

 Enter Password and Click 'Ok' button

4. Open file web.xml
# vi the path of web.xml file
Example:  vi glassfish3/glassfish/domains/domain1/applicatio
ns/customer/WEB-INF/web.xml
  • press i    (for editing)   
  • Esc:q!      (for without change)
  • Esc:x       (for change)

How to file transfer one machine from other machine in ubuntu by Windows XP, Windows 7 and Windows 8

1. Setup 'SSH Secure Shell Client'
2. Open 'SSH Secure Shell Client' and  'Quick Connect'


3. Connect to Remote Host
   

 Enter Password and Click 'Ok' button

4. create a tar ( if file or directory do not tar )
  # tar -cvf archive.tar file1 0r dir1
Example: tar -cvf card.tar card (the card.tar will be create on  current directory )

5. Files transfer one machine to other machine
# scp filename username@ip:dir
Example:  scp card.tar root@192.168.1.126:/home/root/
    Enter other Ubuntu machine password
6. Remote other Ubuntu machine
# ssh username@ip
Example: ssh root@192.168.1.126
Enter other Ubuntu machine password

7.  Go to Files transfer directory and extract the tar file
# tar -xvf filename 
Example: tar -xvf  card.tar (file extract on  current directory)

8. Delete old file
# rm filename
Example: rm  card.tar