Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1675178
  • 博文数量: 20
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 3272
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-04 09:45
文章分类

全部博文(20)

文章存档

2011年(3)

2010年(1)

2009年(1)

2008年(15)

我的朋友

分类: LINUX

2008-05-19 12:24:27

I'm busy with developing a project with java in linux this month. I'll note something learned from this project. The software configuration of the project is tomcat5.5+jdk5+debian3.1+eclipse3.2+windowsXP.
    I'm coding mainly on the windows and write some shell scripts in the linux. The linux system operation is running on the virtual machine. I share the folder named WebContent in the workspace of the eclipse on windows at first. Then , I connect to the shared network folder in the linux and map it to the webapps folder of the tomcat. What's we should do is install a tool called smbfs in the linux. You just type the command 'apt-get install smbfs' to do the job.  After the smbfs tool installed, mount the shared folder to the linux. Now you can write the codes with the eclipse on windows and restart the tomcat in the linux. If you just debug the UI of the project, shutdown the tomcat of the linux and start the tomcat on the window.
    The following shell command is the way to connect to the shared folder of the windows.
    mount -t smbfs -o username=guest,password=guest //192.168.190.1/webcontent /usr/local/apache-tomcat-5.5.25/webapps

阅读(1777) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~