創建FTP服務器和無密碼登陸

工具:VMware,CRT;


關閉防火牆
關閉防火牆並設置開機開不啓動
查看當前狀態
[root@localhost ~]# systemctl status firewalld.service #查看firewalld狀態
[root@localhost ~]# systemctl stop firewalld #關閉
[root@localhost ~]# systemctl start firewalld #開啓
[root@localhost ~]# systemctl disable firewalld #開機自動關閉 //RHLE7
[root@localhost ~]# chkconfig --list|grep network #查看開機是否啓動 //RHLE6
[root@localhost ~]# systemctl enable firewalld #開機自動啓動


臨時和永久關閉Selinux
臨時關閉
[root@localhost ~]# getenforce
Enforcing
[root@localhost~]# setenforce 0
setenforce: SELinux is disabled
永久關閉
[root@localhost ~]# vim /etc/selinux/config
把:SELINUX=enforcing 改成:SELINUX=disabled
[root@localhost ~]# reboot
創建FTP服務器和無密碼登陸
掛載光盤鏡像
創建FTP服務器和無密碼登陸
配置本地yum源,並清空原yum緩存,然後生成新的緩存列表安裝完成
yum的一切配置信息都儲存在一個叫yum.repos.d的配置文件中,通常位於/etc/yum.repos.d目錄下。
創建FTP服務器和無密碼登陸
創建FTP服務器和無密碼登陸
安裝兩個FTP服務
具體命令:yum repolist; yum install ftp
創建FTP服務器和無密碼登陸
創建一個用戶登錄FTP服務器配置無密碼登錄並可以創建重命名及刪除命令
創建FTP服務器和無密碼登陸
創建FTP服務器和無密碼登陸
創建FTP服務器和無密碼登陸

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章