.. _manual-install: =============================== Manually Adding Zun to DevStack =============================== If you are getting started with zun it is recommended you follow the :ref:`quickstart` to get up and running with zun. This guide covers a more in-depth process to setup zun with devstack. This session has only been tested on Ubuntu 14.04 (Trusty). We recommend users to select one of it if it is possible. Clone devstack:: # Create a root directory for devstack if needed sudo mkdir -p /opt/stack sudo chown $USER /opt/stack git clone https://git.openstack.org/openstack-dev/devstack /opt/stack/devstack We will run devstack with minimal local.conf settings required to enable required OpenStack services:: cat > /opt/stack/devstack/local.conf << END [[local|localrc]] HOST_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/') DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_TOKEN=password SERVICE_PASSWORD=password ADMIN_PASSWORD=password END More devstack configuration information can be found at http://docs.openstack.org/developer/devstack/configuration.html More neutron configuration information can be found at http://docs.openstack.org/developer/devstack/guides/neutron.html Run devstack:: cd /opt/stack/devstack ./stack.sh Prepare your session to be able to use the various openstack clients including nova, neutron, and glance. Create a new shell, and source the devstack openrc script:: source /opt/stack/devstack/openrc admin admin Create a database in MySQL for zun:: mysql -h 127.0.0.1 -u root -ppassword mysql <