- 論壇徽章:
- 0
|
glftpd的官方網(wǎng)站是http://www.glftpd.com/,目前的最新版本是2.0.1 2005-12-25發(fā)布的,到現(xiàn)在也沒有什么大的安全漏洞,經(jīng)典程序啊!
# tar -zxvf glftpd-LNX_2.01.tgz
解壓完成后
# cd glftpd-LNX_2.01
# ./installgl.sh
如果被告知權(quán)限被deny了,請(qǐng)用chmod +x installgl.sh 修復(fù)吧
進(jìn)行安裝,這個(gè)比較簡單,我大致說說
--== WE MAKE FILES TRANSFER ==--
-----------------------------------------------------------
GLFTPD INSTALLER v2.0.1 (linux)
Originally done by jehsom and dn.
Made ready for the new era by turranius and psxc.
-----------------------------------------------------------
Before we begin: If this installer fails on your system, please
let the devs know. You find us on irc (efnet) in #glftpd. Thank you.
Also, any bugs found in glftpd itself should be reported either to
the board @ http://www.glftpd.com, in the irc channel, or both.
Press <enter> to continue.
這塊你直接回車
=============================
1. TCPD SETUP:
--------------
Do you wish to use tcpd? If you are not sure then you should not
use it. If you decided to change this at a later time, please
search for tcpd in glftpd.docs for the required changes.
Use tcpd? [Y]es [N]o:
小知識(shí):tcpd程序是負(fù)責(zé)檢測(cè)telnet、FTP等服務(wù)請(qǐng)求的。一旦有服務(wù)請(qǐng)求到來,inetd進(jìn)程將啟動(dòng)tcpd進(jìn)程。tcpd在日志文件中記錄該請(qǐng)求,并且完成其它一些檢測(cè)工作。如果一切正常通過,tcpd將啟動(dòng)相應(yīng)的服務(wù)器進(jìn)程,然后結(jié)束。
我輸入 N 不選擇,然后回車?yán)^續(xù)
==========================
2. JAIL SETUP:
--------------
Do you want to run glftpd in a "Jailed" environment? In this
environment a private directory will be created and glftpd will
be installed inside. Regular shell users will not be able to get
inside this private directory. The glftpd.conf is also moved
inside for added security and a new group will be created so
you and other users you specify can access glftpd through the shell.
Use a jailed environment? [Y]es [N]o:
這里是問你是否要把GLFTPD的文件方到一個(gè)的單獨(dú)的文件夾
我選擇Y ,回車?yán)^續(xù)
=============================
3 GLFTPD BASE SETUP:
--------------
Please enter the private directory to install glftpd inside [/jail]:
叫你輸入一個(gè)目錄來存放
我輸入 /usr/local/glftpd
==================
Do you want to create a private group? If you say no then only root will
be able to access glftpd. Otherwise you can add other shell users to the
group so they can access glftpd from the shell.
Use a private group? [Y]es [No]:
問你是否要建立一個(gè)私有組
我輸入N 不建立
========================
4. SERVICE SETUP & MULTI-INSTALL:
---------------------------------
Enter a service name for glftpd. This name will be used as the
service name mapped to the port in /etc/services, the name
used in your (x)inetd settings, and the name of your config-file.
NOTE: If you (wish to) have multiple instances of glftpd on the
same box, you *must* to change this.
Press <enter> for the default (glftpd)>
直接回車使用默認(rèn)
==========================
5. COMPILING SOURCES & COPYING LIBS:
---------------------------------
這里會(huì)輸出一些提示
==========================
6. PORT AND SYSTEM SETUP:
-------------------------
Enter the port you would like glftpd to listen on [1337]:
要你選擇FTP的端口
我選擇21,你可以在這里設(shè)置其他端口
===============================
7. SSL/TLS SETUP:
-----------------
We will now create a certificate for SSL/TLS support. This step is
required.
Please specify location, inside /glftpd/glftpd,
to install the cert (ftpd-dsa.pem) [/etc]:
要求你輸入一個(gè)名字 做為 SSL的證書名
我輸入:cacti
========================================
9. FINISH:
----------
Congratulations, glFtpD has been installed. Scroll up and note any errors
that needs fixing. ./installgl.debug contains a log of the installation process.
To get your site running, you must edit /glftpd/glftpd.conf according to
the instructions in /glftpd/glftpd/docs/glftpd.docs.
For help, visit #glftpd on EFnet AFTER you've read (not skimmed) the docs/faq.
After configuring glftpd, visit the following websites for additional
scripts to give your site some style!:
Turranius - http://www.grandis.nu/glftpd
Jehsoms - http://runslinux.net/
dn's and ip's - http://www.chimera-coding.com
D-ViBE's collection - http://www.glftpd.at
The official glftpd homepage is located at http://www.glftpd.com
Thanks for your support!
the glFtpD team
到此安裝結(jié)束了 |
|