CentOS升级内核

因为项目的需求,需要用到intel的一些工具,要求内核在4.x,记录一下升级的办法 1. 用yum进行升级 yum -y install kernel 如果提示 At least 2MB more space needed on the /boot filesystem. 注意是/boot,说明是旧的内核版本太多,删掉就可以了 #查看内核版

CentOS执行ftp命令提示ftp:command not found解决方法

这篇文章主要介绍了CentOS执行ftp命令提示ftp:command not found解决方法,一般服务器安装的软件包都是最小安装,因此可能会遇到一些命令无法使用的情况,本文即为解决ftp命令无法使用的情况而写,需要的朋友可以参考下 在使用centos时, 要用ftp上传文件, 但是一

centos – 查找导致随机502网关错误的Nginx/PHP-FPM瓶颈

我在一个相当繁忙的互联网网站工作,通常会有非常大的流量峰值.在这些峰值期间,请求每秒数百页,这会产生随机502网关错误.现在我们在配备4核SAS 15k驱动器(raid10)的机器上运行Nginx(1.0.10)和PHP-FPM,配备16核CPU和24GB DDR3内存.我们还使用了最新的Xcache版本

解决CentOS 7 history命令不显示操作记录的时间和用户身份问题

centos6 中history命令显示操作命令的时间和用户身份 [root@node02~]#history2942017-01-0616:46:48rootclear2952017-01-0616:46:50rootll2962017-01-0616:46:52rootcathostname.sh2972017-01-06

centos 6.4 fdisk分区、格式化、挂载新硬盘

1、# fdisk -l 查看当前磁盘信息,就会发现最下面显示新加入的硬盘不是有效分区,如下: 1 2 3 4 5 6 7 8 [root@localhost /] # fdisk -l Disk /dev/xvdb : 429.5 GB, 429496729600 bytes 255 heads, 63 sectors /track , 52216 cylinders Units = cyl

centos安装docker

Install with yum Log into your machine as a user with sudo or root privileges. Make sure your existing packages are up-to-date. $ sudo yum update Add the yum repo. $ sudo tee /etc/yum.repos.d/docker.r

centos7.2 安装zabbix3.0详解

关闭防火墙: systemctl stop firewalld.service systemctl disable firewalld.service 关闭selinux: [root@localhost ~]# setenforce 0 [root@localhost ~]# sed -i/SELINUX/s/enforcing/disabled/ /etc/selinux/config

centOS防火墙中端口的开启和关闭

1、开启端口(以80端口为例) 方法一: /sbin/iptables -I INPUT -p tcp –dport 80 -j ACCEPT写入修改 /etc/init.d/iptables save保存修改 service iptables restart重启防火墙,修改生效 方法二:

centos升级gcc

1. 下载新的源 wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo# 可能需要更新一下repo源: yum makecacheyum install devtoolset-2-gc

centos Iptables学习笔记

一、防火墙,iptables和netfilter定义 防火墙:是由软件和硬件设备组合而成的一种隔离技术,它工作于网络或主机的边缘(通信报文的进出口),对于进出本网络或主机的数据包根据事先定义的检测规则进行匹配检测,允许或是限制传输的数据包通过。 netfilter :内

返回顶部