老熟女激烈的高潮_日韩一级黄色录像_亚洲1区2区3区视频_精品少妇一区二区三区在线播放_国产欧美日产久久_午夜福利精品导航凹凸

重慶分公司,新征程啟航

為企業提供網站建設、域名注冊、服務器等服務

CentOS7下安裝配置proftpd搭建ftp服務器的詳細教程

proftpd全稱:Professional FTP daemon,是針對Wu-FTP的弱項而開發的,除了改進的安全性,還具備許多Wu-FTP沒有的特點,能以Stand-alone、xinetd模式運行等。ProFTP已經成為繼Wu-FTP之后最為流行的FTP服務器軟件,越來越多的站點選用它構筑安全高效的FTP站點,ProFTP配置方便,并有MySQL和Quota模塊可供選擇,利用它們的完美結合可以實現非系統賬號的管理和用戶磁盤的限制。<摘抄百度百科>

專注于為中小企業提供做網站、網站制作服務,電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業鼓樓免費做網站提供優質的服務。我們立足成都,凝聚了一批互聯網行業人才,有力地推動了成百上千家企業的穩健成長,幫助中小企業通過網站建設實現規模擴充和轉變。

本章通過下載源碼的方式安裝,可以到官網下載最新版本:http://www.proftpd.org/

1、首先安裝lrzsz方便拷貝文件到要搭建服務器的linux路徑下

yum install lrzsz

2、上傳文件解壓

將下載完成的proftpd-1.3.6.tar.gz文件上傳到指定路徑,使用tar zxvf proftpd-1.3.6.tar.gz解壓

3、由于使用源碼安裝,所以需要安裝gcc編譯環境

yum install gcc gcc-c++ autoconf automake

3、配置并制定安裝和配置文件路徑

./configure --prefix=/usr/local/proftpd --sysconfdir=/usr/local/proftpd

4、安裝

make&make install

5、修改配置文件,限制匿名用戶可以上傳下載,但是不能刪除(本章暫不詳細描述權限控制部分內容)

vi /usr/local/proftpd/proftpd.conf

# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName           "Welcome to FTP Server"
ServerType           standalone
DefaultServer          on
# Port 21 is the standard FTP port.
Port              21
# Don't use IPv6 support by default.
UseIPv6             off
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask              022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances          30
# Set the user and group under which the server will run.
User              nobody
Group              nobody
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
AllowOverwrite     on
IdentLookups      off
UseReverseDNS      off
# Bar use of SITE CHMOD by default

 AllowAll

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire  section.

 User             ftp
 Group             ftp
 # We want clients to be able to login with "anonymous" as well as "ftp"
 UserAlias           anonymous ftp
 # Limit the maximum number of anonymous logins
 MaxClients          50
 # We want 'welcome.msg' displayed at login, and '.message' displayed
 # in each newly chdired directory.
 DisplayLogin         welcome.msg
 DisplayChdir         .message
 # Limit WRITE everywhere in the anonymous chroot
 
  DenyAll
 

6、關閉防火墻

systemctl stop firewalld.service
systemctl disable firewalld.service

7、啟動服務器

/usr/local/proftpd/sbin/proftpd

查看進程是否已經啟動

[root@localhost ~]# ps -ef |grep proftpd
nobody  1140   1 0 12:13 ?    00:00:00 proftpd: (accepting connections)
root   3182 2270 0 12:50 pts/0  00:00:00 grep --color=auto proftpd 

8、添加到啟動項避免每次重啟后都需要手動啟動

vi /etc/rc.d/rc.local
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.
touch /var/lock/subsys/local
/usr/local/proftpd/sbin/proftpd

由于在centos7中/etc/rc.d/rc.local的權限被降低了,所以需要加上可執行的權限:

chmod +x /etc/rc.d/rc.local

總結

以上所述是小編給大家介紹的CentOS 7下安裝配置proftpd搭建ftp服務器的詳細教程,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對創新互聯網站的支持!


新聞標題:CentOS7下安裝配置proftpd搭建ftp服務器的詳細教程
本文地址:http://www.xueling.net.cn/article/ieocjo.html

其他資訊

在線咨詢
服務熱線
服務熱線:028-86922220
TOP
主站蜘蛛池模板: 久久一级黄色 | 亚洲国产精品自拍 | 极品老师腿张开粉嫩小泬 | 国产精品丝袜久久久久久久不卡 | 国产又黄又猛又粗又爽的A片 | 少妇大叫太大太粗太爽了A片 | 伊人久久大香线蕉影院 | 国产精品怡红院在线观看 | 国产乱子伦免费视频观看 | 亚洲国产精品久久久久爰色欲 | 无码专区狠狠躁躁天天躁 | 玖玖成人| 中文字幕一区免费 | AV一区AV久久AV无码 | 国产亚洲精品综合一区91555 | 亚洲午夜av久久乱码 | 美女毛多水多做爰国产毛片小说 | 中文字幕一区二区三区人妻少妇 | 久在线观看| 日韩精品久久 | 婷婷色香五月综合激激情 | 亚洲精品中文字幕无码A片老 | 久久综合九色综合欧美狠狠 | 久99视频 | 中文字幕有码无码AV | 黄色仓库入口免费 | 久热草在线观看 | 贪婪欲望岛在线观看 | 人妻少妇久久中文字幕 | 农村妇女毛片精品久久久 | 亚洲日本乱码在线观看 | 国产亚洲日韩一区二区三区 | 亚洲人成在久久综合网站 | 无码精品A∨在线观看十八禁 | av完全免费在线 | 日本久久大片 | 在线视频免费观看国产 | 四虎影视国产精品久久 | 国产最新无码AⅤ在线播放 亚洲欧美一二区 | 亚洲AV无码一区二区三区天堂 | www.成人网.com |