openstack安装问题

1. E: Unable to locate package - apt-get install error

处理

sudo apt-get update

2. ubuntu 12.04 mysql 编码问题

修改[mysqld]

[mysqld] 

init_connect='SET collation_connection = utf8_unicode_ci' 

init_connect='SET NAMES utf8' 

character-set-server=utf8 

collation-server=utf8_unicode_ci 

skip-character-set-client-handshake

 

service mysql restart

参考地址:

http://zhb1208.iteye.com/blog/1662215

3. 字符集问题

用下面命令查看字符集是否安装正确

locale  

如不正确可以用下面命令更新

locale-gen --purge

 

 

4. 没有pm-utils包

apt-get install pm-utils

下载不下来

手动更新

http://cn.archive.ubuntu.com/ubuntu/pool/main/p/pm-utils/pm-utils_1.4.1-9_all.deb

dpkg -i pm-utils_1.4.1-9_all.deb

5. kvm问题

kvm安装

apt-get install kvm libvirt-bin

检查kvm是否可用

kvm-ok

dell r610机器出现下列问题:

root@ubuntu:/etc/init.d# kvm-ok

INFO: /dev/kvm does not exist

HINT:   sudo modprobe kvm_intel

INFO: Your CPU supports KVM extensions

INFO: KVM (vmx) is disabled by your BIOS

HINT: Enter your BIOS setup and enable Virtualization Technology (VT),

     and then hard poweroff/poweron your system

KVM acceleration can NOT be used

r610本身支持kvm但需要打开BIOS设置

PROCESS ... => VIRTUALIZATION  TECHNOLOGY => ENABLE 

配置OK!

测试kvm-ok

INFO: /dev/kvm exists

KVM acceleration can be used

参考地址:

http://zhb1208.iteye.com/admin/blogs/1664836

6. 配置ssh证书

生成.ssh/id_rsa.pub

Generating public/private rsa key pair

Enter file in which to save the key (/root/.ssh/id_rsa): /home/user/.ssh/id_rsa

Enter passphrase (empty for no passphrase):****** 

Enter same passphrase again: ******

/home/user/.ssh/id_rsa.pub

你可能感兴趣的:(openstack)