标签:exec load openstac 电脑 str exe pack tac ade
在mnt目录下目录并挂载
# mkdir /mnt/yw
# mount /dev/sr0 /mnt/yw/
--------------------------------------------------
mount: /dev/sr0 is write-protected, mounting read-only
--------------------------------------------------
cd来到Packages目录
# cd /mnt/yw/Packages/
查找目录下安装包命令:
# ls | grep vsftpd
---------------------------
vsftpd-3.0.2-9.el7.x86_64.rpm
用rpm命令-ivh下载安装包
#rpm -ivh vsftpd-3.0.2-9.el7.x86_64.rpm
关闭防火墙:
# iptables -F
# iptables -X
# setenforce 0
重启服务:
#systemctl restart vsftpd
用status查看一下服务是否启动了
# systemctl status vsftpd
vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled)
Active: active (running) since Mon 2018-09-10 16:34:59 CST; 16h ago
Process: 2390 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
Main PID: 2391 (vsftpd)
CGroup: /system.slice/vsftpd.service
└─2391 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.con...
Sep 10 16:34:59 openstack systemd[1]: Started Vsftpd ftp ...
Hint: Some lines were ellipsized, use -l to show in full.
(active (running)表示成功
打开我的电脑在地址栏输入虚拟机ip,看到共享文件夹pub
标签:exec load openstac 电脑 str exe pack tac ade
原文地址:https://www.cnblogs.com/Zxiaotian/p/9625531.html