ConVirtMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

C2 fedora installation

From ConVirt


ConVirt 2.0 Setup for Fedora/RHEL/CentOS

Note These are instructions tested on RHEL/CentOS RHEL 6. There might be slight variations on other distributions. We would appreciate your contribution in refining these instructions with distribution specific changes.


If you wish to create a virtual machine for installing ConVirt, use instructions here and then follow instructions below.


Contents


Installing and setting up ConVirt Management Server (CMS)

 yum install wget 
 cd /etc/yum.repos.d
 wget --no-cache http://www.convirture.com/repos/definitions/rhel/5.x/convirt.repo
 For rhel 6.x
 cd /etc/yum.repos.d
 wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo
 yum install socat
   export http_proxy="http://company-proxy-server:80" 
 
   NOTE The proxy port may be different. In this example, 80 is assumed. 
 wget --no-cache http://www.convirture.com/downloads/convirt/2.5/convirt-install-2.5.tar.gz
 wget --no-cache http://www.convirture.com/downloads/convirt/2.5/convirt-2.5.tar.gz
 wget --no-cache http://www.convirture.com/downloads/convirture-tools/2.5/convirture-tools-2.5.tar.gz


 tar -xzf convirt-install-2.5.tar.gz
  In the following two files
    convirt-install/install/cms/common/functions 
    convirt/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.
 
   
 cd convirt-install/install/cms/scripts/
 sudo ./install_dependencies 
 
 NOTE When prompted for mysql credentials for root, enter "convirt" (you can change this later.)
 
 In the mysql configuration file /etc/my.cnf under [mysqld] section. Please add the following two lines
   innodb_buffer_pool_size=1G
   innodb_additional_mem_pool_size=20M
 Restart mysqld
   /etc/init.d/mysqld restart


* If required, setup Proxy again, as now you are logged in as CMS user account. (e.g. convirt)
   export http_proxy="http://company-proxy-server:80"
 
  • By default the CMS will get installed in the home directory like ~/convirt. If you wish it to be at any other location, please update CONVIRT_BASE varialbe in install/cms/scripts/install_config file.
   For example, change 
CONVIRT_BASE=~
To
CONVIRT_BASE=~/cms
Now CMS will get installed under ~/cms/convirt


  • Untar the CMS tarball.
  source convirt-install/install/cms/scripts/install_config
  tar -xzf ./convirt-2.5.tar.gz -C $CONVIRT_BASE


* Setup TurboGears
   ./convirt-install/install/cms/scripts/setup_tg2
* Setup ConVirt
Modify sqlalchemy.url in src/convirt/web/convirt/development.ini to reflect user and password for the mysql database.
  For example in the following url, username = root, password = convirt, server=localhost, database port = 3306 
  and database name is convirt (the one before '?' in the url)
  
  sqlalchemy.url=mysql://root:convirt@localhost:3306/convirt?charset=utf8
and then execute :
     ./convirt-install/install/cms/scripts/setup_convirt
     NOTE You would be prompted for password/passphrase for SSH identity for CMS server. You will be required to enter 
     the password/passphrase every time you start the ConVirt Management Server (CMS). You can choose to leave it blank.

Validating the CMS Setup

 cd ~/convirt  
 ./convirt-ctl start
NOTE You would be prompted for passphrase. Enter the same passphrase that you gave at the time of setting up ConVirt
 iptables -I INPUT -p tcp --dport 8081 -j ACCEPT
 ifconfig eth0 
 cd ~/convirt
 ./convirt-ctl stop

Continue

Continue with rest of the setup procedure here .

Retrieved from "http://www.convirture.com/wiki/index.php?title=C2_fedora_installation"

This page has been accessed 85,831 times. This page was last modified on 15 January 2015, at 21:10.


Find

Browse
Wiki Home
Installation
Documentation
HOWTOs
FAQ
Developer Resources
Forums
Blog
Website
Recent changes
Wiki Editing Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...