How to develop and deploy linux servers in windows

Source: Internet
Author: User
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, maybe you already have...
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 )~~
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.