
Centos问题汇总
91左狸
专业技能数十载,擅长打野升级
展开
-
Linux单向pint通
俩台同网段的Cent os只能单向ping通问题解决1、查看防火墙和selinux2、查看/proc/sys/net/ipv4/icmp_echo_ignore_all文件的值是什么 1代表禁用ping,0代表开启echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all原创 2016-04-07 18:22:40 · 968 阅读 · 0 评论 -
apache启动脚本
源码安装的apache服务,启动不会显示OK,更换脚本就可以了#!/bin/bash## Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this w原创 2016-04-07 18:26:03 · 823 阅读 · 0 评论 -
Cent os ssh启动问题
/etc/init.d/sshd 开启秘钥认证的UsePAM yes 选项,重启ssh服务会报下面的错误/etc/init.d/sshd restartStopping sshd: [ OK ]Starting sshd: /etc/ssh/sshd_config line 97: Unsu原创 2016-06-02 12:50:02 · 6426 阅读 · 0 评论 -
Cent os mysql主从同步问题
查看从库报错 Last_SQL_Error: Could not execute Update_rows event on table bbs.cdb_myposts_21; Can't find record in 'myposts_21', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master lo原创 2016-08-10 14:27:14 · 552 阅读 · 0 评论 -
php yar扩展json错误
编译安装php yar扩展时出现下面错误,网上找了找说要安装json扩展,可是不管用,看下/usr/local/src/yar-1.2.5/packagers/json.c文件发现里面会使用ext/json/php_json.h文件这个文件在安装好的php目录下,我的目录是/usr/local/php/include/ext/ 在这个目录下没有发现json目录,从php相对应的解压包中拷原创 2016-06-30 14:03:34 · 663 阅读 · 0 评论