A Development Environment Integrating JSP, PHP, and JAVA
Source: Internet
Author: User
A Development Environment Integrating JSP, PHP, and JAVA-general Linux technology-Linux programming and kernel information. For details, see the following. Preface
This article introduces the establishment of a Development Environment Integrating JSP, PHP, and JAVA. To meet the needs of most beginners, many steps are easy to use and strive to be simple and clear. Generally, I use RPM to install software without special requirements. If you have special requirements such as optimized configuration and security considerations, please refer to relevant articles for configuration.
In this article, Apache is installed in DSO mode, and PHP supports JAVA components, so that PHP can be used as the Front-End scripting language during large-scale project development, call JAVA components to implement underlying and enterprise-level applications.
Start the Linux installation CD and install the basic system FTP, development tools, and MySQL3.23.54. If you compile and install MySQL manually, remember to specify the specific MySQL path when compiling PHP or other programs. Otherwise, compilation errors may occur because the path cannot be found.
3. Install webmin1.110
Webmin can be used to configure the system, which is foolish and can save a lot of effort. Therefore, I usually install it first. The installation process is very simple. Execute the setup. sh script and follow the prompts to start step by step.
-- Enable-so option: enables Apache to support the DSO mode. Note that the Apache2.0 syntax is used here. If your Apache version is 1.3, change it to -- enable-module = so.
-- Enable-mod-shared = most option: tells the compiler to compile all standard modules into DSO modules. If you use Apache1.3, change it to -- enable-shared = max.
-- Enable-rewrite option: supports address rewriting. If you are using version 1.3, change it to -- enable-module = rewrite.
(1). If you have just switched from the old version of PHP to the new version, you may find that many of your PHP programs are useless. Don't be nervous! It's okay to open register_globals! This is because the register_globals of the old version of PHP is open by default, but the new version is disabled.
(2)./home/jim/myclass is the path for storing JAVA components. You can modify the path according to the actual situation, but do not place it in the web directory for security reasons.
When I first started to install Tomcat, I always failed. Then I ran to the Apache website and read a two-page English description. I soon configured it. I found that Chinese authors always like to learn more about it. They make complicated things and make them easy to understand.
The password of CVS is different in the past. Some of them are programmed to generate the password, and some are copied using the so-called soil method. In fact, I can tell beginners the simplest and most convenient way to add a CVS user using Webmin, And it will generate a password for you.
3. Edit the following files
/Usr/local/cvsroot/CVSROOT/passwd
Test1: NXWxabrVe7z/w: cvspub
Test2: FZTxeAWW. ySIA: cvspub
Note:
The User Name cvspub is added at the end to allow the System user cvspub to replace test1 and test2 to read and write the CVS repository.
/Usr/local/cvsroot/CVSROOT/readers
Test1
/Usr/local/cvsroot/CVSROOT/writers
Cvs
Test2
Conclusion
So far, the entire system configuration is complete. Many errors have occurred in the system configuration process. Unfortunately, the solution is found through the English site. I hope the technical level of our domestic site can be improved as soon as possible. Although this article strives to be concise and clear, it may not be satisfactory in many places due to time constraints. If you do not understand anything, please contact me and I will accept your comments, modify obscure places. Many excellent articles have been referenced in the configuration process. Thank you for choosing here! Finally, I would like to explain that this system was originally built on the FreeBSD platform, but the JAVA environment on the FreeBSD platform is not complete yet, finally, I had to give up the best operating system on the INTEL Platform and choose RedHat Linux with average performance and stability.
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