自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Proftpd 建表

系統(tǒng) Linux
ProFTPD:一個(gè)Unix平臺(tái)上或是類Unix平臺(tái)上(如Linux, FreeBSD等)的FTP服務(wù)器程序,它是在自由軟件基金會(huì)的版權(quán)聲明(GPL)下開(kāi)發(fā)、發(fā)布的免費(fèi)軟件,也就是說(shuō)任何人只要遵守GPL版權(quán)聲明,都可以隨意修改源始碼。我們看看Proftpd 建表的代碼。

ProFTPD是繼Wu-FTP之后最為流行的FTP服務(wù)器軟件。我們來(lái)看看Proftpd 建表的代碼。

  1. CREATE TABLE FTPGRPS(  
  2. groupname text NOT NULL,  
  3. gid smallint(6) NOT NULL default 0,  
  4. members text NOT NULL  
  5. )  
  6.  
  7.  
  8. INSERT INTO FTPGRPS VALUES ('FTPGRP', 2001, 'FTPUSR');  
  9. INSERT INTO FTPGRPS VALUES ('ftpusers', 2002, 'ftp');  
  10.  
  11. CREATE TABLE FTPUSERS (  
  12. userid text NOT NULL,  
  13. passwd text NOT NULL,  
  14. uid int(11) NOT NULL default '0',  
  15. gid int(11) NOT NULL default '0',  
  16. homedir text,  
  17. shell text  
  18. )  
  19.  
  20.  
  21. INSERT INTO FTPUSERS VALUES ('lcx1''123456', 2001, 2001, '/home/www/lcx1'"");  
  22.  
  23.  
  24. CREATE TABLE quotalimits (  
  25. name varchar(30) default NULL,  
  26. quota_type enum('user','group','class','all') NOT NULL default 'user',  
  27. per_session enum('false','true') NOT NULL default 'false',  
  28. limit_type enum('soft','hard') NOT NULL default 'soft',  
  29. bytes_in_avail float NOT NULL default 0,  
  30. bytes_out_avail float NOT NULL default 0,  
  31. bytes_xfer_avail float NOT NULL default 0,  
  32. files_in_avail int(10) unsigned NOT NULL default 0,  
  33. files_out_avail int(10) unsigned NOT NULL default 0,  
  34. files_xfer_avail int(10) unsigned NOT NULL default 0  
  35. )  
  36.  
  37.  
  38. CREATE TABLE quotatallies (  
  39. name VARCHAR(30) NOT NULL,  
  40. quota_type ENUM("user""group""class""all") NOT NULL,  
  41. bytes_in_used FLOAT NOT NULL,  
  42. bytes_out_used FLOAT NOT NULL,  
  43. bytes_xfer_used FLOAT NOT NULL,  
  44. files_in_used INT UNSIGNED NOT NULL,  
  45. files_out_used INT UNSIGNED NOT NULL,  
  46. files_xfer_used INT UNSIGNED NOT NULL  
  47. );  

通過(guò)上面的代碼的說(shuō)明,你們可以進(jìn)行Proftpd 建表了,希望對(duì)你們有用!

【編輯推薦】

責(zé)任編輯:趙鵬 來(lái)源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

2010-10-15 10:14:09

Mysql建表

2011-02-22 14:50:53

ProFTPD

2010-11-24 09:37:01

mysql快速建表

2011-02-22 10:51:00

ProFTPD

2011-02-25 13:42:45

Proftpd

2011-02-24 13:55:42

ProFTPD

2011-02-22 15:50:52

2011-03-02 17:42:09

Proftpd結(jié)構(gòu)

2011-02-24 14:40:47

Proftpd

2011-03-08 09:22:37

2011-02-23 11:15:21

DebianProFTPd

2011-02-24 13:15:59

2011-02-24 14:05:59

2011-02-24 15:51:14

Proftpd

2011-03-08 14:45:59

2011-02-25 09:44:51

怎樣安裝Proftpd

2011-03-08 11:53:53

ProFTPD特性

2011-02-22 09:50:01

2011-02-22 10:08:46

ProFTPD配置

2011-03-03 13:00:21

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)