3 function install_python_libs {
4 cd /service/vfc/nfvo/lcm/
5 pip install -r requirements.txt
8 function start_redis_server {
12 function start_mysql {
13 su mysql -c /usr/bin/mysqld_safe &
15 # Wait for mysql to initialize; Set mysql root password
18 bash /usr/bin/mysqladmin -u root password $MYSQL_ROOT_PASSWORD &> /dev/null && break
22 function create_database {
23 cd /service/vfc/nfvo/lcm/resources/bin
24 bash initDB.sh root $MYSQL_ROOT_PASSWORD 3306 127.0.0.1