惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 明月我心

百度网盘的同步空间使用方式 windows10删除多出的oem分区 自己搭建anki同步服务器 linux设置自动更换壁纸 linux下zip文件解压乱码的问题 Node判断文件是否链接 解决Qualcomm Atheros AR8161 Gigabit Ethernet网卡Linux下坏掉的问题 Openbox中指定目录打开程序 Openbox简单支持平铺 linux关闭双显卡的方法 rdesktop共享剪贴板的问题 Dell Inspiron One2330连接WPA2-PSK的问题 12306快速输入验证码办法 rsync命令中的include参数顺序问题 gnome下使用x-tile平铺窗口 开始相信360是款好软件,见下图 adb shell后insufficient permissions for device的问题 Gentoo linux下Adobe AIR运行环境的安装 php升级到5.3后Discuz论坛不能使用的问题
Apache FTPServer安装为Windows服务的问题
明月我心 · 2013-04-13 · via 博客园 - 明月我心

服务器环境是Windows2008 64位

安装过程

1.下载Apache FTPServer的Windows版本,解压到D:\FTP

2.安装jre到C:\Program Files\Java\jre7并在系统中添加环境变量JAVA_HOME为此路径

3.然后安装为windows服务

cd D:\FTPServer\bin
d:
service.bat install ftpd res/conf/ftpd-typical.xml

4.net start ftpd启动时出现问题

google后在下面地方找到一些有用的信息

Apache FtpServer在64位系统下服务不能启动解决方法

使用上面的方法,下载最新tomcat,用其中的Tomcat.exe替换bin目录下的ftpd.exe

然后如果mode=java时可以启动,但不能停止服务

5.尝试使用tomcat所带的service.bat安装服务,发现提示JAVE_HOME变量没有定义正确

   打开service.bat查看,发现和ftpserver所带的批处理不同,里面区分了JRE_HOME,JAVA_HOME,后者对应的是jdk的路径

  猜测原来的命令和jdk更匹配些

  于是安装jdk,并设置JAVA_HOME为jdk目录,然后重新安装服务

service.bat remove ftpd
service.bat install ftpd res/conf/ftpd-typical.xml

这时net start ftpd,net stop ftpd都可以执行成功

6.换回FTPServer原来自带的ftpd.exe,还是执行失败

总结

1.使用tomcat中带的启动文件替换FTPServer中的ftpd.exe

2.使用jdk作为JAVA_HOME,而不能是jre