- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
也许有的朋友会发现,当FTP服务器搭建好以后,显示的时间却是GMT时间,这时大家可以参考我下面的方法进行修改。
1. VSFTP修改方法:
vim /etc/vsftpd/vsftpd.conf
在最后加入一行:
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
# Make sure, that one of the listen options is commented !!
.......
use_localtime=YES
按ESC键,执行下面的保存命令
:wq
存盘后,重启vsftpd:
service vsftpd restart
2. proftpd修改方法:
找到
vim /usr/local/proftpd/etc/proftpd.conf
或者
vim /etc/proftpd.conf
找到
UseReverseDNS off
下面加入(不使用GMT时间):
TimesGMT off
按ESC键,执行下面的保存命令
:wq
存盘后,重启proftpd
service proftpd restart
根据此方法修改后,FTP文件就能显示当地时间了~
售前咨询
售后咨询
备案咨询
二维码
TOP