apt-get remove -y mysql-server python-mysqldb

在装OpenStack的时候,出错的可能就是就是一个模块,比如keysstone或者是glance出错了,我们没必要把整个全部删除了重新配置(因为我就这么干的,这样很累,很浪费时间),因此我在这里给大家总结一下,如果你配置过程中一个模块出错了,你就把那个模块卸载,重新配置就行了,没必要重新再来。因为蚊子子咬你胳膊,你没必要把全身挠遍了。

(1)contos/unubtu卸载mysql数据库

centos :

yum remove -y mysql-server python-mysqldb

unubtu :

apt-get remove -y mysql-server python-mysqldb

(2)contos/unubtu卸载keystone

centos :

yum remove -y keystone python-keystone python-keystoneclient

unubtu :

apt-get remove -y keystone python-keystone python-keystoneclient

(3)centos/unubtu卸载glance

centos  :

yum remove -y glance glance-api glance-client glance-common \
glance-registry python-glance

unubtu :

apt-get remove -y glance glance-api glance-client glance-common \
glance-registry python-glance

(4)centos/unubtu卸载nova

centos  :

yum remove -y nova-api nova-cert nova-common nova-compute \
nova-compute-kvm nova-doc nova-network nova-objectstore nova-scheduler \
nova-volume python-nova python-novaclient nova-consoleauth \
python-novnc novnc

unubtu  :

apt-get remove -y nova-api nova-cert nova-common nova-compute \
nova-compute-kvm nova-doc nova-network nova-objectstore nova-scheduler \
nova-volume python-nova python-novaclient nova-consoleauth \
python-novnc novnc

(5)centos/unubtu卸载dashboard

centos  :

yum remove -y libapache2-mod-wsgi openstack-dashboard

unubtu  :

apt-get remove -y libapache2-mod-wsgi openstack-dashboard
04-13 22:36