Linux graphic interface FTP, the simplest FTP configuration tutorial in history !!! ProFTP + gadmin ProFTPD

Source: Internet
Author: User
Tags i18n

Introduction: ProFTPDIt is a set of highly configurable open-source FTP server software. The last d of the name is because daemon is used for calling in Linux. ProFTPD is similar to Apache configuration, so it is easy to configure and manage.

ProFTPD also developed an FTP server with a graphical user interface (gadmin-ProFTPD)

ProFTP configuration, especially Directory Access and permission writing is quite similar to Apache configuration (maybe both of them often go to Starbucks together)
Therefore, if you are familiar with Apache, you can quickly adapt to ProFTP configuration.

But in this case, no software in Linux can make beginners frown. I was one of them. When I was a beginner, the second software was configured with FTP (the first was Apache). At that time, I was still using the Windows graphic interface system... for Linux, which is fully in command mode. I hope its X interface can also have a Serv-U
Such FTP software can make my operations take full advantage of the point...

Finally, I studied ProFTP for several days, including directory permissions, user permissions, chown, chmod .... almost dizzy... "Sweet Potato" will introduce SFTP and filezilla to me... from then on, I forgot ProFTP...

Until recently, I have been constantly trying to replace windows with the Linux operating system. In addition, if a friend's website is hosted on my server, it will be easier for them to use ftp. So, after so long, the ProFTP research began again.

Unexpectedly, I found a gadmin-ProFTPD while searching for ProFTP on oschina:

Gadmin-ProFTPD is a GTK-based management tool for visual ProFTPD File Transfer servers. Through the graphical interface, the administrator can easily configure all parameters that need to be set in the configuration file.

To put it simply, gadmin-ProFTPD allows Linux to configure FTP services as easily as windows Serv-U.

It only took me 10 minutes to get this one. I wonder if it will take you a shorter time. The configuration is as follows:

################ Step 1 ##################

First download and install ProFTP:

Download the latest ProFTPD (http://www.proftpd.org/) and unzip it.

# Wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.2a.tar.gz

# Tar zxvf proftpd-1.3.2a.tar.gz

# Cd proftpd-1.3.2a

#./Configure

# Make

# Make install

# Cp./contrib/Dist/RPM/ProFTPd. init. d/etc/rc. d/init. d/ProFTPD

Copy ProFTP to the system service so that it can be started and closed in the form of service ProFTPD start.

Chkconfig -- add ProFTPD

Configure ProFTPD to start up. The configuration is complete.

################ Step 2 ##################

Install gadmin-ProFTPD

Download the latest gadmin-ProFTPD (http://mange.dynalias.org/linux.html)
Decompress the package.

# Wget http://mange.dynalias.org/linux/gadmin-proftpd/gadmin-proftpd-0.3.7.tar.gz

# Tar zxvf gadmin-proftpd-0.3.7.tar.gz

# Cd gadmin-proftpd-0.3.7

#./Configure

# Make

# Make install

After entering X Windows, open the console and run gadmin-ProFTPD to see its graphical interface.

I don't need to talk about how to configure this in the graphic interface? It's close to being foolish.

 

########## But there may be several minor issues ############

1. The system prompts that a directory is not found. Generally, it will be/usr/local/var/ProFTPD and/var/FTP. After self-reconstruction, the error message will disappear.

2. If you change the default language code to zh_cn.gbk in i18n, The gadmin-ProFTPD in the X interface will be affected. Garbled characters are displayed, such:

Create a STARTUP script to solve the gproftpd Chinese garbled problem on the x Interface

Create a shell script in any directory or directory of the current user

# Vim gproftpd. Sh

Export lc_all = zh_CN.UTF-8

Gadmin-ProFTPD

################

#: Grant the executable permission chmod + x gproftpd. Sh after WQ is saved and exited.

Indicates temporarily modifying the Environment Code to a UTF-8 and then executing gadmin-ProFTPD

In this way, the gadmin-ProFTPD graphic mode can be enabled by bypassing the encoding configured in the system i18n.

Run the created shell script gproftpd. Sh on the X interface console.

For more convenience, you can create a shortcut on the X interface to execute the script, which is equal to the shortcut of windows. For example:

 

3. When the service is started or the ProFTPd service is enabled using service ProFTPD start, an error is reported, indicating that/usr/local/etc/ProFTPd. conf is incorrectly configured.

Gadmin-ProFTPD is a system file that directly calls ProFTPD to start and load the configuration.

However, it is strange that the configuration file loaded to ProFTPD is not in its default path, but is redefined for gadmin-ProFTPd.

In this case, we will first Delete the automatic configuration file of ProFTPD, and then re-define the soft connection of gadmin-ProFTPd.

# Rm-F/usr/local/etc/ProFTPd. conf

# Ln-S/etc/ProFTPd. CONF/usr/local/etc/

After creating a soft connection between the ProFTPd configuration file and the gproftpd configuration file, The ProFTPD service can be automatically loaded after the ProFTPd is restarted and no error is reported.

So far, all configurations have been completed !!!

How? It's really easy! You can set any configuration in the ProFTPd service without touching ProFTPd. conf, including the port number, user account, directory, and permission ......

More importantly, you can easily create a virtual user (virtualuser) to separate ftp users from system users and improve security.

It is a good news for beginners!

If you need remote configuration of X, you can use VNC, refer to this article: http://www.oschina.net/discuss/thread/2392

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.