Openmano installation (release 0)
From OSM Public Wiki
VM creation
- Requirements:
- 4 vCPU
- 4GB RAM
- 40GB disk
- Base image: ubuntu-14.04.4-server-amd64
Installing required packages and libraries
- Install required packages
sudo apt-get install mysql git screen wget python-yaml python-libvirt python-bottle \
python-mysqldb python-jsonschema python-paramiko python-argcomplete python-requests
sudo apt-get install python-novaclient python-keystoneclient python-glanceclient python-neutronclient
- Configure python-argcomplete
activate-global-python-argcomplete --dest=- > argcomplete.txt cat argcomplete.txt >> .bashrc
Building and installing the module
- Clone the git repository:
git clone https://osm.etsi.org/gerrit/osm/openmano.git openmano
- Database creation
mysqladmin -u root -p create mano_db
- Grant access privileges from localhost. Go to mysql console and use the following commands to create user vim and nfvo, and grant privileges to the databases:
mysql> CREATE USER 'mano'@'localhost' identified by 'manopw'; mysql> GRANT ALL PRIVILEGES ON mano_db.* TO 'mano'@'localhost';
- Initialize database
openmano/database_utils/init_mano_db.sh -umano -pmanopw
- Add openmano client to the PATH, by adding a link to the bin folder
ln -s ${PWD}/openmano/openmano /home/${USER}/bin/openmano