service vsftpd start Redirecting to /bin/systemctl start vsftpd.service
测试
在浏览器上输入:ftp://192.168.1.30/ 输入用户名和密码后,貌似不能进去。
或者在终端输入
1 2 3 4 5 6 7 8 9
ftp 192.168.1.30
Connected to 192.168.1.30. 220 Welcome to simon's FTP service. Name (192.168.1.30:simon): ftpuser 331 Please specify the password. Password: 500 OOPS: vsftpd: refusing to run with writable root inside chroot() ftp: Login failed
ftp 192.168.1.30 Connected to 192.168.1.30. 220 Welcome to simon's FTP service. Name (192.168.1.30:simon): ftpuser 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp>
bin/startup.sh Using CATALINA_BASE: /usr/local/apache-tomcat-8.5.31 Using CATALINA_HOME: /usr/local/apache-tomcat-8.5.31 Using CATALINA_TMPDIR: /usr/local/apache-tomcat-8.5.31/temp Using JRE_HOME: /usr Using CLASSPATH: /usr/local/apache-tomcat-8.5.31/bin/bootstrap.jar:/usr/local/apache-tomcat-8.5.31/bin/tomcat-juli.jar Tomcat started.