<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>商会资讯 - CentOS</title>
    <link>http://smellage.com/forum-63-1.html</link>
    <description>Latest 20 threads of CentOS</description>
    <copyright>Copyright(C) 商会资讯</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 01 May 2026 00:01:35 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://smellage.com/static/image/common/logo_88_31.gif</url>
      <title>商会资讯</title>
      <link>http://smellage.com/</link>
    </image>
    <item>
      <title>No package php-mcrypt available</title>
      <link>http://smellage.com/thread-109-1-1.html</link>
      <description><![CDATA[yum  install epel-release  //扩展包更新包
错误：No package php-mcrypt available
yum  update //更新yum源
yum install libmcrypt libmcrypt-devel mcrypt mhash  
就ok了?其实到这里装这个扩展没什么大用途。因为没编译成为php环境下对于phpcms就不起作用了。为了 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Mon, 07 Sep 2020 06:17:49 +0000</pubDate>
    </item>
    <item>
      <title>自己制作ssl证书：自己签发免费ssl证书，为nginx生成自签名...</title>
      <link>http://smellage.com/thread-103-1-1.html</link>
      <description><![CDATA[这里说下Linux 系统怎么通过openssl命令生成 证书。
 首先执行如下命令生成一个key
  openssl genrsa -des3 -out ssl.key 1024
  然后他会要求你输入这个key文件的密码。不推荐输入。因为以后要给nginx使用。每次reload nginx配置时候都要你验证这个PAM密码的。
  由于 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 03 Sep 2019 14:09:03 +0000</pubDate>
    </item>
    <item>
      <title>hyper-v 单卡配置NAT</title>
      <link>http://smellage.com/thread-102-1-1.html</link>
      <description><![CDATA[hyper-v 单卡配置内部NAT
administrator运行Powershell
New-VMSwitch -SwitchName \&quot;SwitchName\&quot; -SwitchType Internal
New-NetIPAddress -IPAddress 192.168.138.1 -PrefixLength 24 -InterfaceIndex 24
Get-NetAdapter
windows配置路由和远程用户，选NAT，选连Internet ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Mon, 02 Sep 2019 07:34:04 +0000</pubDate>
    </item>
    <item>
      <title>Linux sync命令作用及使用方法</title>
      <link>http://smellage.com/thread-99-1-1.html</link>
      <description><![CDATA[在讲Linux sync命令作用及使用方法之前，要先了解一下buffer与cache的基本概念。
]]></description>
      <category>CentOS</category>
      <author>admin</author>
<enclosure url="/forum/cache，为了解决读磁盘的效率。
" length="Linux系统为了提高读写磁盘的效率，会先将数据放在一块buffer中。
" type="image/jpeg" />      <pubDate>Tue, 09 Apr 2019 07:03:04 +0000</pubDate>
    </item>
    <item>
      <title>Linux手动释放缓存的方法</title>
      <link>http://smellage.com/thread-98-1-1.html</link>
      <description><![CDATA[Linux释放内存的命令：
sync
echo 1 &gt; /proc/sys/vm/drop_caches

drop_caches的值可以是0-3之间的数字，代表不同的含义：
0：不释放（系统默认值）
1：释放页缓存
2：释放dentries和inodes
3：释放所有缓存

释放完内存后改回去让系统重新自动分配内存。
echo 0 &gt;/proc ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 09 Apr 2019 06:27:17 +0000</pubDate>
    </item>
    <item>
      <title>如何解决WDCP Apache错误日志巨大的问题以及减小错误日志的...</title>
      <link>http://smellage.com/thread-97-1-1.html</link>
      <description><![CDATA[这几天 Apache 错误日志巨大，莫名其妙的有9.8G，而且很多都是那种页面不存在的网站太多了，死链接相应的也很多，于是把错误警告调低了。
因为写日志会给系统带来很大的损耗。关闭日志以后，甚至最高可以提高整体性能近40%（粗略估计）。那么如何关闭日志呢？
可以通过 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Thu, 04 Apr 2019 09:24:24 +0000</pubDate>
    </item>
    <item>
      <title>Nginx limit模块限制并发数</title>
      <link>http://smellage.com/thread-95-1-1.html</link>
      <description><![CDATA[nginx 限制ip并发数，nginx限制IP连接数的范例参考：                 如何Nginx限制同一个ip的连接数，限制并发数目:         1.添加limit_zone和limit_req_zone 这个变量只能在http使用 :                  vi /export/servers/nginx/conf/nginx.conf
        ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Fri, 11 Jan 2019 09:32:25 +0000</pubDate>
    </item>
    <item>
      <title>CentOS下防御或减轻DDoS攻击方法（转）</title>
      <link>http://smellage.com/thread-94-1-1.html</link>
      <description><![CDATA[1 114.226.9.1321 174.129.237.1571 58.60.118.1421 Address1 servers)2 118.26.131.783 123.125.1.2023 220.248.43.1194 117.36.231.2534 119.162.46.1246 219.140.232.1288 220.181.61.312311 67.215.242.196
前面的数字表示IP连接的次数，可见最后一个IP 67.215.242. ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Fri, 21 Dec 2018 08:28:37 +0000</pubDate>
    </item>
    <item>
      <title>CentOS系统yum源配置修改、yum安装软件包源码包出错解决办...</title>
      <link>http://smellage.com/thread-87-1-1.html</link>
      <description><![CDATA[yum安装包时报错：
解决办法：

1、下载新的CentOS-Base.repo 到/etc/yum.repos.d/【版本是5.*的下载5、6.*下载6、7.*下载7】
5.*的下载连接：
6.*的下载连接：
7.*的下载连接：
2、然后执行以下命令：

[root@localhost ~]# rpm -e rpmforge-release --nodeps

[root@l ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Sat, 06 Jan 2018 03:00:45 +0000</pubDate>
    </item>
    <item>
      <title>openssl生成服务器客户端秘钥已经颁发证书等配置命令</title>
      <link>http://smellage.com/thread-74-1-1.html</link>
      <description><![CDATA[1.首先要生成服务器的私钥:
openssl genrsa -des3 -out server.key 2048

{注：openssl rsa -in server.key -out server.key
执行这个命令之后，再启动nginx时，就无需输入密码}


2. 用server.key生成一个证书
openssl req -new -key server.key -out server.csr
生成 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 01 Aug 2017 07:41:57 +0000</pubDate>
    </item>
    <item>
      <title>wdcp无法启动mysql提示ERROR! Manager of pid-file quit without updating f...</title>
      <link>http://smellage.com/thread-55-1-1.html</link>
      <description><![CDATA[find / -name *.err  查错误日志
find / -name my.cnf  修改mysql配置文件
搞定！

客户的VPS上装的WDCP面板，他在给mysql导入数据的时候提示：#1153 – Got a packet bigger than ‘max_allowed_packet’ bytes
  我帮他修改/etc/my.cnf配置，调高里面的 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Fri, 16 Dec 2016 05:22:45 +0000</pubDate>
    </item>
    <item>
      <title>如何把linux的文件系统从ext2无损升级到ext4</title>
      <link>http://smellage.com/thread-53-1-1.html</link>
      <description><![CDATA[基本步骤：
1确认内核版本和系统环境支持ext4 (推荐升至2.6.28以上，lsmod |grep ext4)
2卸载要升级的分区(在线卸不掉则需要进单用户)
3 tune2fs -O has_journal,extents,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize来给分区加入ext4的特性
4 e2fsck -fDC0 /dev ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 09:18:34 +0000</pubDate>
    </item>
    <item>
      <title>如何查看linux硬盘分区是ext2还是ext3</title>
      <link>http://smellage.com/thread-52-1-1.html</link>
      <description><![CDATA[可以使用df -Th

[root@mail ~]# df -Th

参数用处如下：
-T 显示文件系统类型。
-h:以容易理解的格式输出文件系统大小,例如124KB、345MB、46GB。]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 09:16:03 +0000</pubDate>
    </item>
    <item>
      <title>请问linux系统里面EXT2/3/4，分别支持最大分区和最大单文件...</title>
      <link>http://smellage.com/thread-51-1-1.html</link>
      <description><![CDATA[Ext4 是 Ext3 的改进版，修改了 Ext3 中部分重要的数据结构，而不仅仅像 Ext3 对 Ext2 那样，只是增加了一个日志功能而已。Ext4 可以提供更佳的性能和可靠性，还有更为丰富的功能：

1. 与 Ext3 兼容。执行若干条命令，就能从 Ext3 在线迁移到 Ext4，而无须重新格式化磁 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 09:09:53 +0000</pubDate>
    </item>
    <item>
      <title>ext2,ext3&amp;ext4文件系统的相互转换</title>
      <link>http://smellage.com/thread-50-1-1.html</link>
      <description><![CDATA[1：ext2--&gt;ext3[/backcolor]使用命令tune2fs来做[/backcolor]/sbin/tune2fs -j 或者 tune2fs -O has_journal[/backcolor]例如：/dev/mapper/vg-lvm这个分区时ext2文件系统，那么做如下操作[/backcolor]tune2fs -j/dev/mapper/vg-lvm 即可,[/backcolor]注意将ext2文件 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 09:05:09 +0000</pubDate>
    </item>
    <item>
      <title>Ext2文件系统转换为Ext3的方法</title>
      <link>http://smellage.com/thread-49-1-1.html</link>
      <description><![CDATA[Ext2文件系统在操作系统崩溃或者非法关机的情况下重启之后，要开始漫长的自检过程。自检的时间大致和硬盘的大小有关。因此，现在大部分LINUX系统在安装的时候都使用了Ext3。但如果使用了Ext2文件系统，又不想重装系统的话，可以采用下面提供的方法将Ext2转换为Ext3。

 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 09:02:51 +0000</pubDate>
    </item>
    <item>
      <title>Linux如何格式化磁盘啊？</title>
      <link>http://smellage.com/thread-48-1-1.html</link>
      <description><![CDATA[linux格式化磁盘命令：mkfs。
案例：格式化sda1分区

使用方式 : mkfs [-V] [-t fstype]
[fs-options] 
说明 ： 建立 linux 档案系统在特定的partition上
参数 ：
device ： 预备检查的硬盘 partition，例如：/dev/sda1；
-V : 详细显示模式；
-t : 给定档案系统的型式 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 09:00:14 +0000</pubDate>
    </item>
    <item>
      <title>Linux mkfs命令</title>
      <link>http://smellage.com/thread-47-1-1.html</link>
      <description><![CDATA[使用方式 : mkfs [-V] [-t fstype] [fs-options] filesys 
Linux mkfs命令用于在特定的分区上建立 linux 文件系统
参数 ：

[*]device ： 预备检查的硬盘分区，例如：/dev/sda1
[*]-V : 详细显示模式
[*]-t : 给定档案系统的型式，Linux 的预设值为 ext2
[*]-c : 在制做 ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 08:58:35 +0000</pubDate>
    </item>
    <item>
      <title>关于Linux下总文件数与单个目录下子目录数/文件数限制问题</title>
      <link>http://smellage.com/thread-46-1-1.html</link>
      <description><![CDATA[一、文件数限制：
    系统所能生成的总的文件数受系统所剩节点数限制，执行
tune2fs -l /dev/sda1（目录所在的分区） |grep inodes
    可以查看剩余节点数
在一台ext3的系统中执行，结果为
Free inodes:              845504
2种解决办法：   
1、重新mkfs，mkfs时将i ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 22 Nov 2016 08:56:08 +0000</pubDate>
    </item>
    <item>
      <title>centos 定时任务</title>
      <link>http://smellage.com/thread-36-1-1.html</link>
      <description><![CDATA[首先ssh连接服务器，运行： crontab -ecrontab文件的含义：用户所建立的crontab文件中，每一行都代表一项任务，每行的每个字段代表一项设置，它的格式共分为六个字段，前五段是时间设定段，第六段是要执行的命令段，格式如下：minute   hour   day   month   week   com ...]]></description>
      <category>CentOS</category>
      <author>admin</author>
      <pubDate>Tue, 13 Sep 2016 01:42:30 +0000</pubDate>
    </item>
  </channel>
</rss>