<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>数码鹭岛论坛 - LAMP</title>
    <link>https://clore.net/forum/forum-lamp-1.html</link>
    <description>Latest 20 threads of LAMP</description>
    <copyright>Copyright(C) 数码鹭岛论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 25 Aug 2026 03:44:46 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://clore.net/forum/static/image/common/logo_88_31.gif</url>
      <title>数码鹭岛论坛</title>
      <link>https://clore.net/forum/</link>
    </image>
    <item>
      <title>windows netsh设置代理服务器/端口转发</title>
      <link>https://clore.net/forum/thread-10443-1-1.html</link>
      <description><![CDATA[linux/unix中使用ssh命令，而windows中也有类似的命令netsh。客户端链接物理主机的“服务端口a”和“服务端口b”从而访问虚拟机中的服务。

命令如下
可以查看存在的转发 
netsh interface portproxy show all

添加一个IPV4到IPV4的端口映射 
netsh interface portprox ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Fri, 24 Aug 2018 07:26:32 +0000</pubDate>
    </item>
    <item>
      <title>linux中shell变量$#,$@,$0,$1,$2的含义解释</title>
      <link>https://clore.net/forum/thread-10442-1-1.html</link>
      <description><![CDATA[linux中shell变量$#,$@,$0,$1,$2的含义解释: 
变量说明: 
$$ 
Shell本身的PID（ProcessID） 
$! 
Shell最后运行的后台Process的PID 
$? 
最后运行的命令的结束代码（返回值） 
$- 
使用Set命令设定的Flag一览 
$* 
所有参数列表。如\&quot;$*\&quot;用「\&quot;」括起来的情况、以\&quot;$1 $2  ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Thu, 27 Jul 2017 08:21:50 +0000</pubDate>
    </item>
    <item>
      <title>性能优化中CPU、内存、磁盘IO、网络性能的依赖</title>
      <link>https://clore.net/forum/thread-10441-1-1.html</link>
      <description><![CDATA[系统优化是一项复杂、繁琐、长期的工作，优化前需要监测、采集、测试、评估，优化后也需要测试、采集、评估、监测，而且是一个长期和持续的过程，不 是说现在优化了，测试了，以后就可以一劳永逸了，也不是说书本上的优化就适合眼下正在运行的系统，不同的系统、不同的 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Tue, 27 Jun 2017 06:38:23 +0000</pubDate>
    </item>
    <item>
      <title>强大的grep用法详解:grep与正则表达式</title>
      <link>https://clore.net/forum/thread-10440-1-1.html</link>
      <description><![CDATA[http://hi.baidu.com/nearlove/blog/item/11db98b6b5b8aff831add1e5.html
 
首先要记住的是: 正则表达式与通配符不一样,它们表示的含义并不相同!
正则表达式只是一种表示法,只要工具支持这种表示法， 那么该工具就可以处理正则表达式的字符串。vim、grep、awk 、sed 都 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Mon, 22 May 2017 02:02:47 +0000</pubDate>
    </item>
    <item>
      <title>请求复制器em-proxy</title>
      <link>https://clore.net/forum/thread-10438-1-1.html</link>
      <description><![CDATA[https://github.com/igrigorik/em-proxy

$&gt; gem install em-proxy
$&gt; em-proxy
Usage: em-proxy [options]
  -l, --listen [PORT]              Port to listen on
  -d, --duplex [host:port, ...]    List of backends to duplex data to
  -r, --relay [hostname:]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Thu, 08 Dec 2016 08:11:11 +0000</pubDate>
    </item>
    <item>
      <title>安装ruby gem环境</title>
      <link>https://clore.net/forum/thread-10437-1-1.html</link>
      <description><![CDATA[yum -y install ruby ruby-devel rubygems

请尽可能用比较新的 RubyGems 版本，建议 2.6.x 以上。

$ gem update --system 
$ gem -v
2.6.3

$ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
$ gem sources -l
https://gems.ruby-ch ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Thu, 08 Dec 2016 07:47:45 +0000</pubDate>
    </item>
    <item>
      <title>linux批量修改文件名</title>
      <link>https://clore.net/forum/thread-10436-1-1.html</link>
      <description><![CDATA[正则替换例子
for i in `ls *_CDNQOS_*`; do echo `echo $i | sed \'s#\\(.*\\)_CDNQOS_\\(.*\\)#../data/CDNQOS_\\1_\\2#\'`; done]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Sat, 10 Oct 2015 08:58:53 +0000</pubDate>
    </item>
    <item>
      <title>Linux格式化硬盘 常用命令小记</title>
      <link>https://clore.net/forum/thread-10435-1-1.html</link>
      <description><![CDATA[基本功，格式化命令，以格式化 /dev/sda1 分区为例：
$ sudo umount /dev/sda1    # 必须先卸载该分区

# 格式化为 FAT 分区
$ sudo mkfs.vfat -F 32 /dev/sda1       # -F 参数必须大写，参数有 12，16 和 32，分别对应 FAT12，FAT16，FAT32。

# 格式化为 NTFS 分区， ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Tue, 23 Jun 2015 01:42:59 +0000</pubDate>
    </item>
    <item>
      <title>Linux下查看Raid磁盘阵列信息的方法</title>
      <link>https://clore.net/forum/thread-10434-1-1.html</link>
      <description><![CDATA[以下是组建服务器raid时查到的资料，做下笔记，没兴趣的朋友请无视。

Linux下查看软、硬raid信息的方法。

软件raid：只能通过Linux系统本身来查看

cat /proc/mdstat

可以看到raid级别，状态等信息。

硬件raid： 最佳的办法是通过已安装的raid厂商的管理工具来查看 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Mon, 22 Jun 2015 08:38:36 +0000</pubDate>
    </item>
    <item>
      <title>Linux查看CPU信息、机器型号等硬件信息</title>
      <link>https://clore.net/forum/thread-10433-1-1.html</link>
      <description><![CDATA[做性能测试需要记录性能测试机器的硬件信息，现将需要的命令总结如下：

查看CPU信息（型号）
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
      8  Intel(R) Xeon(R) CPU            E5410   @ 2.33GHz
(看到有8个逻辑CPU, 也知道了CPU型号)

# cat /pro ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Mon, 22 Jun 2015 08:35:57 +0000</pubDate>
    </item>
    <item>
      <title>linux端口映射转发工具rinetd安装使用</title>
      <link>https://clore.net/forum/thread-10425-1-1.html</link>
      <description><![CDATA[linux端口映射转发工具rinetd安装使用

 
1、下载wget http://www.boutell.com/rinetd/http/rinetd.tar.gz
    版本号rinetd 0.62

2、安装
    tar zxvf rinetd.tar.gz
    cd rinetd
 
3、运行make  #可能会出现错误，需如下修改：
    vi rinetd.c
    输入/bindPort ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Thu, 09 Apr 2015 07:48:47 +0000</pubDate>
    </item>
    <item>
      <title>shell脚本中使用其他用户执行脚本</title>
      <link>https://clore.net/forum/thread-10413-1-1.html</link>
      <description><![CDATA[1,用su，当我们需要以其他身份执行 command，或者shell脚本。一般命令如下：

a. 切换用户只执行一条命令的可以用:  su - oracle -c your_command
b. 切换用户执行一个shell文件可以用：su - oracle -s /bin/bash your_shell.sh

2，在某些软件安装过程中，要创建独立用 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Tue, 16 Dec 2014 09:40:14 +0000</pubDate>
    </item>
    <item>
      <title>Linux列出当前系统打开文件的工具 LSOF介绍</title>
      <link>https://clore.net/forum/thread-10412-1-1.html</link>
      <description><![CDATA[lsof全名list opened files，也就是列举系统中已经被打开的文件。我们都知道，linux环境中，任何事物都是文件，
设备是文件，目录是文件，甚至sockets也是文件。所以，用好lsof命令，对日常的linux管理非常有帮助。
 
lsof是linux最常用的命令之一，通常的输出格式为：
 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Tue, 16 Dec 2014 09:34:35 +0000</pubDate>
    </item>
    <item>
      <title>linux下不解包查看tar包文件内容</title>
      <link>https://clore.net/forum/thread-10409-1-1.html</link>
      <description><![CDATA[为减少日志文件占用的空间，很多情况下我们会将日志文件以天或周为周期打包成tar.gz 包保存。虽然这样做有利空间充分利用，但当我们想查看压缩包内的内容时确很不方便。如果只是一个tar.gz文件，可以将其解压，再利用grep、awk或vi等工具查看或处理。不过如果有一个月 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Wed, 03 Dec 2014 06:24:07 +0000</pubDate>
    </item>
    <item>
      <title>修改OS对线程的限制</title>
      <link>https://clore.net/forum/thread-10408-1-1.html</link>
      <description><![CDATA[java程序遇到: unable to create new native thread

在Linux操作系统设定nofile和nproc，具体编辑/etc/security/limits.conf添加如下：
  soft    nofile          2048  
   hard    nofile          8192  

  soft    nproc           2048  
   hard    nproc      ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Wed, 03 Dec 2014 04:44:33 +0000</pubDate>
    </item>
    <item>
      <title>Linux查看Dell服务器型号</title>
      <link>https://clore.net/forum/thread-10407-1-1.html</link>
      <description><![CDATA[dmidecode | grep \&quot;Product Name\&quot;
输出结果： 
Product Name: PowerEdge RXXX
Product Name: XXXXXX]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Mon, 01 Dec 2014 06:46:50 +0000</pubDate>
    </item>
    <item>
      <title>linux命令 — lsof 查看进程打开那些文件 或者 查看文件给那个进程使用</title>
      <link>https://clore.net/forum/thread-10405-1-1.html</link>
      <description><![CDATA[lsof命令是什么？

可以列出被进程所打开的文件的信息。被打开的文件可以是

1.普通的文件，2.目录  3.网络文件系统的文件，4.字符设备文件  5.(函数)共享库  6.管道，命名管道 7.符号链接

8.底层的socket字流，网络socket，unix域名socket

9.在linux里面，大部分的 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Tue, 25 Nov 2014 01:37:07 +0000</pubDate>
    </item>
    <item>
      <title>使用pssh进行并行批量操作</title>
      <link>https://clore.net/forum/thread-10398-1-1.html</link>
      <description><![CDATA[假如同时给上千台服务器执行一个命令,拷贝一个文件,杀一个进程等,有什么简化运维管理的工具呢?在小型使用中我都是使用for循环,数量巨大,一方面不确定操作是否成功,一方面for循环语句性能不好估计且是不是同步并行执行.，这类工具比如pdsh，mussh，cssh，dsh等还有这里提 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Wed, 19 Nov 2014 01:18:36 +0000</pubDate>
    </item>
    <item>
      <title>mysql性能优化的19个要点</title>
      <link>https://clore.net/forum/thread-10394-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Thu, 30 Oct 2014 13:55:42 +0000</pubDate>
    </item>
    <item>
      <title>VI中的批量替换</title>
      <link>https://clore.net/forum/thread-10392-1-1.html</link>
      <description><![CDATA[VI中的批量替换
 
1) 文件内全部替换：

:%s/str1/str2/g 用str2替换文件中所有的str1
 
:%s/abc/123/g  --把文件里所有abc替换成123
 
 
2) 文件内局部替换：
 
:m,ns/str1/str2/g 从m-n行用str2替换str1

:20,30s/abc/123/g  --把20行到30行内abc替换成123

以上支持 ...]]></description>
      <category>LAMP</category>
      <author>翔子</author>
      <pubDate>Thu, 30 Oct 2014 12:46:44 +0000</pubDate>
    </item>
  </channel>
</rss>