<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>曾华水的博客 &#187; Linux</title>
	<atom:link href="http://www.mrzeng.com/topics/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mrzeng.com</link>
	<description>NO.1 or Nothing</description>
	<lastBuildDate>Wed, 07 Sep 2011 12:47:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Centos的vsftp搭建方法</title>
		<link>http://www.mrzeng.com/post/centos-vsftpd.html</link>
		<comments>http://www.mrzeng.com/post/centos-vsftpd.html#comments</comments>
		<pubDate>Mon, 27 Sep 2010 07:39:09 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Vsftp]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=224</guid>
		<description><![CDATA[公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。 搭建的方法如下： 一、下载安装 1、安装Vsftpd yum -y install vsftpd* 2、安装PAM yum -y install pam* 3、安装db4 yum -y install db4* 二、配置vsftp 1、建立用户，这里的用户是指ftp的账号。不是系统。 cd /etc/vsftpd/ #切换到vsftpd目录下 vi logins.txt #开始写入logins.txt的用户和密码。单行为账号，双行为密码 logins.txt的用户和密码。单行为账号，双行为密码 例如 admin #账号 admin123#密码 demo #账号 demo321 #密码 2、生成加密密码 db_load -T -t hash –f logins.txt /etc/vsftpd/vsftpd_login.db 同时改变下vsftpd_login.db的权限 chmod 600 /etc/vsftpd/vsftpd_login.db 3、添加vsftpd.vu vi /etc/pamd./vsftpd.vu 输入以下内容 auth required pam_userdb.so db=/etc/vsftpd/vsftpd_login [...]]]></description>
			<content:encoded><![CDATA[<p>公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。<br />
搭建的方法如下：<br />
一、下载安装<br />
   1、安装Vsftpd</p>
<pre class=prettyprint>
yum -y install vsftpd*
  </pre>
<p>   2、安装PAM</p>
<pre class=prettyprint>
yum -y install pam*
   </pre>
<p>   3、安装db4</p>
<pre class=prettyprint>
yum -y install db4*
</pre>
<p><span id="more-224"></span><br />
二、配置vsftp<br />
   1、建立用户，这里的用户是指ftp的账号。不是系统。</p>
<pre class=prettyprint>
cd /etc/vsftpd/ #切换到vsftpd目录下
vi logins.txt #开始写入logins.txt的用户和密码。单行为账号，双行为密码
 </pre>
<p>    logins.txt的用户和密码。单行为账号，双行为密码<br />
    例如</p>
<pre class=prettyprint>
admin #账号
admin123#密码
demo #账号
demo321 #密码
</pre>
<p>  2、生成加密密码</p>
<pre class=prettyprint>
db_load -T -t hash –f logins.txt /etc/vsftpd/vsftpd_login.db
</pre>
<p>    同时改变下vsftpd_login.db的权限</p>
<pre class=prettyprint>
chmod 600 /etc/vsftpd/vsftpd_login.db
</pre>
<p>     3、添加vsftpd.vu</p>
<pre class=prettyprint>
vi /etc/pamd./vsftpd.vu
</pre>
<p>   输入以下内容</p>
<pre lang="Text">
auth  required  pam_userdb.so  db=/etc/vsftpd/vsftpd_login
account  required pam_userdb.so  db=/etc/vsftpd/vsftpd_login
</pre>
<p> 输入：wq退出保存<br />
4、建立虚拟用户目录<br />
在/etc/vsftpd/  下建立user_config<br />
根据logins.txt里面所建的用户进行命名。比如admin用户就建立进行 vi admin，内容如下</p>
<pre class=prettyprint>
local_root=/opt/htdocs/
指定虚拟用户的具体主路径。
anonymous_enable=NO
设定不允许匿名用户访问。
write_enable=YES
设定允许写操作。
local_umask=022
设定上传文件权限掩码。
anon_upload_enable=NO
设定不允许匿名用户上传。
anon_mkdir_write_enable=NO
设定不允许匿名用户建立目录。
idle_session_timeout=600
设定空闲连接超时时间。
data_connection_timeout=120
设定单次连续传输最大时间。
max_clients=10
设定并发客户端访问个数。
max_per_ip=5
设定单个客户端的最大线程数，这个配置主要来照顾Flashget、迅雷等多线程下载软件。
local_max_rate=50000
设定该用户的最大传输速率，单位b/s。
</pre>
<p>5、修改vsftpd.conf<br />
要先备份一下。</p>
<pre class=prettyprint>
cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.backup
vi /etc/vsftpd/vsftpd.conf
</pre>
<p>修改如下</p>
<pre class=prettyprint>
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# The target log file can be vsftpd_log_file or xferlog_file.
# This depends on setting xferlog_std_format parameter
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# The name of log file when xferlog_enable=YES and xferlog_std_format=YES
# WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log
#xferlog_file=/var/log/xferlog
#
# Switches between logging into vsftpd_log_file and xferlog_file files.
# NO writes to vsftpd_log_file, YES to xferlog_file
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=欢迎登陆匹克图片服务器
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd whith two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES

guest_enable=YES
guest_username=www #因为我htdocs的宿主是www。这样nginx和vsftpd使用同一个，比较方便做权限控制。例如上传的时候不会出现无法写入等情况。
pam_service_name=vsftpd.vu
user_sub_token=$USER
user_config_dir=/etc/vsftpd/user_config
</pre>
<p>最后重启下vsftpd就可以了</p>
<pre class=prettyprint>
/etc/init.d/vsftpd restart
</pre>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/centosredhat-gcc.html" title="Centos/RedHat下安装gcc的方法">Centos/RedHat下安装gcc的方法</a><br /><small>许多人安装centos和redhat的时候没有将开发工具包和开发库给打钩，从而在安装后要编译一些程序出现错误。
此时，安装方法有以下几种：fdc5f25c


1、直接执行（命令行执行这个方法最省事）

     yum -y install gcc
     yum -y install gcc-c++

 下载后安装
2、在光盘的centos目录下找到以下包
　　comp...</small></li><li><a href="http://www.mrzeng.com/post/linux-change-ip-solution.html" title="Linux中修改ip的办法">Linux中修改ip的办法</a><br /><small>切换到root账户下

切换到/etc/sysconfig/network-scripts/目录下；

编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。

DEVICE=ethX                                        设备名称
ONBOOT=yes                                        计算...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/centos-vsftpd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos/RedHat下安装gcc的方法</title>
		<link>http://www.mrzeng.com/post/centosredhat-gcc.html</link>
		<comments>http://www.mrzeng.com/post/centosredhat-gcc.html#comments</comments>
		<pubDate>Sun, 01 Aug 2010 07:32:43 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Gcc]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=217</guid>
		<description><![CDATA[许多人安装centos和redhat的时候没有将开发工具包和开发库给打钩，从而在安装后要编译一些程序出现错误。 此时，安装方法有以下几种：fdc5f25c 1、直接执行（命令行执行这个方法最省事） yum -y install gcc yum -y install gcc-c++ 下载后安装 2、在光盘的centos目录下找到以下包 　　compat-gcc-32-3.2.3-47.3.i386.rpm 　　compat-gcc-32-c++-3.2.3-47.3.i386.rpm 　　cpp-3.4.6-3.i386.rpm 　　gcc-3.4.6-3.i386.rpm 　　gcc-c++-3.4.6-3.i386.rpm 　　gcc-g77-3.4.6-3.i386.rpm 　　gcc-gnat-3.4.6-3.i386.rpm 　　gcc-java-3.4.6-3.i386.rpm 　　gcc-objc-3.4.6-3.i386.rpm 　　glibc-devel-2.3.4-2.25.i386.rpm 　　glibc-headers-2.3.4-2.25.i386.rpm 　　glibc-kernheaders-2.4-9.1.98.EL.i386 进行安装 3、进入应用程序（限装了x-windows） 然后进行程序安装，输入root的密码后，把库打钩进行更新安装。 相关日志Centos的vsftp搭建方法公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。 搭建的方法如下： 一、下载安装 1、安装Vsftpd yum -y install vsftpd* 2、安装PAM yum -y install pam* 3、安装db4 yum -y install db4* 二、配置vsf...Linux中修改ip的办法切换到root账户下 切换到/etc/sysconfig/network-scripts/目录下； 编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。 DEVICE=ethX 设备名称 ONBOOT=yes 计算...]]></description>
			<content:encoded><![CDATA[<p>许多人安装centos和redhat的时候没有将开发工具包和开发库给打钩，从而在安装后要编译一些程序出现错误。<br />
此时，安装方法有以下几种：fdc5f25c</p>
<p><span id="more-217"></span><br />
1、直接执行（命令行执行这个方法最省事）</p>
<pre class=prettyprint>
     yum -y install gcc
     yum -y install gcc-c++
</pre>
<p> 下载后安装<br />
2、在光盘的centos目录下找到以下包<br />
　　compat-gcc-32-3.2.3-47.3.i386.rpm</p>
<p>　　compat-gcc-32-c++-3.2.3-47.3.i386.rpm</p>
<p>　　cpp-3.4.6-3.i386.rpm</p>
<p>　　gcc-3.4.6-3.i386.rpm</p>
<p>　　gcc-c++-3.4.6-3.i386.rpm</p>
<p>　　gcc-g77-3.4.6-3.i386.rpm</p>
<p>　　gcc-gnat-3.4.6-3.i386.rpm</p>
<p>　　gcc-java-3.4.6-3.i386.rpm</p>
<p>　　gcc-objc-3.4.6-3.i386.rpm</p>
<p>　　glibc-devel-2.3.4-2.25.i386.rpm</p>
<p>　　glibc-headers-2.3.4-2.25.i386.rpm</p>
<p>　　glibc-kernheaders-2.4-9.1.98.EL.i386<br />
进行安装<br />
3、进入应用程序（限装了x-windows）<br />
然后进行程序安装，输入root的密码后，把库打钩进行更新安装。</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/centos-vsftpd.html" title="Centos的vsftp搭建方法">Centos的vsftp搭建方法</a><br /><small>公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。
搭建的方法如下：
一、下载安装
   1、安装Vsftpd

yum -y install vsftpd*
  
   2、安装PAM

yum -y install pam*
   
   3、安装db4
 
yum -y install db4*
 


二、配置vsf...</small></li><li><a href="http://www.mrzeng.com/post/linux-change-ip-solution.html" title="Linux中修改ip的办法">Linux中修改ip的办法</a><br /><small>切换到root账户下

切换到/etc/sysconfig/network-scripts/目录下；

编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。

DEVICE=ethX                                        设备名称
ONBOOT=yes                                        计算...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/centosredhat-gcc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux中修改ip的办法</title>
		<link>http://www.mrzeng.com/post/linux-change-ip-solution.html</link>
		<comments>http://www.mrzeng.com/post/linux-change-ip-solution.html#comments</comments>
		<pubDate>Fri, 05 Mar 2010 07:30:27 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=215</guid>
		<description><![CDATA[切换到root账户下 切换到/etc/sysconfig/network-scripts/目录下； 编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。 DEVICE=ethX 设备名称 ONBOOT=yes 计算机启动时是否激活网卡 BOOTPROTO=static 获取ip地址的方式， IPADDR=192.168.2.111 ip地址 NETMASK=255.255.255.0 子网掩码 GATEWAY=192.168.0.1 网关 重启网络 /etc/init.d/network restart 相关日志Centos的vsftp搭建方法公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。 搭建的方法如下： 一、下载安装 1、安装Vsftpd yum -y install vsftpd* 2、安装PAM yum -y install pam* 3、安装db4 yum -y install db4* 二、配置vsf...Centos/RedHat下安装gcc的方法许多人安装centos和redhat的时候没有将开发工具包和开发库给打钩，从而在安装后要编译一些程序出现错误。 此时，安装方法有以下几种：fdc5f25c 1、直接执行（命令行执行这个方法最省事） yum -y install gcc yum -y install gcc-c++ 下载后安装 2、在光盘的centos目录下找到以下包 　　comp...linux下的文件的压缩和解压缩SSH常用SecureCRT 5.5进行连接，使用sz和rz命令来上传下去。但这个命令只支持单文件传输，多文件就比较麻烦。但是如果使用压缩包的方式就省事很多。我们来看看在liux下压缩包的压缩和解压方法. tar -c: [...]]]></description>
			<content:encoded><![CDATA[<p>切换到root账户下<br />
<span id="more-215"></span><br />
切换到/etc/sysconfig/network-scripts/目录下；</p>
<p>编辑网卡编码：vi ifcfg-eth<strong>X</strong> <strong>X</strong>为第<strong>X</strong>-1个网卡。</p>
<p>DEVICE=eth<strong>X</strong>                                        设备名称<br />
ONBOOT=yes                                        计算机启动时是否激活网卡<br />
BOOTPROTO=static                                获取ip地址的方式，<br />
IPADDR=192.168.2.111                         ip地址<br />
NETMASK=255.255.255.0                      子网掩码<br />
GATEWAY=192.168.0.1                   网关</p>
<p>重启网络<br />
/etc/init.d/network restart</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/centos-vsftpd.html" title="Centos的vsftp搭建方法">Centos的vsftp搭建方法</a><br /><small>公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。
搭建的方法如下：
一、下载安装
   1、安装Vsftpd

yum -y install vsftpd*
  
   2、安装PAM

yum -y install pam*
   
   3、安装db4
 
yum -y install db4*
 


二、配置vsf...</small></li><li><a href="http://www.mrzeng.com/post/centosredhat-gcc.html" title="Centos/RedHat下安装gcc的方法">Centos/RedHat下安装gcc的方法</a><br /><small>许多人安装centos和redhat的时候没有将开发工具包和开发库给打钩，从而在安装后要编译一些程序出现错误。
此时，安装方法有以下几种：fdc5f25c


1、直接执行（命令行执行这个方法最省事）

     yum -y install gcc
     yum -y install gcc-c++

 下载后安装
2、在光盘的centos目录下找到以下包
　　comp...</small></li><li><a href="http://www.mrzeng.com/post/linux-tar-zip-gz.html" title="linux下的文件的压缩和解压缩">linux下的文件的压缩和解压缩</a><br /><small>SSH常用SecureCRT 5.5进行连接，使用sz和rz命令来上传下去。但这个命令只支持单文件传输，多文件就比较麻烦。但是如果使用压缩包的方式就省事很多。我们来看看在liux下压缩包的压缩和解压方法.


tar

-c: 建立压缩档案
-x：解压
-t：查看内容
-r：向压缩归档文件末尾追加文件
-u：更新原压缩包中的文件

这五个是独立的命令，压缩解压都要用到其中一个...</small></li><li><a href="http://www.mrzeng.com/post/vista-localhost-ip.html" title="Vista中无法使用localhost访问本机的解决方法">Vista中无法使用localhost访问本机的解决方法</a><br /><small>最近，买了个笔记本，装的是vista，奇怪的是，装上服务器套件后，死活不能用localhost访问，但127.0.0.1可以。搜索了一下，解决办法如下：

找到WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS 文件。HOSTS是文件名，这个文件没有扩展名。

用记事本打开它，发现多了一个

::1             localhost

删了它，保存。问题...</small></li><li><a href="http://www.mrzeng.com/post/php-get-client-ip.html" title="PHP获取客户端IP的几种方法">PHP获取客户端IP的几种方法</a><br /><small>PHP获取客户端IP有几个函数，下面介绍下三种常用的写法。

第一种：

< ?php
function GetIP() { //获取IP 
    if ($_SERVER["HTTP_X_FORWARDED_FOR"]) 
        $ip = $_SERVER["HTTP_X_FORWARDED_FOR"]; 
    else if ($_SERVER["HTTP_C...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/linux-change-ip-solution.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu试用记</title>
		<link>http://www.mrzeng.com/post/linux-ubuntu.html</link>
		<comments>http://www.mrzeng.com/post/linux-ubuntu.html#comments</comments>
		<pubDate>Mon, 12 Jan 2009 09:59:02 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubutuntu]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=66</guid>
		<description><![CDATA[1、在DIGG.COM看到一则新闻Ubuntu and Its Leader Set Sights on the Mainstream ，而且据说越南政府在强行推广Ubutu，要求各级政府机构的IT部门必须（must）在今年6月底之前将全部服务器(系统)改换成Linux操作系统及相关开源软件产品。 这也不失为在经济危机下的一项措施，这不也是奥巴马先生所提倡的。 2、下载下来试用了一下，感觉最大的特点是强大的社区支持。从安装到使用，都有详细的操作说明。对比RedHat版Linux,个人感觉好得多。而且Ubutu特别集成了软件管理，所有的软件均从官方下载，安全而且操作及其方便。如果从网上下载安装包，安装软件也特别方便。不足的是，部分地方没有完全汉化，例如右键等等，此外，一些管理还得采取命令行的方式，这一点对于那些初学者来说会有一定的困难。一种产品，要得到更多人的支持，那就要让更多人的懂得去使用，而其方法是简单化和傻瓜化。同时它的另外一个亮点是可以在windows平台下安装，并可以访问NTFS等格式文件系统。 3、前段时间听说QQ推出了linux版本，今天也趁机安装了一下。哇。那个清爽，界面和QQ2009接近。可以说，这才是真正的聊天软件啊。 4、有兴趣的朋友可以下载下来试试 Ubuntu下载地址：http://www.ubuntu.com.cn/getubuntu/download Ubuntu的wiki，内容很丰富：http://wiki.ubuntu.org.cn/ 同时可以到这里免费领取光盘的版本：https://shipit.ubuntu.com/ 腾讯的Ubuntu版本下载地址是：http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.deb 相关日志Linux中修改ip的办法切换到root账户下 切换到/etc/sysconfig/network-scripts/目录下； 编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。 DEVICE=ethX 设备名称 ONBOOT=yes 计算...linux下的文件的压缩和解压缩SSH常用SecureCRT 5.5进行连接，使用sz和rz命令来上传下去。但这个命令只支持单文件传输，多文件就比较麻烦。但是如果使用压缩包的方式就省事很多。我们来看看在liux下压缩包的压缩和解压方法. tar -c: 建立压缩档案 -x：解压 -t：查看内容 -r：向压缩归档文件末尾追加文件 -u：更新原压缩包中的文件 这五个是独立的命令，压缩解压都要用到其中一个...MySQL出现No space left on device导致的无法启动昨天，在服务器拷贝一个目录的备份后，发现：MySQL无法使用，重启后，也无法启动，出现以下错误： [root@localhost data]# 091011 10:35:27 mysqld_safe mysqld process hanging, pid 14736 – killed /usr/local/webserver/mysql/bin/mysqld_safe: line 1...解决SecureCRT中文显示乱码具体解决方法是： [...]]]></description>
			<content:encoded><![CDATA[<p>1、在DIGG.COM看到一则新闻<a href="http://www.nytimes.com/2009/01/11/business/11ubuntu.html">Ubuntu and Its Leader Set Sights on the Mainstream</a> ，而且据说越南政府在强行推广Ubutu，要求各级政府机构的IT部门必须（must）在今年6月底之前将全部服务器(系统)改换成Linux操作系统及相关开源软件产品。 这也不失为在经济危机下的一项措施，这不也是奥巴马先生所提倡的。</p>
<p>2、下载下来试用了一下，感觉最大的特点是强大的社区支持。从安装到使用，都有详细的操作说明。对比RedHat版Linux,个人感觉好得多。而且Ubutu特别集成了软件管理，所有的软件均从官方下载，安全而且操作及其方便。如果从网上下载安装包，安装软件也特别方便。不足的是，部分地方没有完全汉化，例如右键等等，此外，一些管理还得采取命令行的方式，这一点对于那些初学者来说会有一定的困难。一种产品，要得到更多人的支持，那就要让更多人的懂得去使用，而其方法是简单化和傻瓜化。同时它的另外一个亮点是可以在windows平台下安装，并可以访问NTFS等格式文件系统。</p>
<p>3、前段时间听说QQ推出了linux版本，今天也趁机安装了一下。哇。那个清爽，界面和QQ2009接近。可以说，这才是真正的聊天软件啊。</p>
<p>4、有兴趣的朋友可以下载下来试试</p>
<p>Ubuntu下载地址：<a href="http://www.ubuntu.com.cn/getubuntu/download">http://www.ubuntu.com.cn/getubuntu/download</a></p>
<p>Ubuntu的wiki，内容很丰富：<a href="http://wiki.ubuntu.org.cn/">http://wiki.ubuntu.org.cn/</a></p>
<p>同时可以到这里免费领取光盘的版本：<a href="https://shipit.ubuntu.com/">https://shipit.ubuntu.com/</a></p>
<p>腾讯的Ubuntu版本下载地址是：<a href="http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.deb">http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.deb</a></p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/linux-change-ip-solution.html" title="Linux中修改ip的办法">Linux中修改ip的办法</a><br /><small>切换到root账户下

切换到/etc/sysconfig/network-scripts/目录下；

编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。

DEVICE=ethX                                        设备名称
ONBOOT=yes                                        计算...</small></li><li><a href="http://www.mrzeng.com/post/linux-tar-zip-gz.html" title="linux下的文件的压缩和解压缩">linux下的文件的压缩和解压缩</a><br /><small>SSH常用SecureCRT 5.5进行连接，使用sz和rz命令来上传下去。但这个命令只支持单文件传输，多文件就比较麻烦。但是如果使用压缩包的方式就省事很多。我们来看看在liux下压缩包的压缩和解压方法.


tar

-c: 建立压缩档案
-x：解压
-t：查看内容
-r：向压缩归档文件末尾追加文件
-u：更新原压缩包中的文件

这五个是独立的命令，压缩解压都要用到其中一个...</small></li><li><a href="http://www.mrzeng.com/post/mysql-no-space-left-on-device.html" title="MySQL出现No space left on device导致的无法启动">MySQL出现No space left on device导致的无法启动</a><br /><small>昨天，在服务器拷贝一个目录的备份后，发现：MySQL无法使用，重启后，也无法启动，出现以下错误：


[root@localhost data]# 091011 10:35:27 mysqld_safe mysqld process hanging, pid 14736 – killed
 /usr/local/webserver/mysql/bin/mysqld_safe: line 1...</small></li><li><a href="http://www.mrzeng.com/post/solution-for-fix-characters-irrecognizable.html" title="解决SecureCRT中文显示乱码">解决SecureCRT中文显示乱码</a><br /><small>具体解决方法是：
1，修改远程linux机器的配置

vim /etc/sysconfig/i18n

把LANG改成支持UTF-8的字符集
如：LANG=”zh_CN.UTF-8″
或者是 LANG=”en_US.UTF-8″

2，然后再改Secure CRT的设置,选项->会话选项->外观->字符编码->uft-8
 
3，退出，再重新登录。发现utf8的文件都能正确读...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/linux-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决SecureCRT中文显示乱码</title>
		<link>http://www.mrzeng.com/post/solution-for-fix-characters-irrecognizable.html</link>
		<comments>http://www.mrzeng.com/post/solution-for-fix-characters-irrecognizable.html#comments</comments>
		<pubDate>Fri, 18 Jul 2008 06:15:03 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SecureCRT]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=13</guid>
		<description><![CDATA[具体解决方法是： 1，修改远程linux机器的配置 vim /etc/sysconfig/i18n 把LANG改成支持UTF-8的字符集 如：LANG=”zh_CN.UTF-8″ 或者是 LANG=”en_US.UTF-8″ 2，然后再改Secure CRT的设置,选项->会话选项->外观->字符编码->uft-8 3，退出，再重新登录。发现utf8的文件都能正确读了，utf8的文件名也能正确显 相关日志Linux中修改ip的办法切换到root账户下 切换到/etc/sysconfig/network-scripts/目录下； 编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。 DEVICE=ethX 设备名称 ONBOOT=yes 计算...linux下的文件的压缩和解压缩SSH常用SecureCRT 5.5进行连接，使用sz和rz命令来上传下去。但这个命令只支持单文件传输，多文件就比较麻烦。但是如果使用压缩包的方式就省事很多。我们来看看在liux下压缩包的压缩和解压方法. tar -c: 建立压缩档案 -x：解压 -t：查看内容 -r：向压缩归档文件末尾追加文件 -u：更新原压缩包中的文件 这五个是独立的命令，压缩解压都要用到其中一个...MySQL出现No space left on device导致的无法启动昨天，在服务器拷贝一个目录的备份后，发现：MySQL无法使用，重启后，也无法启动，出现以下错误： [root@localhost data]# 091011 10:35:27 mysqld_safe mysqld process hanging, pid 14736 – killed /usr/local/webserver/mysql/bin/mysqld_safe: line 1...Ubuntu试用记1、在DIGG.COM看到一则新闻Ubuntu and Its Leader Set Sights on the [...]]]></description>
			<content:encoded><![CDATA[<p>具体解决方法是：<br />
1，修改远程linux机器的配置</p>
<pre class="prettyprint">
vim /etc/sysconfig/i18n
</pre>
<p>把LANG改成支持UTF-8的字符集<br />
如：LANG=”zh_CN.UTF-8″<br />
或者是 LANG=”en_US.UTF-8″</p>
<p>2，然后再改Secure CRT的设置,选项->会话选项->外观->字符编码->uft-8</p>
<p>3，退出，再重新登录。发现utf8的文件都能正确读了，utf8的文件名也能正确显</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/linux-change-ip-solution.html" title="Linux中修改ip的办法">Linux中修改ip的办法</a><br /><small>切换到root账户下

切换到/etc/sysconfig/network-scripts/目录下；

编辑网卡编码：vi ifcfg-ethX X为第X-1个网卡。

DEVICE=ethX                                        设备名称
ONBOOT=yes                                        计算...</small></li><li><a href="http://www.mrzeng.com/post/linux-tar-zip-gz.html" title="linux下的文件的压缩和解压缩">linux下的文件的压缩和解压缩</a><br /><small>SSH常用SecureCRT 5.5进行连接，使用sz和rz命令来上传下去。但这个命令只支持单文件传输，多文件就比较麻烦。但是如果使用压缩包的方式就省事很多。我们来看看在liux下压缩包的压缩和解压方法.


tar

-c: 建立压缩档案
-x：解压
-t：查看内容
-r：向压缩归档文件末尾追加文件
-u：更新原压缩包中的文件

这五个是独立的命令，压缩解压都要用到其中一个...</small></li><li><a href="http://www.mrzeng.com/post/mysql-no-space-left-on-device.html" title="MySQL出现No space left on device导致的无法启动">MySQL出现No space left on device导致的无法启动</a><br /><small>昨天，在服务器拷贝一个目录的备份后，发现：MySQL无法使用，重启后，也无法启动，出现以下错误：


[root@localhost data]# 091011 10:35:27 mysqld_safe mysqld process hanging, pid 14736 – killed
 /usr/local/webserver/mysql/bin/mysqld_safe: line 1...</small></li><li><a href="http://www.mrzeng.com/post/linux-ubuntu.html" title="Ubuntu试用记">Ubuntu试用记</a><br /><small>1、在DIGG.COM看到一则新闻Ubuntu and Its Leader Set Sights on the Mainstream ，而且据说越南政府在强行推广Ubutu，要求各级政府机构的IT部门必须（must）在今年6月底之前将全部服务器(系统)改换成Linux操作系统及相关开源软件产品。 这也不失为在经济危机下的一项措施，这不也是奥巴马先生所提倡的。

2、下载下来试用了一下，感觉最...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/solution-for-fix-characters-irrecognizable.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

