欢迎光临IT网Linux学习频道

当前位置: > CentOS > CentOS入门 >
  • [CentOS入门] Centos中压缩(zip)和解压(unzip)命令 日期:2014-11-30 15:21:18 点击:103 好评:0

    Centos下大部分同学都在用tar解压缩,现在我们来了解一下zip压缩和unzip解压。 查看zip的参数 [it@inner ~]$ zip -h 压缩命令 [wangshangyou@inner ~]$ zip -r wwwroot.zip wwwroot 解压命令 [it@inner ~]$ unzip wwwroot.zip #############################...

  • [CentOS入门] Centos网络配置(手动设置和自动获取)IP的2种方法 日期:2014-11-30 15:17:01 点击:86 好评:0

    CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2、安装iptables防火墙 yum install iptables-servic...

  • [CentOS入门] CentOS 7.0,启用iptables防火墙 日期:2014-11-30 15:14:38 点击:138 好评:0

    CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2、安装iptables防火墙 yum install iptables-servic...

  • [CentOS入门] CentOS下top命令引起系统负载升高 日期:2014-11-30 02:16:39 点击:54 好评:0

    一、问题表现 系统负载升高,某一个核的cpu资源被top进程耗尽,如下图所示: 二、分析过程 通过strace命令打印top进程信息,出现大量重复的系统调用,如下: 查看top进程的fd信息如下: 通过以上信息推断,top进程的输入输出异常,触发select返回文件描述符...

  • [CentOS入门] LINODE CentOS 7.0 修改主机名 日期:2014-11-29 21:25:34 点击:116 好评:0

    vi /etc/hostname service network restart...

  • [CentOS入门] CentOS 7.0 修改时区 日期:2014-11-29 21:24:15 点击:121 好评:0

    以东8区为例: ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 或者使用 UTC 时间: ln -sf /usr/share/zoneinfo/UTC /etc/localtime...

  • [CentOS入门] CENTOS 7 KDE 安装后的设置 日期:2014-11-29 21:06:08 点击:183 好评:0

    安装NTFS支持:到 http://rpmfind.net/linux/rpm2html/search.php?query=ntfs-3g 下载,7.0适配的是Extras Testing Packages for Enterprise Linux 7 for x86_64surpm -i ntfs-3g-2014.2.15-6.el7.x86_64.rpm打开文件管理器点击NTFS文件分区即可自动挂载RPM包...

  • [CentOS入门] CENTOS 7 手工调节屏幕亮度 日期:2014-11-29 21:05:14 点击:559 好评:-4

    新建三个文本文件并给予执行权限: up.sh if [ ! -w /sys/class/backlight/intel_backlight/brightness ];then echo password | sudo -S chmod 777 /sys/class/backlight/intel_backlight/brightnessfiread bright /sys/class/backlight/intel_backlight/bri...

  • [CentOS入门] CentOS(Linux)中添加单个IP和批量添加多个IP的方法 日期:2014-11-29 20:29:10 点击:176 好评:2

    CentOS(Linux)中添加单个IP和批量添加多个IP的方法 一、添加单个IP地址: 在/etc/sysconfig/network-scripts/中新建文件ifcfg-eth0:*,*为数字序号,多个IP则依次增大 以0为例,建立文件ifcfg-eth0:0 cd /etc/sysconfig/network-scripts/ vi ifcfg-eth0:0 输...

  • [CentOS入门] 命令行方式关闭CentOS防火墙实例 日期:2014-11-28 18:53:33 点击:123 好评:0

    linux下命令行方式关闭防火墙,即iptables防火墙,分两种情况。 在iptables防火墙中开启80(www)与22(ssh)端口: 代码示例: #/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT #/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT #/etc/rc.d/init.d/...

  • 首页
  • 上一页
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 下一页
  • 末页
  • 2402393
栏目列表
推荐内容