一、安装KVM安装KVM模块、管理工具、libvirt命令行安装[root@Centos1~]#yuminstall-ykvmvirt-managerlibvirt注:KVM:虚拟化模块virt-manager:KVM图形化管理模块libvirt:虚拟化服务扩展:RHEL上可以安装vmware吗?有linux版本么?可以的linux下有vmware安装包,而且是rpm包,..
分类:
其他好文 时间:
2016-09-06 01:13:16
阅读次数:
145
下载openfirewgethttp://download.igniterealtime.org/openfire/openfire-3.9.3-1.i386.rpm安装openfireyuminstall-y/home/openfire-3.9.3-1.i386.rpm安装运行库yuminstall-yglibc.i686添加开启启动chkconfigopenfireon启动openfire服务systemctlstartopenfire.service防火墙IP..
分类:
其他好文 时间:
2016-09-05 17:22:48
阅读次数:
220
一、准备工作:软件默认下载在/usr/local/src下,安装在/app/local下的php、mysql、nginx、data目录下,安装顺序按照nginx->mysql->php进行编译工具集:yuminstall-ywgetgccgcc-c++autoconfautomakecmakebisonm4libxml2libxml2-devellibcurl-devellibjpeg-devellibpng-dev..
分类:
数据库 时间:
2016-09-04 00:16:05
阅读次数:
271
安装:yuminstall-yhttpdphp查看版本:、rpm-qahttpdphphttpd-2.2.15-54.el6.centos.x86_64php-5.3.3-48.el6_8.x86_64修改apache配置文件:vim/etc/httpd/conf/httpd.conf在#ServerNamewww.example.com:80行下添加一行ServerNamelocalhost:80将里面的Listen80改为Listen“你的I..
分类:
数据库 时间:
2016-09-02 07:41:42
阅读次数:
157
问题描述:通过yuminstall-yhttpd安装好Apache后启动报错,如下:[root@it3246~]#servicehttpdstart正在启动httpd:httpd:apr_sockaddr_info_get()failedforit3246httpd:Couldnotreliablydeterminetheserver‘sfullyqualifieddomainname,using127.0.0.1forServerName[确定]解决..
分类:
Web程序 时间:
2016-09-02 01:10:30
阅读次数:
215
1.安装LAMP并启动服务yuminstall-yhttpdmysqlmysql-libsphpphp-mysqlmysql-serverphp-bcmathphp-gdphp-mbstrin
/etc/init.d/httpdstart;/etc/init.d/mysqldstart2.JDK的安装cd/usr/local/src
wgethttp://download.oracle.com/otn-pub/java/jdk/8u71-b15/jdk-8u71-linux-x64.tar..
分类:
其他好文 时间:
2016-09-01 16:39:36
阅读次数:
203
第一部分----nginx基本应用源码编译安装nginx1、安装pcre软件包(使nginx支持httprewrite模块)yuminstall-ypcre
yuminstall-ypcre-devel2、安装openssl-devel(使nginx支持ssl)yuminstall-yopenssl-devel3、创建用户nginxuseraddnginx
passwdnginx4、安装nginx[root@localhos..
分类:
其他好文 时间:
2016-09-01 00:25:01
阅读次数:
246
$yuminstall-yntp#安装NTP服务包$cd/etc$cpntp.confntp.conf.bak#备份配置文件$vimntp.conf#修改配置文件driftfile/var/lib/ntp/driftrestrictdefaultkodnomodifynotrapnopeernoqueryrestrict-6defaultkodnomodifynotrapnopeernoqueryrestrict127.0.0.1restrict-6::1#注册本地..
分类:
其他好文 时间:
2016-08-31 07:14:50
阅读次数:
165
我测试成功后,写成了脚本,内容如下:#!/bin/bash#在yum可用的情况下运行此脚本serviceiptablesstop&>/dev/null&&echo“关闭防火墙”echo“安装vsftpd”yuminstall-yvsftpd&>/dev/nullif[$?-eq0]thenecho“服务正在下载安装中…”elseecho“服务下载安..
分类:
其他好文 时间:
2016-08-30 22:59:04
阅读次数:
277
总结的都是一些自己用到的比较简单的知识,关于state.sls和playbooks等知识还在学习当中。。。ansible轻量级自动化运维工具,基于ssh,无需客户端安装和配置1、主控端装ansible(yuminstall-yansible)2、将主控端的公钥导入到受控端3、主控端/etc/ansible/hosts文件里写入受控..
分类:
其他好文 时间:
2016-08-30 22:55:26
阅读次数:
293