当前位置:首页 » 专业资讯
开发技术指南» 文章正文
    引言: 1.首先我们建立相应的用户和用户组groupadd -g 550
 

 

 ·wine 用户指南(二)    »显示摘要«
    摘要:wine 用户指南(二) 翻译:寒蝉退士译者声明:译者对译文不做任何形式的担保,译者对译文不拥有任何权利并且不负担任何义务。原文:http://www.winehq.com/docs/wine-user/ 第 2 章. 获得 wine 目录 2.1. wine 的多种形式 2.2. 为 debian 系统获得 wine 2.3. 为 redhat 系统获得 wine 2.4. 为其他发布获得 wine 2.5. 从 ftp 归档获得 wine 源代码 2.......
 ·直接从grub进入单用户模式    »显示摘要«
    摘要:直接从grub进入单用户模式摘录自cu论坛 注意:本文只适合启动管理器为grub的情况 1. 在出现grub画面时,用上下键选中你平时启动linux的那一项(别选dos哟),然后按e键 2. 再次用上下键选中你平时启动linux的那一项(类似于kernel /boot/vmlinuz-2.4.18-14 ro root=label=/),然后按e键 3. 修改你现在见到的命令行,加入single,结果如下: kernel /boo......


proftpd学习笔记(四)
proftpd学习笔记(四)

1.首先我们建立相应的用户与用户组 【相关文章:IPTABLES 配置方法介绍

今天我们讲proftp+mysql+quota的应用,我想大家最期待的就是这个了吧 【扩展阅读:Debian下给apache加载ssl

【扩展信息:IBM/Linux 奋起 Wintel

groupadd -g 5500 ftpgroup

adduser -u 5500 -s /bin/false -d /bin/null -c "proftpd user" -g ftpgroup ftpuser

2.操作数据库

mysql mysql -uroot -ppassword

create database ftpdb

grant select, update on ftpdb.* to proftpd@localhost identified by password

use ftpdb

create table `ftpgroup` (

`groupname` varchar(16) not null default ,

`gid` smallint(6) not null default 5500,

`members` varchar(16) not null default ,

key `groupname` (`groupname`)

) type=myisam comment=proftp group table;

insert into `ftpgroup` values (ftpgroup, 5500, ftpuser);

create table `ftpquotalimits` (

`name` varchar(30) default null,

`quota_type` enum(user,group,class,all) not null default user,

`per_session` enum(false,true) not null default false,

`limit_type` enum(soft,hard) not null default soft,

`bytes_in_avail` float not null default 0,

`bytes_out_avail` float not null default 0,

`bytes_xfer_avail` float not null default 0,

`files_in_avail` int(10) unsigned not null default 0,

`files_out_avail` int(10) unsigned not null default 0,

`files_xfer_avail` int(10) unsigned not null default 0

) type=myisam;

create table `ftpquotatallies` (

`name` varchar(30) not null default ,

`quota_type` enum(user,group,class,all) not null default user,

`bytes_in_used` float not null default 0,

`bytes_out_used` float not null default 0,


...   下一页
 ·linux常用硬件资源网址    »显示摘要«
    摘要:linux常用硬件资源网址:蓝牙设备 http://www.holtmann.org/linux/bluetooth/ 无线网络设备 http://www.linux-wlan.org pcmcia无线网卡 http://pcmcia-cs-sourceforge.net nvidia显卡 www.nvidia.com ati显卡 http://www.ati.com/support/driver.html 打印机 http://www......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE