Author Archives: Sean

TDK宣布撤出CD/DVD刻录光盘制造业务

       日商TDK公司今日正式宣布撤出CD/DVD刻录光盘片制造业务,其子公司TDK Recording Media Europe S.A (总部设于卢森堡)制造部门将在今年5月底关闭;在此之前,日本国内的千曲川地区工厂(长野县佐久市)也已在去年底经过重组。
 
  至于撤出原因,TDK表示主要是由于CD/DVD刻录光盘片的市场价格大幅下滑,导致公司收益持续恶化,所以才决定实行改革,完全撤出后公司的CD/DVD刻录光盘片业务将全部转为ODM方式。
 
  TDK预期此次撤出CD/DVD刻录光盘制造业务产生的相关费用约为80亿日圆,未来公司将专注发展高附加价值产品,例如正在千曲川Techno厂的小规模开发/量产线上研发的新一代蓝光刻录光盘片。

proftpd权限设置

proftpd默认用户可以使用系统非root组的用户登录,登陆后都在自己的/home目录中。
同时匿名用户不能登陆。而要对权限进行进一步的设置,需要在proftpd.conf里面进行定制。
在默认的conf中,有如下的例子
# <Anonymous ~ftp>
#   User    ftp
#   Group    nogroup
#   # We want clients to be able to login with "anonymous" as well as "ftp"
#   UserAlias   anonymous ftp
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser on ftp
#   DirFakeGroup on ftp
#
#   RequireValidShell  off
#
#   # Limit the maximum number of anonymous logins
#   MaxClients   10
#
#   # We want ‘welcome.msg’ displayed at login, and ‘.message’ displayed
#   # in each newly chdired directory.
#   DisplayLogin   welcome.msg
#   DisplayFirstChdir  .message
#
#   # Limit WRITE everywhere in the anonymous chroot
#   <Directory *>
#     <Limit WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
#
#   # Uncomment this if you’re brave.
#   # <Directory incoming>
#   #   # Umask 022 is a good standard umask to prevent new files and dirs
#   #   # (second parm) from being group and world writable.
#   #   Umask    022  022
#   #            <Limit READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
#
# </Anonymous>

Continue reading

proftpd配置笔记

以前使用vsftpd+mysql来做ftp。但vsftpd的配置比较弱,对虚拟用户的权限控制,只能通过系统对目录的权限控制来进行。所以现在打算使用proftpd来配置虚拟用户。
 
这几天参考了n多的教程。但大部分是基于redhat的,基于debian的配置很少很少。只能是一边研究一边写了。
 
1、安装
在debian下,安装proftpd非常简单,使用

apt-get install proftpd

但需要注意的是,使用命令

apt-cache search proftpd*

会有如下的结果

proftpd-doc – Versatile, virtual-hosting FTP daemon (Documentation)
proftpd-ldap – Versatile, virtual-hosting FTP daemon (with LDAP support)
proftpd-mysql – Versatile, virtual-hosting FTP daemon (with SQL support)
proftpd-pgsql – Versatile, virtual-hosting FTP daemon (with SQL support)

说明debian下面的proftpd根据所支持的模块,deb包的名称也不一样。如安装mysql支持,直接安装proftpd-mysql。这点和redhat不同,不需要在安装过程中安装各种模块了

Continue reading

关于locale的设定,为什么要设定locale

关于locale的设定
 
locale是国际化与本土化过程中的一个非常重要的概念,个人认为,对于中文用户来说,通常会涉及到的国际化或者本土化,大致包含三个方面:看中文,写中文,与window中文系统的兼容和通信。从实际经验上看来,locale的设定与看中文关系不大,但是与写中文,及window分区的挂载方式有很密切的关系。本人认为就像一个纯英文的Windows能够浏览中文,日文或者意大利文网页一样,你不需要设定locale就可以看中文。那么,为什么要设定locale呢?什么时候会用到locale呢?

Continue reading