How to develop and deploy a linux server in windows: For the above problem, Jun Ge believes that he has become accustomed to developing a program in windows but often needs to perform Code testing in linux, it is indeed a problem we have encountered and thought about. Of course, you may already have a solution, or you don't need to think about it at all ...... In any case, here we naturally just share our personal habits. Okay, you don't need to talk about it. Let's get into the topic ~~ Www.2cto.com 1. ACL permission settings; 1 # useradd apache2 # setfacl-m u: apache: rwx-R/usr/local/apache2/htdocs3 # setfacl-m d: u: apache: rwx-R/usr/local/apache2/htdocs2, modify the Apache process executor; 1 # vi/usr/local/apache2/etc/httpd. conf1 open the httpd configuration file to search for the keyword User and modify the performer of the Apache process. The settings are as follows: 2 User apache3Group apache1 #/usr/local/apache2/bin/apachectl restart // restart apache service 3. Modify samba access users; www.2cto.com 1 # smbpasswd-a apache // you need to set sam for the apache user. Ba access password 4. Use samba to share the root directory of the Apache website; 1 # vi/etc/samba/smb. conf // edit samba configuration file 1 to add the following lines: 2 [web] 3 path =/usr/local/apache2/htdocs/4 browsable = yes5writeable = yes1 # service smb restart/restart samba service 5. Use "ing network drive" in windows "map the website root directory in linux to a local disk. (1) [my computer]-> [tools]-> [ing network drive]: (2), set the remote path of the Shared Folder: If there is no other problem at this time, you can develop in windows and deploy it on the linux server at the same time. (End )~~