Linux RedHat ftp配置
剛在機器上安裝了RadHat 5,並安裝了11.2,10.2,9.2三個版本資料庫用於測試,
配置了ftp便於上傳檔案,配置ftp步驟如下:
1、檢查ftp程式,並啟動
#ps -ef |grep ftp
#service vsftpd start
2、相關配置檔案
/etc/vsftpd/vsftpd.conf : 引數配置檔案
/etc/vsftpd.user_list:
如果引數配置檔案中userlist_enable=yes
userlist_deny=yes
則加入該檔案的使用者無法登陸
/etc/vsftpd.ftpuser: 加入該檔案使用者無法登陸
/etc/vsftpd.chroot_list:
如果引數檔案中設定chroot_list_enable=YES, chroot_list_file,
則登陸使用者只能在自己的目錄中活動。
3、使用者登陸出現如下錯誤
500 OOPS: cannot change directory:/ye
500 OOPS: child died
遠端主機關閉連線。
檢查:
#getsebool ftpd_disable_trans
ftpd_disable_trans--> off
開啟:
#setsebool ftpd_disable_trans 1
永久性開啟
#setsebool -P ftpd_disable_trans 1
配置了ftp便於上傳檔案,配置ftp步驟如下:
1、檢查ftp程式,並啟動
#ps -ef |grep ftp
#service vsftpd start
2、相關配置檔案
/etc/vsftpd/vsftpd.conf : 引數配置檔案
/etc/vsftpd.user_list:
如果引數配置檔案中userlist_enable=yes
userlist_deny=yes
則加入該檔案的使用者無法登陸
/etc/vsftpd.ftpuser: 加入該檔案使用者無法登陸
/etc/vsftpd.chroot_list:
如果引數檔案中設定chroot_list_enable=YES, chroot_list_file,
則登陸使用者只能在自己的目錄中活動。
3、使用者登陸出現如下錯誤
500 OOPS: cannot change directory:/ye
500 OOPS: child died
遠端主機關閉連線。
檢查:
#getsebool ftpd_disable_trans
ftpd_disable_trans--> off
開啟:
#setsebool ftpd_disable_trans 1
永久性開啟
#setsebool -P ftpd_disable_trans 1
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/354732/viewspace-673829/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Redhat(03):Linux 初始化配置RedhatLinux
- Linux伺服器---ftp配置Linux伺服器FTP
- linux ftp服務的搭建配置LinuxFTP
- 如何在RedHat Linux 6.8新增ftp使用者限制目錄和訪問ipRedhatLinuxFTP
- Redhat(02):yum 配置Redhat
- UltraEdit下ftp配置,UE遠端連線linuxFTPLinux
- ftp上傳工具下載,ftp上傳工具下載使用教程,Linux如何配置ftp伺服器?FTPLinux伺服器
- PHPStorm 配置 FTPPHPORMFTP
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- linux之FTP服務vsftpd和pure-ftpd常用配置LinuxFTP
- linux雲伺服器系統FTP、apache、mysql配置方法Linux伺服器FTPApacheMySql
- FTP原理與配置FTP
- FTP,FTP連線的辦法,配置方式FTP
- redhat 5.5 配置網路yum源Redhat
- RedHat8 配置本地yum源Redhat
- Linux FTP服務LinuxFTP
- linux安裝FTPLinuxFTP
- FTP,FTP該如何進行連線,如何配置FTP
- FTP的配置和管理FTP
- Ubuntu怎麼配置ftpUbuntuFTP
- redhat 7 使用nmcli 命令配置網路Redhat
- linux ftp服務搭建LinuxFTP
- Linux基礎命令---ftpLinuxFTP
- RedHat Linux口令恢復任我行RedhatLinux
- redhat7 配置檔案共享服務Redhat
- redhat linux核心資訊 warning:many lost ticksRedhatLinux
- Sql Server Linux(Redhat) Distributed Availability Group Setup — step by stepSQLServerLinuxRedhatAI
- redhat enterprise linux中vsftp開機自啟動RedhatLinuxFTP
- Linux之RedHat7如何更換yum源LinuxRedhat
- Linux伺服器---ftp黑名單Linux伺服器FTP
- Linux伺服器---ftp限制ipLinux伺服器FTP
- Linux檔案共享(FTP+NFS)LinuxFTPNFS
- Centos7上進行ftp配置CentOSFTP
- Linux伺服器---ftp限制頻寬Linux伺服器FTP
- Linux篇---ftp伺服器的搭建LinuxFTP伺服器
- Linux下搭建FTP伺服器教程LinuxFTP伺服器
- 適合Linux系統初學的redhat系列有哪些?LinuxRedhat
- Linux系統中Ubuntu和Redhat的差異有哪些?LinuxUbuntuRedhat
- 配置crontab+ftp自動下載檔案FTP