Friday, October 30, 2009

How to enable SSH on VMware ESX 3.5?

Bookmark and Share

When VMware ESX 3.5 is installed on fresh machine then it was observed that by default SSH is not active or machine is inaccessible using SSH protocol.

I understand that VMware ESX 3.5 is older release of VMware ESX, however, below steps someone might find useful to solve this issue.

After logging into VMware ESX 3.5 box as root, execute following commands to enable sshClient and sshServer services inside ESX firewall.

 [root@esx35 root]# esxcfg-firewall  -s
Known services: activeDirectorKerberos caARCserve CIMHttpServer CIMHttpsServer CIMSLP commvaultDynamic commvaultStatic ftpClient ftpServer kerberos LDAP LDAPS legatoNetWorker LicenseClient nfsClient nisClient ntpClient smbClient snmpd sshClient sshServer swISCSIClient symantecBackupExec symantecNetBackup telnetClient TSM updateManager VCB vncServer vpxHeartbeats

[root@esx35 root]# esxcfg-firewall --enableService sshClient
[root@esx35 root]# esxcfg-firewall --enableService  sshServer

Also ‘/etc/ssh/sshd_config’ file should have ‘PermitRootLogin’ set to yes if someone wants to have remote SSH access for root account.

[root@esx35 root]# cat /etc/ssh/sshd_config | grep -i Root
PermitRootLogin yes
[root@esx35 root]# /etc/init.d/sshd restart

This should allow root user to access VMware ESX box remotely using SSH.


Sunday, October 25, 2009

Differences Routing Vs Routed protocol

Bookmark and Share

Similar to one of my old posts, Differences IPv4 Vs IPv6 protocol, I thought it would be interesting to list differences between routed protocol and routing protocol. I know it’s very basic; however, I am still posting it on this blog and trying to simplify the differences in tabular format
Routing Protocol
Routed Protocol
Helps router decide which paths to send traffic Actually sends traffic between devices running at layer 3 (network layer) in OSI model
Routes a routed protocol datagram (packet) Routed using routing protocol(s)
Allow routers to dynamically advertise and learn and use efficient routes to the destination Carry information used by Routing protocol(s)
Types(e.g.): Distance Vector Routing Protocol (RIP v1/v2, IGRP), Link State Routing Protocol (OSPF, IS-IS, EIGRP, NetWare Link State Protocol E.g. IP, TCP, UDP


Saturday, October 10, 2009

Internet Explorer on Linux

Bookmark and Share

Are you the one who cannot leave without Linux and always wanted to use Microsoft Internet Explorer on Linux? This is often a case with me while trying to access bank websites or sites that do not support browser other than Microsoft Internet Explorer. Other case may be web developer might want to test his website using Microsoft Internet Explorer while running under Linux environment.

In this post, we will try to run Microsoft Internet Explorer on my OpenSuSe 11.1 box.

IEs4Linux is easiest way to run Microsoft Internet Explorer on Linux.

Download IEs4Linux from http://www.tatanka.com.br. All installation instructions can be found on the same page.

However, below is whole installation procedure that I copied from terminal/console on my OpenSuSe 11.1 box. I have already downloaded ies4linux-2.99.0.tar.gz  in local directory. All commands are marked in dark blue.

green@green:~> tar -zxvf ies4linux-2.99.0.tar.gz
ies4linux-2.99.0/                                 
ies4linux-2.99.0/LICENSE                          
ies4linux-2.99.0/README                           
ies4linux-2.99.0/ies4linux                        
ies4linux-2.99.0/lang/                            
ies4linux-2.99.0/lang/bgBG.sh                     
ies4linux-2.99.0/lang/caES.sh                     
ies4linux-2.99.0/lang/csCZ.sh                     
ies4linux-2.99.0/lang/daDK.sh                     
ies4linux-2.99.0/lang/deDE.sh                     
ies4linux-2.99.0/lang/enUS.sh                     
ies4linux-2.99.0/lang/esAR.sh                     
ies4linux-2.99.0/lang/esES.sh                     
ies4linux-2.99.0/lang/esMX.sh                     
ies4linux-2.99.0/lang/etEE.sh                     
ies4linux-2.99.0/lang/etET.sh                     
ies4linux-2.99.0/lang/fiFI.sh                     
ies4linux-2.99.0/lang/frFR.sh                     
ies4linux-2.99.0/lang/hrHR.sh                     
ies4linux-2.99.0/lang/huHU.sh                     
ies4linux-2.99.0/lang/idID.sh                     
ies4linux-2.99.0/lang/itIT.sh                     
ies4linux-2.99.0/lang/jaJP.sh                     
ies4linux-2.99.0/lang/ltLT.sh                     
ies4linux-2.99.0/lang/lvLV.sh                     
ies4linux-2.99.0/lang/msMY.sh                     
ies4linux-2.99.0/lang/nbNO.sh                     
ies4linux-2.99.0/lang/nlNL.sh                     
ies4linux-2.99.0/lang/plPL.sh                     
ies4linux-2.99.0/lang/ptBR.sh                     
ies4linux-2.99.0/lang/ptPT.sh                     
ies4linux-2.99.0/lang/roRO.sh                     
ies4linux-2.99.0/lang/siSI.sh                     
ies4linux-2.99.0/lang/skSK.sh                     
ies4linux-2.99.0/lang/slSI.sh                     
ies4linux-2.99.0/lang/srYU.sh                     
ies4linux-2.99.0/lang/svSE.sh                     
ies4linux-2.99.0/lang/trTR.sh                     
ies4linux-2.99.0/lang/ukUA.sh                     
ies4linux-2.99.0/lang/viVN.sh                     
ies4linux-2.99.0/lang/zhCN.sh                     
ies4linux-2.99.0/lang/zhTW.sh                     
ies4linux-2.99.0/lib/                             
ies4linux-2.99.0/lib/files                        
ies4linux-2.99.0/lib/functions.sh                 
ies4linux-2.99.0/lib/help.sh                      
ies4linux-2.99.0/lib/ies4linux.png                
ies4linux-2.99.0/lib/ies4linux.svg                
ies4linux-2.99.0/lib/install.sh                   
ies4linux-2.99.0/lib/messages.txt                 
ies4linux-2.99.0/lib/uninstall.sh                 
ies4linux-2.99.0/lib/xdg-desktop-icon             
ies4linux-2.99.0/lib/xdg-desktop-menu             
ies4linux-2.99.0/mac/                             
ies4linux-2.99.0/mac/functions-overwrite.sh       
ies4linux-2.99.0/mac/whereiswine.sh               
ies4linux-2.99.0/ui/                              
ies4linux-2.99.0/ui/.svn/                         
ies4linux-2.99.0/ui/.svn/entries                  
ies4linux-2.99.0/ui/.svn/format                   
ies4linux-2.99.0/ui/.svn/prop-base/               
ies4linux-2.99.0/ui/.svn/props/                   
ies4linux-2.99.0/ui/.svn/text-base/               
ies4linux-2.99.0/ui/.svn/tmp/                     
ies4linux-2.99.0/ui/.svn/tmp/prop-base/           
ies4linux-2.99.0/ui/.svn/tmp/props/               
ies4linux-2.99.0/ui/.svn/tmp/text-base/           
ies4linux-2.99.0/ui/kommander/                    
ies4linux-2.99.0/ui/kommander/advanced.kmdr       
ies4linux-2.99.0/ui/kommander/installation.kmdr   
ies4linux-2.99.0/ui/kommander/kommander.sh        
ies4linux-2.99.0/ui/kommander/logo.kmdr           
ies4linux-2.99.0/ui/pygtk/                        
ies4linux-2.99.0/ui/pygtk/ies4linux-gtk.py        
ies4linux-2.99.0/ui/pygtk/python-gtk.sh           
ies4linux-2.99.0/winereg/                         
ies4linux-2.99.0/winereg/.ie1.reg                 
ies4linux-2.99.0/winereg/.ie2.reg                 
ies4linux-2.99.0/winereg/ie5.reg                  
ies4linux-2.99.0/winereg/ie55.reg                 
ies4linux-2.99.0/winereg/ie6.reg                  
ies4linux-2.99.0/winereg/ie7.reg                  
green@green:~> cd ies4linux-2.99.0/             
green@green:~/ies4linux-2.99.0> ls              
ies4linux  lang  lib  LICENSE  mac  README  ui  winereg
green@green:~/ies4linux-2.99.0> vi README
green@green:~/ies4linux-2.99.0> ./ies4linux --no-gui

IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. It's recommended that you update your wine to the latest version (Go to: winehq.com).                                                                              
IEs4Linux will:                                                                             
  - Install Internet Explorers: 6.0                                                         
  - Using IE locale: EN-US                                                                  
  - Install Adobe Flash 9.0                                                                 
  - Install everything at: /home/green/.ies4linux                                          
[ OK ]                                                                                      
Downloading everything we need                                                              
  Downloading from microsoft.com:                                                           
   DCOM98.EXE                                                                               
   mfc42.cab                                                                                
   249973USA8.exe                                                                           
   ADVAUTH.CAB                                                                              
   CRLUPD.CAB                                                                               
   HHUPD.CAB                                                                                
   IEDOM.CAB                                                                                
   IE_EXTRA.CAB                                                                             
   100% IE_S1.CAB                                                                           
   100% IE_S2.CAB                                                                           
   100% IE_S5.CAB                                                                           
   100% IE_S4.CAB                                                                           
   100% IE_S3.CAB                                                                           
   100% IE_S6.CAB                                                                           
   100% SETUPW95.CAB                                                                        
   100% FONTCORE.CAB                                                                        
   100% FONTSUP.CAB                                                                         
   100% VGX.CAB                                                                             
   SCR56EN.CAB                                                                              

  Downloading from macromedia.com:
   swflash.cab                   
[ OK ]                           
Installing IE 6                                                                             
  Initializing                                                                              
  Creating Wine Prefix
  Extracting CAB files
  Installing IE 6
  Installing DCOM98
  Installing TTF Fonts
  Installing ActiveX MFC42
  Installing RICHED20
  Installing registry
  Finalizing
[ OK ]

Installing Flash Player 9
  Extracting files
  Installing flash on ie6
  Finalizing
[ OK ]

IEs4Linux installations finished!

To run your IEs, type:
ie6

green@green:~/ies4linux-2.99.0> ie6

Once installation is complete, run it using ie6 command. Below is screenshot of Microsoft Internet Explorer on OpenSuSe 11.1 KDE desktop.Microsoft Internet Explorer on OpenSuSe 11.1

There is also beta version of ies4linux available that supports Microsoft Internet Explorer 7 on Linux. However, I didn’t test this beta version on Linux as the current setup is enough for my needs.

In case if you successfully tried beta version of ies4linux on your Linux box then let everyone know in comments below.


 




Technology