您好,登錄后才能下訂單哦!
也許有的朋友會(huì)發(fā)現(xiàn),當(dāng)FTP服務(wù)器搭建好以后,顯示的時(shí)間卻是GMT時(shí)間,這時(shí)大家可以參考我下面的方法進(jìn)行修改。
vi /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鍵,執(zhí)行下面的保存命令
:wq
存盤后,重啟vsftpd:
service vsftpd restart
找到
vi /usr/local/proftpd/etc/proftpd.conf
或者
vi /etc/proftpd.conf
找到
UseReverseDNS off
下面加入(不使用GMT時(shí)間):
TimesGMT off
按ESC鍵,執(zhí)行下面的保存命令
:wq
存盤后,重啟proftpd
service proftpd restart
根據(jù)此方法修改后,F(xiàn)TP文件就能顯示當(dāng)?shù)貢r(shí)間了~
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。