当前位置: 首页 > news >正文

做网站一般用什么配置的电脑长沙3合1网站建设公司

做网站一般用什么配置的电脑,长沙3合1网站建设公司,wordpress 谷歌收录,网站后台改不了设置目录 1.基础环境准备#xff08;两个节点都需要部署#xff09; 1.1关闭防火墙 1.2关闭selinux 1.3修改主机名 1.4安装ntp时间服务器 1.5修改域名解析 1.6添加yum源 2.数据库安装配置 2.1安装数据库 2.2修改数据库 2.3重启数据库 2.4初始化数据库 3.安装RabbitMq…目录 1.基础环境准备两个节点都需要部署 1.1关闭防火墙 1.2关闭selinux 1.3修改主机名 1.4安装ntp时间服务器 1.5修改域名解析 1.6添加yum源 2.数据库安装配置 2.1安装数据库 2.2修改数据库 2.3重启数据库 2.4初始化数据库 3.安装RabbitMq并配置 3.1安装RabbitMq 3.2启动并配置开机启动 3.3添加 openstack 用户 3.4给openstack用户开放权限 4.安装memcached OpenStack简介 OpenStack是由美国国家航空航天局NASA)与Rackspace公司合作研发并发起的以Apache许可证授权的自由软件和开放源代码的云计算技术解决方案其是一个项目也是一个软件主要用于实现云项目以云项目操作系统而存在。作用: 用于部署公有云、私有云并实现对云项目管理。 开发语言: Python 1.基础环境准备两个节点都需要部署 1.1关闭防火墙 systemctl stop firewalld systemctl disable firewalld 1.2关闭selinux setenforce 0 sed -i s/SELINUXenforcing/SELINUXdisabled/g /etc/selinux/config 1.3修改主机名 #注意改成每个节点的名字  hostnamectl set-hostname 节点名字 1.4安装ntp时间服务器 【在控制节点】 yum install chrony vi /etc/chrony.conf systemctl enable chronyd.service systemctl start chronyd.service 【在其他节点】 yum install chrony server controller iburst systemctl enable chronyd.service systemctl start chronyd.service 1.5修改域名解析 vi /etc/hosts 172.16.21.37 controller 172.16.21.38 compute 172.16.21.39 cinder 1.6添加yum源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum install -y centos-release-openstack-queens.noarch2.数据库安装配置 2.1安装数据库 yum install mariadb mariadb-server python2-PyMySQL -y 2.2修改数据库 [rootcontroller ~]# vim /etc/my.cnf.d/openstack.cnf [mysqld] bind-address 172.16.21.37 default-storage-engine innodb innodb_file_per_table max_connections 4096 collation-server utf8_general_ci character-set-server utf82.3重启数据库 systemctl enable mariadb.service systemctl start mariadb.service 2.4初始化数据库 [rootcontroller ~]# mysql_secure_installationNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDBSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!In order to log into MariaDB to secure it, well need the current password for the root user. If youve just installed MariaDB, and you havent set the root password yet, the password will be blank, so you should just press enter here.Enter current password for root (enter for none): OK, successfully used password, moving on...Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation.Set root password? [Y/n] y New password: Re-enter new password: Password updated successfully! Reloading privilege tables..... Success!By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment.Remove anonymous users? [Y/n] y... Success!Normally, root should only be allowed to connect from localhost. This ensures that someone cannot guess at the root password from the network.Disallow root login remotely? [Y/n] n... skipping.By default, MariaDB comes with a database named test that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.Remove test database and access to it? [Y/n] y- Dropping test database...... Success!- Removing privileges on test database...... Success!Reloading the privilege tables will ensure that all changes made so far will take effect immediately.Reload privilege tables now? [Y/n] y... Success!Cleaning up...All done! If youve completed all of the above steps, your MariaDB installation should now be secure.Thanks for using MariaDB!3.安装RabbitMq并配置 RabbitMq是一种应用程序对应用程序的通信方法。应用程序通过读写出入队列的消息针对应用程序的数据来通信而无需专用连接来链接它们。消息传递指的是程序之间通过在消息中发送数据进行通信而不是通过直接调用彼此来通信直接调用通常是用于诸如远程过程调用的技术。排队指的是应用程序通过队列来通信。队列的使用除去了接收和发送应用程序同时执行的要求。排队指的是应用程序通过 队列来通信。队列的使用除去了接收和发送应用程序同时执行的要求。 3.1安装RabbitMq yum install -y rabbitmq-server 3.2启动并配置开机启动 systemctl enable rabbitmq-server.service systemctl start rabbitmq-server.service 3.3添加 openstack 用户 rabbitmqctl add_user openstack 000000 3.4给openstack用户开放权限 rabbitmqctl set_permissions openstack .* .* .* 查看一下 [rootcontroller ~]# rabbitmqctl list_users Listing users openstack [] guest [administrator]打开RabbitMq图像界面这一步可以不做 rabbitmq-plugins enable rabbitmq_management 4.安装memcached memcached是一个开源的、高性能的分布式内存对象缓存系统。通过在内存中缓存数据和对象来减少读取数据库的次数从而提高网站访问速度减轻数据库负载。memcached是一种内存缓存把经常需要存储的对象或数据存在内存中。在内存中数据通过API的方式被存取数据经过利用HASH之后被存放到位于内存上的HASH表内HASH表中的数据已key-value的形式存放由于Memcached灭有实现访问认证及安全管理控制因此在面向Internet的系统架构中Memcached服务器通常位于用户的安全区域。 yum install memcached python-memcached -y 修改配置 [rootcontroller ~]# vi /etc/sysconfig/memcached PORT11211 USERmemcached MAXCONN1024 CACHESIZE64 OPTIONS-l 172.16.21.37,::1 systemctl enable memcached.service systemctl start memcached.service OpenStack简介 | 常见的基础组件
http://www.hkea.cn/news/14266611/

相关文章:

  • 怎样在手机上制作网站钉钉网站建设服务协议
  • 怎么在网站上做签到安徽合肥中国建设银行网站首页
  • 移动应用开发公司网站模板网站域名和备案公司可以不一样么
  • 淄博微信网站建设wordpress修改侧边栏
  • 四站合一网站建设wordpress添加主题设置功能
  • 企业门户网站模板环保网站建设说明
  • 内网怎么做网站服务器做网站框架可用jpg图吗
  • 广东专业网站优化公司报价免费企业宣传片制作软件
  • 北京网站排行德阳公司网站建设
  • 网站建设需要在网络上如何实现北京软件开发公司企云云
  • 网站架构搭建广告网站模板下载不了
  • 免费做漫画网站选thinkphp还是wordpress
  • 湘潭响塘乡建设局网站thinkphp5来做网站吗
  • 网站开发配置状态报告wordpress phonegap
  • 网页 网 址网站区别上海殷行建设网站
  • 网络营销导向网站建设的基础小型外包公司在哪找项目
  • 开发网站代码量南京网站排名提升
  • 营销型网站建设要多少钱说几个手机可以看的网站
  • 河南企起网站建设网络科技网站有哪些方面
  • 怎么在网站上建设投票统计河南新乡做网站公司
  • 手机客户端网站建设搜索关键词
  • 可以免费学编程的网站江苏网站建设 seo
  • 企业网站配色绿色配什么色合适哈尔滨网站建设排行
  • 网站建设需要考虑哪些因素免费建站排名
  • 建网站服务商做高端网站
  • 人物设计网站软件开发者对要发布的软件进行数字签名
  • 室内装修设计资质家居seo整站优化方案
  • 重庆荣昌网站建设报价网站建设在国内外有何趋势
  • 长沙大的建网站公司绿化面积 建设网站
  • 校友网站建设方案wordpress去掉页眉