ubuntu修改网卡名字
禁用该可预测命名规则。在启动时传递“net.ifnames=0 biosdevname=0 ”的内核参数。 编辑/etc/default/grub并加入“net.ifnames=0 biosdevname=0 ”到GRUBCMDLINELINUX变量来实现的。
$ grub2-mkconfig -o /boot/grub2/grub.cfg
$ reboot
perl: warning: Falling back to the standard locale ("C")
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.GB2312;zh_CN.UTF-8;en_US;en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
http://www.cnblogs.com/sbaicl/archive/2013/01/11/2856463.html
Solution:
echo "export LC_ALL=C" >> /root/.bashrc
source /root/.bashrc
如果出现Create the service entity and API endpoints openstack service create --name keystone --description "OpenStack Identity" identity
请重新进行update 系统,再查看key_stone 版本号,keystone --version 现在我为1.7.1
apt-get update 的时候出错
如:W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
Solution:
gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192
gpg --export --armor 3E5C1192 | sudo apt-key add -
openstack 登录页的domain 取消方法
edit:/etc/openstack-dashboard/local_settings.py find OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT and set value is false
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = False
Horizon can't be accessed or keystone service can't be restarted
The apache2 service used for horizon listen the same port as keystone service.
stop the apache2 service first.
# service apache2 stop
modify the apache2 service config /etc/apache2/ports.conf and comment out 35357 and 5000 port
#Listen 35357
#Listen 5000
Listen 80
Listen 8080
#NameVirtualHost *:35357
#NameVirtualHost *:5000
NameVirtualHost *:80
NameVirtualHost *:8888
restart keytone service and apache2 service
# service keystone restart
# service apache2 restart