本文系统:Centos6.5_x64三台主机:nginx主机,hostname:master.lansgg.comIP:192.168.10.128apache主机,hostname:client1.lansgg.comIP:192.168.10.129一、nginx地址重定向二、nginx反向代理1、地址重定向:是指当使用者浏览某个网址时,将他导向到另一个网址的技术。常用在..
分类:
Web程序 时间:
2014-11-11 14:34:46
阅读次数:
1299
centos7 修改selinux 开机导致 faild to load SELinux policy freezing 错误之前把selinux关闭了,这次想打开selinux,于是修改了 /etc/selinux/config 文件,然后重启时,就开不了机了,出现错误:faild to load...
分类:
系统相关 时间:
2014-11-11 14:04:36
阅读次数:
11131
1. 环境与说明 在ubuntu14.04 server上部署ceph-0.87;设置rbdmap自动挂载/卸载rbd块设备;利用带rbd支持的tgt导出iscsi的rbd块。 2. 安装ceph 1)配置hostname与无密码登录 root@mon0:/etc/ceph# cat /etc/host...
分类:
系统相关 时间:
2014-11-11 12:54:00
阅读次数:
430
centos7不同于以往linux的操作,对于开机自启动的调整,命令有所不同。chkconfig--list查看非系统内置服务的自启动状态[root@vd13crmtb01~]#chkconfig--listNote:ThisoutputshowsSysVservicesonlyanddoesnotincludenativesystemdservices.SysVconfigurationdatamightbeoverridd..
分类:
其他好文 时间:
2014-11-11 10:58:24
阅读次数:
228
CentOS7上:modprobebondingecho+bond1>/sys/class/net/bonding_masters通过sysfs接口配置Bonding。详细信息可以通过sysfs接口配置网络Bonding。该接口允许在系统中动态配置所有Bond,而无需卸载Bonding模块。此外,它还允许在运行时添加或删除Bond。不再需要使用ifenslave..
分类:
系统相关 时间:
2014-11-10 15:41:07
阅读次数:
452
原文:SQL Server 死锁检查示例代码: select spid, blocked, status, hostname, program_name, hostprocess, cmd from sysprocesses where dbid = db_id('xxx') and blocked...
分类:
数据库 时间:
2014-11-10 13:26:01
阅读次数:
177
由于centos 7 抛弃了mysql 转投 mariadb 了直接运行mysql 命令会出错!启动mariadb 服务就可以使用mysql命令了systemctl enable mariadb #设置开机启动systemctl start mariadb #启动MariaDBsystemctl.....
分类:
数据库 时间:
2014-11-09 22:00:19
阅读次数:
228
捣鼓了几天终于顺利的在win7上安装上CentOS7了,现在给大家分享下个人的经验。参考文章:http://www.cnblogs.com/Johness/archive/2012/12/03/2800126.htmlhttp://fyq891014.blog.163.com/blog/static/20074019120136163938790/1、难点介绍:(1)linux系统能识别windows下FAT3..
分类:
Windows程序 时间:
2014-11-09 06:22:57
阅读次数:
1849
示例代码:select spid, blocked, status, hostname, program_name, hostprocess, cmd from sysprocesses where dbid = db_id('xxx') and blocked > 0 -- kill spid_x...
分类:
数据库 时间:
2014-11-08 11:48:30
阅读次数:
222
今天维护一台很老的浪潮服务器配置如下intel5100主板xeon3.4g2gddr2*4raid5centos7准备配置网桥在network-scripts目录新建ifcfg-br0文件按照教程将网卡enp7s0配置复制并在enp7s0(下文简称s0)添加BRIDGE重启网络服务systemctlrestartnetwork(centos7使用新的方式)连接中断用..
分类:
其他好文 时间:
2014-11-08 02:15:13
阅读次数:
502