Ubuntu Install steps

 
 
 

Here is summary of ConVirt Management Server (CMS) Installation. Have two shell windows open, one as root user and another as convirt user (once you create it in step 1.)


NOTE : It is assumed that you are using bash shell.

StepAs root UserAs convirt User 
1
 useradd -m convirt  -s /bin/bash
 passwd convirt
   
2  
 Login as convirt user
 su -l convirt
 if your company uses proxy
 export http_proxy="http://company-proxy-server:80" 
 Download
 wget --http-user=user_name_from_email \
      --http-passwd=password_from_email \
      http://www.convirture.com/download/link/from/email

 Open the archives
 tar -xzf ./convirt-enterprise-install-3.4.5.tar.gz
 source convirt-enterprise-install/install/cms/scripts/install_config
 tar -xzf ./convirt-enterprise-3.4.5.tar.gz -C $CONVIRT_BASE
  IMPORTANT INSTALL RELATED PATCH/CHANGE  Due to change in some of the
     dependencies, we need to install specific version of virtualenv. To do so,
     please make the following change.
  In the following two files
    convirt-enterprise-install/install/cms/common/functions 
    convirt-enterprise/install/cms/common/functions 
  Change the line 
    $SUDO easy_install virtualenv 
  To
    $SUDO easy_install virtualenv==1.11.6
   NOTE  Two equal-to signs before the version number.

}
3
if your company uses proxy
 export http_proxy="http://company-proxy-server:80" 
Install Dependencies
./convirt-enterprise-install/install/cms/scripts/install_dependencies
NOTE When prompted for mysql credentials for root, please enter "convirt"


NOTE On 10.04 (lucid) you have to run:
 sudo apt-get install libmysqlclient-dev python2.6-dev python-setuptools
  
 Tweak MySQL
  In the mysql configuration file /etc/mysql/my.cnf under [mysqld] section,
  Please add the following two lines
   innodb_buffer_pool_size=1G
   innodb_additional_mem_pool_size=20M
   transaction-isolation = READ-COMMITTED
  Restart mysql
    /etc/init.d/mysql restart
 Open Firewall ports for CMS and for VNC port forwarding.
  iptables -I INPUT -p tcp --dport 8091 -j ACCEPT
  iptables -I INPUT -m state --state NEW -p tcp --dport 6900:6999 -j ACCEPT
4  
  Setup TurboGears and ConVirt 
  ./convirt-enterprise-install/install/cms/scripts/setup_tg2
  ./convirt-enterprise-install/install/cms/scripts/setup_convirt

  Update
  Some users have reported to run in to error involving simplejson or SandBoxViolation. To workaround
  cd ~/convirt-enterprise
  source ./tg2env/bin/activate
  easy_install -U simplejson
  deactivate 
  cd
  ./convirt-enterprise-install/install/cms/scripts/setup_convirt
  Start it 
  cd ~/convirt-enterprise  
  ./convirt-ctl start
  
  Congratulations : CMS is installed. 
  Use Firefox browser to point to http://hostname:8091
  Login using admin/admin default credentials. 
  
Next Step : Preparing Managed Servers
   
     
 
Vous avez d’autres questions ? Envoyer une demande

Commentaires

 
Adding comment, please wait....

Provide Feedback on Article:

Subject:
Comments:*