2 function install_python_libs {
3 cd /service/vfc/gvnfm/vnflcm/lcm
4 pip install -r requirements.txt
7 function start_redis_server {
11 function start_mysql {
12 su mysql -c /usr/bin/mysqld_safe &
14 # Wait for mysql to initialize; Set mysql root password
17 bash /usr/bin/mysqladmin -u root password $MYSQL_ROOT_PASSWORD &> /dev/null && break
21 function create_database {
23 bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1