首页 文章 精选 留言 我的

精选列表

搜索[环境],共10000篇文章
优秀的个人博客,低调大师

OpenStack部署之前,如何搭建一个测试环境

一、虚拟机安装 1、根据规划创建虚拟机 2、安装ubuntu14.04 二、网络配置 1、根据规划,在vmware workstation中创建好对应的虚拟网络 2、配置虚拟机的IP地址 3、在每台虚拟机的hosts文件中增加对应的hostname和IP地址对应关系 每个节点除了 IP 地址之外,还必须能够解析其他节点的名称。例如,controller1这个名称必须解析为 10.0.0.11,即控制节点上的管理网络接口的 IP 地址。 4、用于计算节点的虚拟机开启CPU VT选项 5、用于计算节点的虚拟机安装KVM 6、块存储节点对象存储节点各有2块100G的磁盘,分别配置为LVM 本文转自 TtrToby 51CTO博客,原文链接:http://blog.51cto.com/freshair/1883300

优秀的个人博客,低调大师

Ubuntu16.10安装Ocata之1:基础环境配置

使用两个节点手动安装OpenStack的Ocata版本 10.1.1.3controller 10.1.1.15 compute 控制节点配置 1、配置apt源 root@controller:~# apt install software-properties-common root@controller:~# add-apt-repository cloud-archive:ocata Ubuntu Cloud Archive for OpenStack Ocata More info: https://wiki.ubuntu.com/ServerTeam/CloudArchive Press [ENTER] to continue or ctrl-c to cancel adding it Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: ubuntu-cloud-keyring 0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded. Need to get 5,086 B of archives. After this operation, 34.8 kB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/universe ppc64el ubuntu-cloud-keyring all 2012.08.14 [5,086 B] Fetched 5,086 B in 0s (5,433 B/s) Selecting previously unselected package ubuntu-cloud-keyring. (Reading database ... 52388 files and directories currently installed.) Preparing to unpack .../ubuntu-cloud-keyring_2012.08.14_all.deb ... Unpacking ubuntu-cloud-keyring (2012.08.14) ... Setting up ubuntu-cloud-keyring (2012.08.14) ... Importing ubuntu-cloud.archive.canonical.com keyring OK Processing ubuntu-cloud.archive.canonical.com removal keyring gpg: /etc/apt/trustdb.gpg: trustdb created OK root@controller:/etc/apt/sources.list.d#cat cloudarchive-ocata.list deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main # deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main root@controller:~# apt update && apt dist-upgrade root@controller:~# apt install python-openstackclient -y 2、安装配置MariaDB root@controller:~# apt install mariadb-server python-pymysql -y root@controller:~# cat /etc/mysql/mariadb.conf.d/99-openstack.cnf [mysql] bind-address = 10.1.1.3 default-storage-engine = innodb innodb_file_per_table = on max_connections = 4096 collation-server = utf8_general_ci character-set-server = utf8 root@controller:~# service mysql restart root@controller:~# service mysql status 3、安装memacached keystone nova neutron dashboard apt install -y memcached python-memcache keystone glance nova-api nova-conductor nova-consoleauth nova-novncproxy nova-scheduler neutron-server neutron-plugin-ml2 neutron-linuxbridge-agent neutron-l3-agent neutron-dhcp-agent neutron-metadata-agent openstack-dashboard 4、配置Rabbitmq-server服务 root@controller:~# apt install rabbitmq-server -y root@controller:~# rabbitmqctl add_user openstack zoomtech Creating user "openstack" ... root@controller:~# rabbitmqctl set_permissions openstack ".*" ".*" ".*" Setting permissions for user "openstack" in vhost "/" ... 5、配置memcached root@controller:~# vim /etc/memcached.conf -l 10.1.1.3 root@controller:~# service memcached restart root@controller:~# service memcached status 本文转自 OpenStack2015 博客,原文链接:http://blog.51cto.com/andyliu/1902047 如需转载请自行联系原作者

优秀的个人博客,低调大师

foreman架构的引入2-安装前环境准备

零基础学习Puppet自动化配置管理系列文档 Foreman官网提供了每个版本非常完善的安装步骤,无论是源码安装还是rpm包安装都变得非常方便。而且Foreman通过puppet模块对安装步骤进行了封装并提供了大量的安装参数可以传输,相当的方便。不过由于其体系过大,代理很多软件,安装的软件包超多,安装过程也并非那么简单。 以下是需要考虑的问题及解决方法 特别说明:接下来的所有的推荐说明、操作和测试都是基于目前最新版1.5.4进行的,而1.6版本只更新了2个Release,还不太稳定。 关于Foreman1.5.4版本介绍及安装方法可参考官网http://theforeman.org/manuals/1.5/index.html#3.4InstallFromSource 操作系统的选型 Foreman官网yum仓库只提供了el6和f19的rpm(http://yum.theforeman.org/)包,Debian的deb包(http://deb.theforeman.org/),并未提供低版本或者其它系统的rpm包。还有源码包的下载方式:git clone https://github.com/theforeman/foreman.git -b 1.5.4所以,如果你考虑使用rpm包安装,请使用以下系统及版本: RHEL6.* CentOS6.* Fedora19 如果你考虑使用deb包安装,请使用以下系统及版本 Debian Linux 7.0 (Wheezy) Debian Linux 6.0 (Squeeze) Ubuntu Linux 14.04 LTS (Trusty Tahr) Ubuntu Linux 12.04 LTS (Precise Pangolin) 如果你并不打算使用以上系统,比如现在很多金融行业使用的SLES系统等,需要考虑使用源码包安装,源码包安装通过bundle命令完成,也非常方便。以后的Docker技术,也许这种方法安装会更合适。 安装包准备 安装Foreman依赖的包比较多,需要从以下三个网站获取 1、Foreman官网:http://yum.theforeman.org/ 2、EPEL官网:http://fedoraproject.org/wiki/EPEL 3、PuppetLabs官网:http://yum.puppetlabs.com/ 思考:以上三个官网安装包那么多,如果能够获得到安装Foreman的包呢? 如果你确实比较懒,可以去我的Github上下载https://github.com/kisspuppet/foreman-repo 操作系统配置注意事项 1、操作系统版本必须是RHEL6版本以上,建议使用6.4或6.5。 2、主机名必须符合完全合格的FQDN名称,其次必须小写(大写名称在安装MySQL的时候会提示授权问题不能通过) eg. foreman.kisspuppet.com 3、安装之前,必须先安装puppet客户端,并且和puppetmaster进行签名认证。 4、系统时间和puppetmaster端保持一致,防火墙、selinux记得关闭。 本文转自凌激冰51CTO博客,原文链接:http://blog.51cto.com/dreamfire/1565523,如需转载请自行联系原作者

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册