[Unit]
Description=jexus – high performance web server
Documentation=http://www.jexus.org
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/jexus/jws.pid
ExecStart=/usr/jexus/jws start
ExecReload=/usr/jexus/jws restart
ExecStop=/usr/jexus/jws stop
[Install]
WantedBy=multi-user.target

安装vsftpd服务
[crayon-6330e42317b61492424908/]
设置登录用户
[crayon-6330e42317b72941859262/]
如果出现连接不上Ftp,关闭firewall:
[crayon-6330e42317b78226238346/]
注意:如果链接ftp出现:vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot (),那是因为vsftpd增强了安全检查,如果用户被限定在了其主目录下,则该用户的主目录不能再具有写权限了!如果检查发现还有写权限,就会报该错误。解决办法:
[crayon-6330e42317b8a169209909/]